stretching true type fonts with GTK2.0
Burkhard Fischer
b-fi at gmx.net
Tue Jan 30 05:18:29 PST 2007
Hi,
I have to stretch a TTF to match a certain geometry.
If I use the x11 port I can use wxNativeFontInfo to specify with and
height (via x and y resolution).
Using the GTK2.0 port, I tried to use
pango_font_description_set_stretch (PangoFontDescription *desc,
PangoStretch stretch)
Just for testing I changed the wxFont::SetPointSize() so that
pango_font_description_set_stretch() is called.
But I didn't see any effect.
Is there a way to stretch fonts in version 2.8.0 (for Linux)?
Thanks,
Burkhard
More information about the wx-dev
mailing list