From 24e2fcbe69bd8e862e872b0e93b72c3e21d07294 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 12 Aug 2019 08:02:04 -0400 Subject: Make PangoFcFont struct available again Unfortunately, some applications are poking directly at PangoFcFont struct fields. Put the structs back in the public headers for now, but deprecated. --- pango/pangofc-font-private.h | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'pango/pangofc-font-private.h') diff --git a/pango/pangofc-font-private.h b/pango/pangofc-font-private.h index 30a2e7fd..588bd512 100644 --- a/pango/pangofc-font-private.h +++ b/pango/pangofc-font-private.h @@ -27,7 +27,6 @@ G_BEGIN_DECLS - /** * PANGO_RENDER_TYPE_FC: * @@ -41,32 +40,6 @@ G_BEGIN_DECLS #define PANGO_IS_FC_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FC_FONT)) #define PANGO_FC_FONT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FC_FONT, PangoFcFontClass)) -/** - * PangoFcFont: - * - * #PangoFcFont is a base class for font implementations - * using the Fontconfig and FreeType libraries and is used in - * conjunction with #PangoFcFontMap. When deriving from this - * class, you need to implement all of its virtual functions - * other than shutdown() along with the get_glyph_extents() - * virtual function from #PangoFont. - **/ -struct _PangoFcFont -{ - PangoFont parent_instance; - - FcPattern *font_pattern; /* fully resolved pattern */ - PangoFontMap *fontmap; /* associated map */ - gpointer priv; /* used internally */ - PangoMatrix matrix; /* used internally */ - PangoFontDescription *description; - - GSList *metrics_by_lang; - - guint is_hinted : 1; - guint is_transformed : 1; -}; - /** * PangoFcFontClass: * @lock_face: Returns the FT_Face of the font and increases -- cgit v1.2.1