add spaces

This commit is contained in:
Michiharu Ariza 2019-04-18 15:17:10 -07:00 committed by Behdad Esfahbod
parent ba0386060d
commit 267fb9c716
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@ struct Encoding1 {
{ {
if (glyph <= ranges[i].nLeft) if (glyph <= ranges[i].nLeft)
{ {
hb_codepoint_t code = (hb_codepoint_t)ranges[i].first + glyph; hb_codepoint_t code = (hb_codepoint_t) ranges[i].first + glyph;
return (likely (code < 0x100)? code: CFF_UNDEF_CODE); return (likely (code < 0x100) ? code: CFF_UNDEF_CODE);
} }
glyph -= (ranges[i].nLeft + 1); glyph -= (ranges[i].nLeft + 1);
} }