Skip to content

Commit

Permalink
Test negative condition for local glyph generation
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Aug 14, 2024
1 parent 08b19c7 commit 44223a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/render/glyph_manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ describe('GlyphManager', () => {
test('GlyphManager consistently generates CJKV text locally', async () => {
const manager = createGlyphManager('sans-serif');

// Space
expect(manager._doesCharSupportLocalGlyph(0x0020)).toBe(false);
// Chinese character píng 平
expect(manager._doesCharSupportLocalGlyph(0x5e73)).toBe(true);
// Chinese character biáng 𰻞
Expand Down

0 comments on commit 44223a6

Please sign in to comment.