On Monday 27 February 2006 18:51, Mattias Gaertner wrote:
> font_desc:=pango_font_description_from_string(PChar(PangoDescStr));
> gtk_widget_modify_font(AWidget,font_desc);
> pango_font_description_free(font_desc);
Right my patch is ALL BUT complete, one thing is missing though,
This code FAILS is tfont.name is set to Default, I need to CATCH that and give
it a SANE default font name in that case,
what should I use ?
Ideally it should be whatever lazarus normally uses.
A.J.
--
A.J. Venter
Chief Software Architect
OpenLab International
www.getopenlab.com
www.silentcoder.co.za
+27 82 726 5103
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives