Virtual Method
PangoFcDecoderget_glyph
Declaration [src]
PangoGlyph
get_glyph (
PangoFcDecoder* decoder,
PangoFcFont* fcfont,
guint32 wc
)
Description [src]
Generates a PangoGlyph
for the given Unicode point using the
custom decoder.
For complex scripts where there can be multiple glyphs for a single character, the decoder will return whatever glyph is most convenient for it. (Usually whatever glyph is directly in the fonts character map table.)
Available since: | 1.6 |
Parameters
fcfont |
PangoFcFont |
A |
|
The data is owned by the caller of the function. | |
wc |
guint32 |
The Unicode code point to convert to a single |
Return value
Returns: | PangoGlyph |
The glyph index, or 0 if the glyph isn’t covered by the font. |