Taco Hoekwater wrote:
That one doesn't actually work (it is never called). There are interesting issues when it comes to the timing of this, and that made me stop when I first looked at it (seems like a long time ago). The original goal of this callback was to provide a method to create missing glyphs on the fly, but it was surprisingly hard to find the right time to do that check.
Just after hyphenation and before the kerning/ligaturing step would be a good moment, but since those are all callbacks now themselves, maybe I should just forget about char_exists completely.
if i remember right we dropped the idea char_exists in favour of the ability to add (virtual) characters to a font (only once per char) but we put than wish on the long term wishlist Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------