[Cairo] Text APIs round 2
keithp at keithp.com
Fri Aug 15 09:47:33 PDT 2003
Around 14 o'clock on Aug 15, Soeren Sandmann wrote:
> I'm not sure how this will work for applications creating
> cross-platform documents. What font name will they store in the
> document? (Maybe this problem is fundamentally unsolvable without
> embedding entire fonts in the document).
Persistence of font names is definitely out of the scope of cairo; the
cross-platform APIs are supposed to make 'toy' applications easy to build
with 'real' applications using a higher level text layout API on top of
cairo. That higher level API will invoke OS-depedent font discovery
routines and have to deal with font names on it's own.
More information about the cairo