Pango.Font
GObject.Object
PangoFT2.PangoFcFont
PangoXft.Font
Import line: | PangoXft = imports.gi.PangoXft; |
GIR File: | PangoXft-1.0.gir |
C documentation: | PangoXftFont |
Class : | Font |
Extends: | PangoFT2.PangoFcFont |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
fontmap : PangoFT2.PangoFcFontMap
|
PangoFT2.PangoFcFont | |
glyph_info : Object
read only
|
PangoXft.Font | |
mini_font : Pango.Font
read only
|
PangoXft.Font | |
mini_height : Number
read only
|
PangoXft.Font | |
mini_pad : Number
read only
|
PangoXft.Font | |
mini_width : Number
read only
|
PangoXft.Font | |
parent_instance : PangoFT2.PangoFcFont
read only
|
PangoXft.Font | |
pattern : void*
|
PangoFT2.PangoFcFont | |
xft_font : xft.Font
read only
|
PangoXft.Font |
Method / Constructor | Defined By | |
---|---|---|
new PangoXft.Font
(Object properties)
Create a new PangoXft.Font
Create a new PangoXft.Font
|
||
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 |