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

--- Comment #17 from Patrick Luby <[email protected]> ---
(In reply to Patrick Luby from comment #16)
> Created attachment 192647 [details]
> Debug patch that deletes the hb_font immediately after use

I think that I have eliminated LibreOffice caching the font table data.

Working from the top of the stack in attachment #192605, the lowest point that
before we call HarfBuzz is in LogicalFontInstance::GetGlyphBoundRect(). So, I
created the debug patch in attachment #192647 which destroys the
LogicalFontInstance's cached hb_font immediately after calling
hb_font_get_glyph_extents().

No change with the debug patch which means the font table data isn't being
cached in LogicalFontInstance.

Next step is to look in the HarfBuzz portion of the stack and see if there is
any caching of font table data. hb_face_reference_table() looks like a good
place to start.

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

Reply via email to