| GNOME Print Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
typedef enum {
GNOME_FONT_LIGHTEST = 100,
GNOME_FONT_EXTRA_LIGHT = 100,
GNOME_FONT_THIN = 200,
GNOME_FONT_LIGHT = 300,
GNOME_FONT_BOOK = 400,
GNOME_FONT_REGULAR = 400,
GNOME_FONT_MEDIUM = 500,
GNOME_FONT_SEMI = 600,
GNOME_FONT_DEMI = 600,
GNOME_FONT_BOLD = 700,
GNOME_FONT_HEAVY = 900,
GNOME_FONT_EXTRABOLD = 900,
GNOME_FONT_BLACK = 1000,
GNOME_FONT_EXTRABLACK = 1100,
GNOME_FONT_HEAVIEST = 1100
} GnomeFontWeight; |
const guchar* gnome_font_get_family_name (const GnomeFont *font); |
| font : | |
| Returns : |
|
const guchar* gnome_font_get_species_name (const GnomeFont *font); |
| font : | |
| Returns : |
|
const guchar* gnome_font_get_ps_name (const GnomeFont *font); |
| font : | |
| Returns : |
|
gint gnome_font_lookup_default (GnomeFont *font, gint unicode); |
| font : | |
| unicode : | |
| Returns : |
|
ArtPoint* gnome_font_get_glyph_stdadvance (GnomeFont *font, gint glyph, ArtPoint *advance); |
| font : | |
| glyph : | |
| advance : | |
| Returns : |
|
ArtDRect* gnome_font_get_glyph_stdbbox (GnomeFont *font, gint glyph, ArtDRect *bbox); |
| font : | |
| glyph : | |
| bbox : | |
| Returns : |
|
const ArtBpath* gnome_font_get_glyph_stdoutline
(GnomeFont *font,
gint glyph); |
| font : | |
| glyph : | |
| Returns : |
|
ArtPoint* gnome_font_get_glyph_stdkerning (GnomeFont *font, gint glyph0, gint glyph1, ArtPoint *kerning); |
| font : | |
| glyph0 : | |
| glyph1 : | |
| kerning : | |
| Returns : |
|
gdouble gnome_font_get_ascender (GnomeFont *font); |
This works with the standard Adobe encoding and without kerning or ligatures. When the text libs get written, this function will be deprecated.
| font : | the GnomeFont to operate on |
| Returns : | The ascender of the font. |
gdouble gnome_font_get_descender (GnomeFont *font); |
This works with the standard Adobe encoding and without kerning or ligatures. When the text libs get written, this function will be deprecated.
| font : | the GnomeFont to operate on |
| Returns : | The descender of the font. |
gdouble gnome_font_get_underline_position
(GnomeFont *font); |
This works with the standard Adobe encoding and without kerning or ligatures. When the text libs get written, this function will be deprecated.
| font : | the GnomeFont to operate on |
| Returns : | The underline position of the font. |
gdouble gnome_font_get_underline_thickness
(GnomeFont *font); |
This works with the standard Adobe encoding and without kerning or ligatures. When the text libs get written, this function will be deprecated.
| font : | the GnomeFont to operate on |
| Returns : | The underline thickness of the font. |
gdouble gnome_font_get_glyph_width (GnomeFont *font, gint glyph); |
| font : | |
| glyph : | |
| Returns : |
|
gdouble gnome_font_get_glyph_kerning (GnomeFont *font, gint glyph1, gint glyph2); |
| font : | |
| glyph1 : | |
| glyph2 : | |
| Returns : |
|
GnomeFont* gnome_font_find_closest_from_weight_slant (const guchar *family, GnomeFontWeight weight, gboolean italic, gdouble size); |
| family : | |
| weight : | |
| italic : | |
| size : | |
| Returns : |
|
GnomeFont* gnome_font_find (const guchar *name, gdouble size); |
| name : | |
| size : | |
| Returns : |
|
GnomeFont* gnome_font_find_closest (const guchar *name, gdouble size); |
| name : | |
| size : | |
| Returns : |
|
GnomeFont* gnome_font_find_from_full_name (const guchar *string); |
| string : | |
| Returns : |
|
GnomeFont* gnome_font_find_closest_from_full_name (const guchar *string); |
| string : | |
| Returns : |
|
PangoFont* gnome_font_get_closest_pango_font
(const GnomeFont *font,
PangoFontMap *map,
gdouble dpi); |
| font : | |
| map : | |
| dpi : | |
| Returns : |
|