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 think that this problem is related to FreeType's additional > "font properties". Try xfd command, > > xfd -fn "-monotype-courier new-medium-r-normal--13-0-100-100-m-0-iso8859-1" > > and check the differences of ascent and descent between "xtt" and > "freetype". Perhaps no difference will be seen. Indeed, I don't see any difference. > If so, try the > attached patch and set "fp=n" option to fonts.dir: > > fp=n:cour.ttf -monotype-courier new-medium-r-normal--0-0-0-0-m-0-iso8859-1 > > and would you tell the result? If "fp=n" is set, the "freetype" > backend does not add the font properties. This patch is somehow broken. Fonts prefixed with 'fd=n' are not found afterwards. -Michael