Top | ![]() |
![]() |
![]() |
![]() |
gint gnome_font_lookup_default (GnomeFont *font
,gint unicode
);
Get the glyph number corresponding to a given unicode
ArtPoint * gnome_font_get_glyph_stdadvance (GnomeFont *font
,gint glyph
,ArtPoint *advance
);
ArtDRect * gnome_font_get_glyph_stdbbox (GnomeFont *font
,gint glyph
,ArtDRect *bbox
);
const ArtBpath * gnome_font_get_glyph_stdoutline (GnomeFont *font
,gint glyph
);
ArtPoint * gnome_font_get_glyph_stdkerning (GnomeFont *font
,gint glyph0
,gint glyph1
,ArtPoint *kerning
);
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.
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.
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.
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.
gdouble gnome_font_get_glyph_kerning (GnomeFont *font
,gint glyph1
,gint glyph2
);
GnomeFont * gnome_font_find_closest_from_weight_slant (const guchar *family
,GnomeFontWeight weight
,gboolean italic
,gdouble size
);
GnomeFont *
gnome_font_find_from_full_name (const guchar *string
);
GnomeFont * gnome_font_find_from_filename (const guchar *filename
,gint index_
,gdouble size
);
Creates a font using the filename and index of the face within the file to identify the GnomeFontFace. The font must already be within the system font database; this can't be used to access arbitrary fonts on disk.
GnomeFont *
gnome_font_find_closest_from_full_name
(const guchar *string
);
PangoFont * gnome_font_get_closest_pango_font (const GnomeFont *font
,PangoFontMap *map
,gdouble dpi
);