bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] take ascender/descender from the font


From: Willem Rein Oudshoorn
Subject: [PATCH] take ascender/descender from the font
Date: 20 Feb 2003 15:03:23 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

In the old code the ascender and descender of the font were
taken from the maximum bounding box of the characters.

This patch will take them from the font information itself.

This makes a huge differences when viewing Readme.rtf in Ink.
In the old situation the lines were spaced way too far appart.
After applying this patch the distance is reasonable.


Wim Oudshoorn.


2003-02-20  Willem Rein Oudshoorn  <woudshoo@xs4all.nl>

        * Source/xlib/XGFont.m ([XGFontInfo -setupAttributes]): Use ascender 
and descender 
        informaton of the X11 font instead of using maximum bounding box.



Attachment: xgfont.patch
Description: Fix ascender/descender


reply via email to

[Prev in Thread] Current Thread [Next in Thread]