[cairo] utf8 text rendering on iOS
chak_stud at yahoo.de
Wed Mar 14 06:59:01 PDT 2012
I have the same problem in simulator, but i also can't compile the cairo-lib
for device. Do you have a hint for me to compile the cairo-lib for device?
> You were absolutely correct on item one. A different font from the one I
> expected was being selected, and it didn't have the right glyphs.
> Problem has been solved, thank you!
> Behdad Esfahbod wrote:
>> What you see means one of two things:
>> - The font you are choosing doesn't have glyphs for the characters you
>> trying to render,
>> - You are encoding your text wrongly (less likely).
>> You should check what font backends are actually being enabled / used.
>> If no
>> native font backends could be enabled, then all you get is the internal
>> font which only supports ASCII.
>> If you want automatic font substitution, and non-Latin support or
>> typographic features, what Dom said shall be take more seriously (as
>> to take as a 'stock answer'). Either use PangoCairo, or build a text
>> rendering system yourself using HarfBuzz, Cairo, FriBidi, and other
>> (much much more work).
>> Two cents from your resident text rendering expert. Feel free to ignore.
> cairo mailing list
> cairo at cairographics.org
View this message in context: http://old.nabble.com/-cairo--utf8-text-rendering-on-iOS-tp33391771p33501109.html
Sent from the Free Desktop - Cairo - General mailing list archive at Nabble.com.
More information about the cairo