[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Accelerate TrueType interpreter with JIT compiling?
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Accelerate TrueType interpreter with JIT compiling? |
Date: |
Mon, 11 Aug 2014 09:18:23 +0200 (CEST) |
>>What's most important is caching of the processed glyphs.
>
> This makes sense. If you can cache the results, the interpreter has
> a fixed, one-time cost. Are these glyphs stored on the disk?
Not necessarily. FreeType accepts a buffer, too.
>>There are three parts: A generic one (in the `fpgm' table, usually
>>defining functions), a global one (in the `prep' table, to be
>>executed right after setting a ppem value), and a local one (the
>>real instructions for every glyph, located in the `glyf' table).
>
> Are these programs provided by the font file itself or comes from
> another source?
They are always part of the font.
>>No, but hinting is quite slow.
>
> Perhaps multithreading can help more here than JIT. I suspect
> hinting can be done parallelly.
Yes, I guess so.
Werner