Re: fonts and text in ISO C++ graphics library? (Re: Cairo and ISO C++)
suzuki toshiya <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
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 > > > -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo