commit: Fully fix quickZoom on Unix.

From: Martin Sevior (msevior@seviorpc.ph.unimelb.edu.au)
Date: Tue Oct 14 2003 - 22:26:31 EDT

  • Next message: Marc Maurer: "Debugging under Win32"

    CVS:
    ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/af/gr/cocoa/gr_CocoaGraphics.h
    CVS: src/af/gr/qnx/gr_QNXGraphics.h
    CVS: src/af/gr/unix/gr_UnixGraphics.h
    CVS: src/af/gr/win/gr_Win32Graphics.h src/af/gr/xp/gr_Graphics.h
    CVS: src/af/xap/unix/xap_UnixFrameImpl.cpp
    CVS: src/af/xap/unix/xap_UnixNullGraphics.h
    CVS: src/af/xap/unix/xap_UnixPSGraphics.h
    CVS: src/af/xap/unix/gnome/xap_UnixGnomePrintGraphics.h
    CVS: src/text/fmt/xp/fl_DocLayout.cpp
    CVS: src/text/fmt/xp/fl_DocLayout.h
    CVS: src/text/fmt/xp/fp_ContainerObject.cpp
    CVS: src/text/fmt/xp/fp_ContainerObject.h src/text/fmt/xp/fp_Run.h
    CVS: src/wp/ap/xp/ap_Frame.cpp
    CVS:
    ----------------------------------------------------------------------
    Fully fix quickZoom. It works fine on Unix. It might even work on the
    other platforms.

    Now it re-allocates the fonts for the new zoom percentage as it redraws
    the screen. I had to defeat the local font pointer logic by introducing
    a new pure virtual method in the gr_Graphics class. It's clearFont which
    simply sets the current font pointer in the graphics class to NULL so a
    call to setFont is guarenteed to allocate a new font.

    Martin



    This archive was generated by hypermail 2.1.4 : Tue Oct 14 2003 - 21:42:05 EDT