Closed khaledhosny closed 5 years ago
We currently calculate glyph bounding box for all glyphs in the font at font loading time, but this seems to be a waste; we should do it instead after shaping and for glyphs that are actually used in the document.
Does not seem to work. Fonts can not be changed after loading, and glyph nodes’ width, height and depth are read only and changing them has no effect.
We currently calculate glyph bounding box for all glyphs in the font at font loading time, but this seems to be a waste; we should do it instead after shaping and for glyphs that are actually used in the document.