#931: fix end of acceptable glyph/unicode range
This commit is contained in:
@@ -7,7 +7,7 @@ GlyphRange getGlyphRange(char32_t glyph) {
|
||||
unsigned start = (glyph/256) * 256;
|
||||
unsigned end = (start + 255);
|
||||
if (start > 65280) start = 65280;
|
||||
if (end > 65533) end = 65533;
|
||||
if (end > 65535) end = 65535;
|
||||
return { start, end };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user