Re: freetype module sometimes gets font height (descent?)

Michael Lampe <[email protected]>
Newsgroups gmane.comp.xfree86.fonts
Organization IWR Uni Heidelberg
Message-ID <[email protected]>
> I cannot reprodeuce them using xedit... Why?   How is your 
> "resolution" of xdpyinfo.  100x100 dots per inch?

Manually set to 75 dpi, real value is almost exactly 96 dpi. But this is
not the problem. If I replace '...-100-100-...' in the LFD with
'...-75-75-...' or enforce any other dpi value on the X server or let it 
choose its own, it's exactly the same.

fontpropdump with freetype:

PIXEL_SIZE : 12
POINT_SIZE : 87
RESOLUTION_X : 100
RESOLUTION_Y : 100
AVERAGE_WIDTH : 70
RAW_AVERAGE_WIDTH : 6001
FONT_ASCENT : 12              <<====
RAW_ASCENT : (none)
FONT_DESCENT : 8              <<====
RAW_DESCENT : (none)
SUBSCRIPT_SIZE : 8
SUBSCRIPT_X : 0
SUBSCRIPT_Y : 2
SUPERSCRIPT_SIZE : 8
SUPERSCRIPT_X : 0
SUPERSCRIPT_Y : 5
UNDERLINE_THICKNESS : 1
UNDERLINE_POSITION : 3
RAW_PIXEL_SIZE : (none)
RAW_POINT_SIZE : (none)

fontpropdump with xtt:

PIXEL_SIZE : 12
POINT_SIZE : 87
RESOLUTION_X : 100
RESOLUTION_Y : 100
AVERAGE_WIDTH : 70
RAW_AVERAGE_WIDTH : 600
FONT_ASCENT : (none)
RAW_ASCENT : 832
FONT_DESCENT : (none)
RAW_DESCENT : 300
SUBSCRIPT_SIZE : (none)
SUBSCRIPT_X : (none)
SUBSCRIPT_Y : (none)
SUPERSCRIPT_SIZE : (none)
SUPERSCRIPT_X : (none)
SUPERSCRIPT_Y : (none)
UNDERLINE_THICKNESS : (none)
UNDERLINE_POSITION : (none)
RAW_PIXEL_SIZE : 1000
RAW_POINT_SIZE : 723

Additionally, the fonts I'm using are e.g. available at 
http://openwebmail.360open.com/download/redhat/archive/webfonts/fonts/

-Michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.