summaryrefslogtreecommitdiff
path: root/pango/pangofc-private.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-24 16:28:15 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 12:47:53 -0700
commit89b8df08725a2da2fe3607fea2231ded1eb5c342 (patch)
tree3fd150cc64c1ca79df859e08133a7664e81ef841 /pango/pangofc-private.h
parent9b91930793610304632d887f032d02e058db8259 (diff)
downloadpango-89b8df08725a2da2fe3607fea2231ded1eb5c342.tar.gz
fc: Drop the cmap cache
This is now unused.
Diffstat (limited to 'pango/pangofc-private.h')
-rw-r--r--pango/pangofc-private.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/pango/pangofc-private.h b/pango/pangofc-private.h
index 5babc536..658d68fe 100644
--- a/pango/pangofc-private.h
+++ b/pango/pangofc-private.h
@@ -43,25 +43,6 @@ struct _PangoFcMetricsInfo
};
-typedef struct _PangoFcCmapCacheEntry PangoFcCmapCacheEntry;
-typedef struct _PangoFcCmapCache PangoFcCmapCache;
-
-#define CMAP_CACHE_NUM_ENTRIES 256 /* should be power of two */
-#define CMAP_CACHE_MASK (CMAP_CACHE_NUM_ENTRIES - 1)
-
-struct _PangoFcCmapCacheEntry
-{
- gunichar ch;
- PangoGlyph glyph;
-};
-
-struct _PangoFcCmapCache
-{
- guint ref_count;
- PangoFcCmapCacheEntry entries[CMAP_CACHE_NUM_ENTRIES];
-};
-
-
#define PANGO_SCALE_26_6 (PANGO_SCALE / (1<<6))
#define PANGO_PIXELS_26_6(d) \
(((d) >= 0) ? \
@@ -79,10 +60,6 @@ PangoCoverage *_pango_fc_font_map_get_coverage (PangoFcFontMap *fcfontmap,
PangoFcFont *fcfont);
PangoCoverage *_pango_fc_font_map_fc_to_coverage (FcCharSet *charset);
-PangoFcCmapCache *_pango_fc_font_map_get_cmap_cache (PangoFcFontMap *fcfontmap,
- PangoFcFont *fcfont);
-void _pango_fc_cmap_cache_unref (PangoFcCmapCache *cmap_cache);
-
PangoFcDecoder *_pango_fc_font_get_decoder (PangoFcFont *font);
void _pango_fc_font_set_decoder (PangoFcFont *font,
PangoFcDecoder *decoder);