Class: PangoFc::Font
- Inherits:
-
Object
- Object
- PangoFc::Font
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#fontmap ⇒ PangoFc::FontMap
Fontmap.
- #fontmap=(fontmap) ⇒ PangoFc::FontMap
-
#get_glyph(wc) ⇒ Integer
Gets the glyph index for a given Unicode character for font.
-
#get_unknown_glyph(wc) ⇒ Pango::Glyph
Returns the index of a glyph suitable for drawing wc as an unknown character.
-
#has_char(wc) ⇒ TrueClass
Determines whether font has a glyph for the codepoint wc.
-
#kern_glyphs(glyphs) ⇒ nil
This function used to adjust each adjacent pair of glyphs in glyphs according to kerning information in font.
-
#lock_face ⇒ PangoFc::
Gets the FreeType <type>FT_Face</type> associated with a font, This face will be kept around until you call pango_fc_font_unlock_face().
-
#pattern ⇒ GObject
Pattern.
- #pattern=(pattern) ⇒ GObject
-
#unlock_face ⇒ nil
Releases a font previously obtained with pango_fc_font_lock_face().
Instance Method Details
#fontmap ⇒ PangoFc::FontMap
Returns fontmap.
#fontmap=(fontmap) ⇒ PangoFc::FontMap
#get_glyph(wc) ⇒ Integer
Gets the glyph index for a given Unicode character for font. If you only want to determine whether the font has the glyph, use pango_fc_font_has_char().
#get_unknown_glyph(wc) ⇒ Pango::Glyph
Returns the index of a glyph suitable for drawing wc as an unknown character.
Use PANGO_GET_UNKNOWN_GLYPH() instead.
#has_char(wc) ⇒ TrueClass
Determines whether font has a glyph for the codepoint wc.
#kern_glyphs(glyphs) ⇒ nil
This function used to adjust each adjacent pair of glyphs in glyphs according to kerning information in font.
Since 1.44, it does nothing.
#lock_face ⇒ PangoFc::
Gets the FreeType <type>FT_Face</type> associated with a font, This face will be kept around until you call pango_fc_font_unlock_face().
#pattern ⇒ GObject
Returns pattern.
#pattern=(pattern) ⇒ GObject
#unlock_face ⇒ nil
Releases a font previously obtained with pango_fc_font_lock_face().