GObject.Object
Pango.Font
PangoFT2.PangoFcFont
Import line: | PangoFT2 = imports.gi.PangoFT2; |
GIR File: | PangoFT2-1.0.gir |
C documentation: | PangoFT2PangoFcFont |
Class : | PangoFcFont |
Extends: | Pango.Font |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
fontmap : PangoFT2.PangoFcFontMap
|
PangoFT2.PangoFcFont | |
pattern : void*
|
PangoFT2.PangoFcFont |
Method / Constructor | Defined By | |
---|---|---|
new PangoFT2.PangoFcFont
(Object properties)
Create a new PangoFT2.PangoFcFont
Create a new PangoFT2.PangoFcFont
|
||
PangoFT2.PangoFcFont.description_from_pattern
(Pattern pattern, Boolean include_size)
:
Pango.FontDescription
Creates a PangoFontDescription that matches the specified Fontconfig pattern as closely as possible.
Creates a PangoFontDescription that matches the specified Fontconfig pattern as closely as possible. Many possible Fontconfig pattern values, such as FC_RASTERIZER or FC_DPI, don't make sense in the context of PangoFontDescription, so will be ignored. pango_font_description_free().
|
PangoFT2.PangoFcFont | |
describe
()
:
Pango.FontDescription
Returns a description of the font, with font size set in points.
Returns a description of the font, with font size set in points. Use pango_font_describe_with_absolute_size() if you want the font size in device units.
|
Pango.Font | |
describe_with_absolute_size
()
:
Pango.FontDescription
Returns a description of the font, with absolute font size set (in device units).
Returns a description of the font, with absolute font size set (in device units). Use pango_font_describe() if you want the font size in points.
|
Pango.Font | |
Finds the best matching shaper for a font for a particular language tag and character point.
Finds the best matching shaper for a font for a particular language tag and character point.
|
Pango.Font | |
get_coverage
(Language language)
:
Pango.Coverage
Computes the coverage map for a given font and language tag.
Computes the coverage map for a given font and language tag.
|
Pango.Font | |
get_font_map
()
:
Pango.FontMap
Gets the font map for which the font was created.
Gets the font map for which the font was created. Note that the font maintains a
|
Pango.Font | |
Gets the logical and ink extents of a glyph within a font.
Gets the logical and ink extents of a glyph within a font. The coordinate system for each rectangle has its origin at the base line and horizontal origin of the character with increasing coordinates extending to the right and down. The macros PANGO_ASCENT(), PANGO_DESCENT(), PANGO_LBEARING(), and PANGO_RBEARING() can be used to convert from the extents rectangle to more traditional font metrics. The units of the rectangles are in 1/PANGO_SCALE of a device unit. If font is NULL, this function gracefully sets some sane values in the output variables and returns.
|
Pango.Font | |
get_metrics
(Language language)
:
Pango.FontMetrics
Gets overall metric information for a font.
Gets overall metric information for a font. Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language. If font is NULL, this function gracefully sets some sane values in the output variables and returns. when finished using the object.
|
Pango.Font | |
lock_face
()
:
freetype2.Face
Gets the FreeType
Gets the FreeType
|
PangoFT2.PangoFcFont | |
unlock_face
()
:
none
Releases a font previously obtained with pango_fc_font_lock_face().
Releases a font previously obtained with pango_fc_font_lock_face().
|
PangoFT2.PangoFcFont |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
PangoFT2.PangoFcDecoder
Method |
get_charset
(PangoFcFont fcfont)
:
fontconfig.CharSet
Generates an FcCharSet of supported characters for the fcfont given.
|
PangoFT2.PangoFcDecoder
Method |
Generates a PangoGlyph for the given Unicode point using the custom decoder.
|