https://bugs.documentfoundation.org/show_bug.cgi?id=159529

--- Comment #22 from Patrick Luby <[email protected]> ---
(In reply to Noel Grandin from comment #20)
> Could be something we could do on our side (maybe a harfbuzz setting), or
> maybe we are using the API wrong

OK. I've got a potential fix at https://gerrit.libreoffice.org/c/core/+/163674.

One (hopefully minor) inefficiency in the above patch is that if we copy the
'sbix' and 'glyf' font tables' memory every time
LogicalFontInstance::GetGlyphBoundRect() is called. When running the
Instruments application on macOS attached to my local build with the patch, I
can see a very brief spike in memory usage when opening a new Writer document.
Presumably that is the loading and releasing of the color emoji fonts' 'sbix'
and 'glyf' tables.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to