freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] German Letters with FT_Load_Char


From: Mickey Gabel
Subject: Re: [ft] German Letters with FT_Load_Char
Date: Tue, 31 Mar 2009 18:33:33 +0300
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

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.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]