Re: commit (HEAD): rulers

From: Hubert Figuiere (hfiguiere_at_teaser.fr)
Date: Sat Nov 15 2003 - 05:17:18 EST

  • Next message: Dom Lachowicz: "Re: commit (HEAD): rulers"

    According to Tomas Frydrych <tomasfrydrych_at_yahoo.co.uk>:
    >
    > do not change size of numbers on rulers with zoom
    >
    > I have done the xp and win32 work, adding two new methods to
    > GR_Graphics:
    > void setDoNotZoomText(bool) and
    > bool getDoNotZoomText()
    >
    > the code in derived graphics classes that loads actual font into
    > device context should test getDoNotZoomText() and ignore zoom factor
    > when calculating actual font size when true.
    >
    > files: gr_Graphics.h/cpp, gr_Win32Graphics.h/cpp, ap_LeftRuler.cpp,
    > ap_TopRuler.cpp

    <sigh>

    I must say that this had been addressed in Unix and Cocoa by making
    GR_XXGraphics::getGUIFont() not using zoom when picking up the font

    So what are we really up too ?

    Hub

    -- 
    AbiWord maintainer - Lille, France
    http://www.figuiere.net/hub/ 
    GPG fingerprint: 6C44 DB3E 0BF3 EAF5 B433  239A 5FEE 05E6 A56E 15A3
    


    This archive was generated by hypermail 2.1.4 : Sat Nov 15 2003 - 05:16:10 EST