commit:..Re: Instant Zoom will return right......

From: Martin Sevior (msevior@seviorpc.ph.unimelb.edu.au)
Date: Mon Oct 13 2003 - 04:44:30 EDT

  • Next message: Dom Lachowicz: "Re: commit:..Re: Instant Zoom will return right......"

    On Mon, 2003-10-13 at 18:14, Martin Sevior wrote:
    > Hi Dom,
    > Your new graphic class stuff does a complete rebuild of the
    > layout
    > structure on zoom thus we no longer Instant Zoom. Can we get it back by
    > merely copying fonts from the previous graphics class to the new one?
    >
    >
    CVS:
    ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: text/fmt/xp/fp_Run.cpp wp/ap/xp/ap_Frame.cpp
    CVS:
    ----------------------------------------------------------------------
    Instant Zoom returns, faster than ever...

    Do this by simply changing the ZoomPercentage member variable in the
    graphics class, increment the graphic counter variable in fl_DocLayout
    and redraw. We keep the current hash of fonts. I should have done this
    in the first place.

    BUT Dom's changes still mean we have to rebuild the layout structures
    for printing. So no more instant printing which is a pity, unless Dom
    can workout how to transfer the font cache info directly from one
    graphics class to another (other than rebuilding the whole document).

    Cheers

    Martin



    This archive was generated by hypermail 2.1.4 : Mon Oct 13 2003 - 03:59:50 EDT