summaryrefslogtreecommitdiff
path: root/src/hb-ot-cmap-table.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-08-25 23:54:06 -0700
committerBehdad Esfahbod <behdad@behdad.org>2018-08-25 23:57:16 -0700
commit1c48a7ef06b82ef9ca013066d1fb3c6fda82aa0c (patch)
treecf8ce2ac9cf450d294029a2b9e26ef92bb320205 /src/hb-ot-cmap-table.hh
parent71f8893eff56bff651e3df6288becc68ecea6cd1 (diff)
[ot-font] Cache tables on face, not font
Diffstat (limited to 'src/hb-ot-cmap-table.hh')
-rw-r--r--src/hb-ot-cmap-table.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh
index dce29813..6ff23e3d 100644
--- a/src/hb-ot-cmap-table.hh
+++ b/src/hb-ot-cmap-table.hh
@@ -1017,6 +1017,7 @@ struct cmap
{
inline void init (hb_face_t *face)
{
+ /* TODO Switch to using table from face->ot.table. */
this->blob = hb_sanitize_context_t().reference_table<cmap> (face);
const cmap *table = this->blob->as<cmap> ();
const CmapSubtableFormat14 *subtable_uvs = nullptr;