Re: [Fwd: Re: Test printing of the binary and report the results please.]

From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Fri Oct 10 2003 - 18:23:32 EDT

  • Next message: Eric Zen: "Fwd: About RPM's in the latest AWN [joshg(at symbol here)myrealbox(period here)com] [Re: Wanted: Abiword on Red Hat 9 HOWTO]"

    Fixes in this vein committed.

    Dom

    --- Daniel Glassey <danglassey-abi@ntlworld.com>
    wrote:
    > Dom Lachowicz wrote:
    >
    > > Could someone with win32 skillz fix the ruler bug
    > now
    > > please? It should just be a matter of getting
    > > 'getGUIFont()' done properly.
    >
    > changes to gr_Win32Graphics.cpp seem to work:
    >
    > GR_Win32Font::GR_Win32Font(LOGFONT & lf)
    > : m_oldHDC(0),
    > m_layoutFont (0),
    > m_defaultCharWidth(0),
    > m_tm(TEXTMETRIC()),
    > m_iHeight(abs(lf.lfHeight))
    > {
    > m_layoutFont = CreateFontIndirect(&lf); // this is
    > what we see to start
    > with
    > insertFontInCache (abs(lf.lfHeight), m_layoutFont);
    >
    > In
    > GR_Font* GR_Win32Graphics::getGUIFont(void)
    > ...
    > lf.lfHeight = abs(lf.lfHeight) * getZoomPercentage()
    > / 100;
    >
    > Regards,
    > Daniel
    >

    __________________________________
    Do you Yahoo!?
    The New Yahoo! Shopping - with improved product search
    http://shopping.yahoo.com



    This archive was generated by hypermail 2.1.4 : Fri Oct 10 2003 - 18:39:59 EDT