Adam Twardoch wrote:
Werner LEMBERG wrote:
If you select a Unicode cmap you should of course convert UTF-8 to
Unicode character codes, not latin-1.

By "Unicode character codes", do you mean UTF-16 or UTF-32?

Is the FreeType API designed to work with UTF-32 directly? If not, how
does one render non-BMP Unicode character codes? Through UTF-16
surrogate pairs?

Best,
Adam


AFAIK there are no surrogate pairs in UTF-32, because none are needed.
Unicode code points (20bit) are directly encoded in UTF-32, since there is enough space, meaning that non-BMP characters can be directly encoded.






_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to