Fix name-table lookup Oops!
diff --git a/src/hb-uniscribe-shape.cc b/src/hb-uniscribe-shape.cc index 0934d5d..d6d3d79 100644 --- a/src/hb-uniscribe-shape.cc +++ b/src/hb-uniscribe-shape.cc
@@ -81,9 +81,11 @@ DEBUG_MSG (UNISCRIBE, NULL, "Font name too long"); return FALSE; } + for (unsigned int i = 0; i < len; i++) lf->lfFaceName[i] = hb_be_uint16 (lf->lfFaceName[i]); lf->lfFaceName[len] = 0; + return TRUE; }