PangoXft.Font¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class PangoXft.Font(**kwargs)¶
- Bases:
- Abstract:
No
PangoXftFont
is an implementation ofPangoFcFont
using the Xft library for rendering. It is used in conjunction withPangoXftFontMap
.- get_glyph(wc)[source]¶
- Parameters:
wc (
str
) – Unicode codepoint to look up- Returns:
the glyph index, or 0, if the Unicode character does not exist in the font.
- Return type:
Gets the glyph index for a given Unicode character for self.
If you only want to determine whether the font has the glyph, use
PangoXft.Font.has_char
().Use
PangoFc.Font.get_glyph
() instead.New in version 1.2.