We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e882f4a commit 7541cf2Copy full SHA for 7541cf2
src/browser/renderer/shared/TextureAtlas.ts
@@ -774,9 +774,10 @@ export class TextureAtlas implements ITextureAtlas {
774
}
775
776
777
+ // TODO: Move below after page merging to ensure page limit isn't hit
778
// Create a new page for oversized glyphs as they come up
779
if (rasterizedGlyph.size.x > this._textureSize) {
- // TODO: Move below after page merging to ensure page limit isn't hit
780
+ // TODO: Reuse a single oversized glyphs page
781
const newPage = new AtlasPage(this._document, this._deviceMaxTextureSize);
782
this.pages.push(newPage);
783
0 commit comments