summaryrefslogtreecommitdiff
path: root/src/fontpack.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-29 14:00:41 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-29 14:00:41 +0300
commitd98604ca3bd3f3986a42c4e9e1c4228089e39024 (patch)
tree9d3fdd5115d86300027476882417fb5127278963 /src/fontpack.h
parentb99c6e693b8ade1fa117f4cb54105366a7768da0 (diff)
FontPack: Loading fonts from TTC files
Diffstat (limited to 'src/fontpack.h')
-rw-r--r--src/fontpack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fontpack.h b/src/fontpack.h
index d86de945..aa6f2b9f 100644
--- a/src/fontpack.h
+++ b/src/fontpack.h
@@ -78,6 +78,7 @@ iDeclareObjectConstruction(FontFile)
78struct Impl_FontFile { 78struct Impl_FontFile {
79 iObject object; /* reference-counted */ 79 iObject object; /* reference-counted */
80 iString id; /* for detecting when the same file is used in many places */ 80 iString id; /* for detecting when the same file is used in many places */
81 int colIndex;
81 enum iFontStyle style; 82 enum iFontStyle style;
82 iBlock sourceData; 83 iBlock sourceData;
83 stbtt_fontinfo stbInfo; 84 stbtt_fontinfo stbInfo;