]> granicus.if.org Git - libass/commit
Cache HarfBuzz fonts
authorGrigori Goronzy <greg@blackbox>
Thu, 14 Jul 2011 22:49:50 +0000 (00:49 +0200)
committerGrigori Goronzy <greg@blackbox>
Fri, 15 Jul 2011 13:00:14 +0000 (15:00 +0200)
commitdd340a43024966d284f73cce0db9aa20e78cdbdd
treec42f55785e7efa7c665caf3a8f9da736e5b4a960
parentfa291a3269ee0fa76a17c976439a900b29084314
Cache HarfBuzz fonts

Add a new opaque data structure to store shaper-specific font data in
an ASS_Font. At the moment, this is used for caching HarfBuzz fonts,
to reduce allocation and font initialization overhead.
libass/ass_font.c
libass/ass_font.h
libass/ass_shaper.c
libass/ass_shaper.h