summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/fonts.c')
-rw-r--r--pango/fonts.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 9d3c1bf3..d94feaf8 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1752,6 +1752,13 @@ pango_font_default_get_face (PangoFont *font)
}
static void
+pango_font_default_get_matrix (PangoFont *font,
+ PangoMatrix *matrix)
+{
+ *matrix = (PangoMatrix) PANGO_MATRIX_INIT;
+}
+
+static void
pango_font_class_init (PangoFontClass *class G_GNUC_UNUSED)
{
GObjectClass *object_class = G_OBJECT_CLASS (class);
@@ -1766,6 +1773,7 @@ pango_font_class_init (PangoFontClass *class G_GNUC_UNUSED)
pclass->get_scale_factors = pango_font_default_get_scale_factors;
pclass->has_char = pango_font_default_has_char;
pclass->get_face = pango_font_default_get_face;
+ pclass->get_matrix = pango_font_default_get_matrix;
}
static void
@@ -2717,6 +2725,15 @@ pango_font_get_languages (PangoFont *font)
return pclass->get_languages (font);
}
+void
+pango_font_get_matrix (PangoFont *font,
+ PangoMatrix *matrix)
+{
+ PangoFontClassPrivate *pclass = PANGO_FONT_GET_CLASS_PRIVATE (font);
+
+ pclass->get_matrix (font, matrix);
+}
+
gboolean
pango_font_is_hinted (PangoFont *font)
{