Skip to content

Commit 33aa001

Browse files
committed
Removed unnecessary early return
If the glyph can be rendered locally, it would have already been rendered locally as part of calling out to TinySDF above.
1 parent 03b36ed commit 33aa001

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/render/glyph_manager.ts

-6
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ export class GlyphManager {
9292
}
9393

9494
const range = Math.floor(id / 256);
95-
const isInBMP = range * 256 <= 0xFFFF;
96-
if (!isInBMP && this._doesCharSupportLocalGlyph(+id)) {
97-
entry.ranges[range] = true;
98-
return {stack, id, glyph: null};
99-
}
100-
10195
if (entry.ranges[range]) {
10296
return {stack, id, glyph};
10397
}

0 commit comments

Comments
 (0)