Skip to content

Commit 7541cf2

Browse files
committed
Add todo
1 parent e882f4a commit 7541cf2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/browser/renderer/shared/TextureAtlas.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,9 +774,10 @@ export class TextureAtlas implements ITextureAtlas {
774774
}
775775
}
776776

777+
// TODO: Move below after page merging to ensure page limit isn't hit
777778
// Create a new page for oversized glyphs as they come up
778779
if (rasterizedGlyph.size.x > this._textureSize) {
779-
// TODO: Move below after page merging to ensure page limit isn't hit
780+
// TODO: Reuse a single oversized glyphs page
780781
const newPage = new AtlasPage(this._document, this._deviceMaxTextureSize);
781782
this.pages.push(newPage);
782783

0 commit comments

Comments
 (0)