]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcint.h
Handle Adobe glyph names for fonts which include ADOBE_CUSTOM encodings
[fontconfig.git] / src / fcint.h
index 9b469b72b54152ad2d2d51d9fd4071cee0647312..4652e369a888dc38e885aa93978fb407f01cf275 100644 (file)
@@ -218,6 +218,16 @@ typedef struct _FcStrBuf {
     int            size;
 } FcStrBuf;
 
+/*
+ * To map adobe glyph names to unicode values, a precomputed hash
+ * table is used
+ */
+
+typedef struct _FcGlyphName {
+    FcChar32   ucs;            /* unicode value */
+    FcChar8    name[1];        /* name extends beyond struct */
+} FcGlyphName;
+
 /*
  * The per-user ~/.fonts.cache-<version> file is loaded into
  * this data structure.  Each directory gets a substructure