commit: fix Win32Graphics the internal leading font calculation

From: Jordi Mas (jmas@softcatala.org)
Date: Sun Nov 02 2003 - 08:47:52 EST

  • Next message: Gerrit P. Haase: "Re: AW with builtin plug-ins on Cygwin fails to link"

    Hello!

    CVS: ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: Tag: ABI-2-0-0-STABLE
    CVS: src/af/gr/win/gr_Win32Graphics.cpp
    CVS: ----------------------------------------------------------------------

    This fix makes Abiword look and show documents like all the other applications.

    We were no taking into account the internal leading of the font when doing the
      font size calculation. This was causing the fonts in Abiword look smaller
    than all the other applications and that in Abiword 1.0x.

    Windows can calculate the internal loading font automatically for you passing
    the Height as a negative value.

    I very happy about this fix.

    Jordi,

    Note: Please, commit this fix to HEAD.

    -- 
    

    Jordi Mas i Hernàndez (homepage http://www.softcatala.org/~jmas) http://www.softcatala.org



    This archive was generated by hypermail 2.1.4 : Sun Nov 02 2003 - 08:45:30 EST