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

From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Sat Oct 11 2003 - 11:06:37 EDT

  • Next message: M. Fioretti: "Re: Error compiling enchant 1.0 RPM on Red Hat 9"

    Done.

    Dom

    --- Daniel Glassey <danglassey-abi@ntlworld.com>
    wrote:
    > Hi,
    > Actually, didn't get that completely right, we need
    > to just delete the
    > lf.lfHeight = abs(lf.lfHeight) ...
    > line from getguifont
    >
    > It adjusts the initial font size depending on zoom
    > and that just messes
    > things up - after deleting it it works fine on all
    > zooms.
    >
    > Thanks,
    > Daniel
    >
    > (apologies if this is a duplicate as I don't think
    > the first copy got
    > through)
    >
    > Dom Lachowicz wrote:
    >
    > > 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 : Sat Oct 11 2003 - 11:23:10 EDT