[Fontconfig] Strange behaviour with fixed pitch
Sun, 26 Jan 2003 16:51:56 +0000
=2D----BEGIN PGP SIGNED MESSAGE-----
I am not sure that I have found the right place to ask this question.
A few weeks ago, I installed fontconfig (Debian Unstable), with (I assume -=
and thats why I am not sure I am at the right place) libxft2.
Since then, I have had a strange problem in kde (konsole) with the console=
font that it provides (see http://bugs.kde.org/show_bug.cgi?id=3D52538 )
I have been trying to debug the problem over the last couple of weeks and h=
narrowed it down to the fact that using QT - if I toggle the FixedPitch=20
property of the font that a piece of text is displayed in the text display=
displays normally when the Fixed Pitch attribute is off and seems to have a=
double width spacing when the Fixed Pitch attribute is on.
With a small application doing just that - I have been running a debugger i=
the qt code to find why it changes the character spacing. Its difficult to=
be sure but I am almost convinced that when it calls the xft library to=20
render the text it does not know that it will be rendered at this double=20
width. Clipping Rectange sizes etc seem to be being calculated on the basi=
of the correct font metrics. Trouble is, I haven't manage to discover how=
the Fixed Pitch attribute is propagated down to the xft library - so I can'=
quite explain everything.
If my suposition is correct, then it is libxft2 that has the fault. Reading=
the info at www.fontconfig.org the suggestion is that its using a different=
version of the library that xfree.
So - I am reporting it here.
PS - trying to join mailing list but my membership hasn't come through yet =
it moderated?) so maybe a cc to me on a reply would help - thanks.=20
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
=2D----END PGP SIGNATURE-----