https://bugs.documentfoundation.org/show_bug.cgi?id=159529
--- Comment #19 from Patrick Luby <[email protected]> --- OK. I found where the huge 'sbix' font table is being cached: hb_face_t->sbix in HarfBuzz's src/OT/Color/sbix/sbix.hh file. Note: hb_face_t->sbix is an instance of accelerator_t held by a hb_face_lazy_loader: accelerator_t (hb_face_t *face) { table = hb_sanitize_context_t ().reference_table<sbix> (face); num_glyphs = face->get_num_glyphs (); } ~accelerator_t () { table.destroy (); } In theory, maybe the above class can be restructured to only fetch the 'sbix' font table when needed and immediately destroy it after use. Anyone have any better ideas? Rewriting most of the HarfBuzz file sounds like a lot of work and may introduce a bunch of new bugs. -- You are receiving this mail because: You are the assignee for the bug.
