| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
gchar* gimp_text_font_name_from_xlfd (const gchar *xlfd); gboolean gimp_text_font_size_from_xlfd (const gchar *xlfd, gdouble *size, GimpUnit *size_unit); void gimp_text_set_font_from_xlfd (GimpText *text, const gchar *xlfd);
gchar* gimp_text_font_name_from_xlfd (const gchar *xlfd);
Attempts to extract a meaningful font name from the "family", "weight", "slant" and "stretch" fields of an X Logical Font Description.
|
X Logical Font Description |
Returns : |
a newly allocated string. |
gboolean gimp_text_font_size_from_xlfd (const gchar *xlfd, gdouble *size, GimpUnit *size_unit);
Attempts to extract the font size from an X Logical Font Description.