[cairo] fonts and text in ISO C++ graphics library? (Re: Cairo and ISO C++)
suzuki toshiya
mpsuzuki at hiroshima-u.ac.jp
Mon Jan 6 20:56:46 PST 2014
If cairo's user font API is too huge, the limitation
to cairo toy font would be a reasonable attitude, I think.
I'm afraid the definition of the set of functions to
be implemented is already complicated task. Especially,
the publishing/encapsulation of the functions to translate
face identification name <-> font object, character <-> glyph,
Unicode text layout feature control, etc would be very
platform dependent, thus, the standardization of the class
itself would be complicated task.
Regards,
mpsuzuki
On 01/07/2014 01:36 PM, Ray Gardener wrote:
> Why not just implement all font details as callbacks (if it isn't already done this way), leave it up to the library user to provide fonts, font renderer, outline extraction from glyphs, font metadata, etc.
>
> Ray
>
>
>
More information about the cairo
mailing list