summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2014-08-02 17:46:38 -0400
committerBehdad Esfahbod <behdad@behdad.org>2014-08-02 19:07:53 -0400
commitd7c850f8037d2701366008eb8c2a527c9d40abde (patch)
treecbdf35a7bde9c50f061d845594513e58d3705bb1
parent8f3eebf7ee4005f9a8efaafcb7f4058cc0a3756e (diff)
[uniscribe] Minor
-rw-r--r--src/hb-uniscribe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hb-uniscribe.cc b/src/hb-uniscribe.cc
index 1594948d..6bf87a5f 100644
--- a/src/hb-uniscribe.cc
+++ b/src/hb-uniscribe.cc
@@ -310,6 +310,7 @@ _hb_generate_unique_face_name (wchar_t *face_name, unsigned int *plen)
const char *enc = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-";
UUID id;
UuidCreate ((UUID*) &id);
+ ASSERT_STATIC (2 + 3 * (16/2) < LF_FACESIZE);
unsigned int name_str_len = 0;
face_name[name_str_len++] = 'F';
face_name[name_str_len++] = '_';