Hi Tom,

Thanks for your answer.

El 14/06/2011 13:55, Tom Hacohen escribió:
What do you need the "visual unicode string" for anyway?

That's a good question. We have a render engine that expects the string to be passed in Unicode format, as all the drawing methods are based on Unicode indices. Changing it into a glyph based engine is not cheap and I have to provide a good reason to do so.

We never needed to work with glyph indices before, for instance, we were using FriBidi to convert from logic to visual, and it returned Unicode indices (fribidi didn't even need to know the font). But now, with HB or ICU we have to deal with them. The only explanation is that those glyphs which have no Unicode index are not present in arabic nor other BiDi scripts, and maybe that's why we can take FriBidi returned glyphs are the same numbers than the Unicode indices.

I mostly use the Microsoft pages, but if you can find something else,
please let me know.

Could you give me those MS links?

I was thinking of buying one of these books:
http://www.amazon.co.uk/Fonts-Encodings-Yannis-Haralambous/dp/0596102429/ref=sr_1_6?ie=UTF8&qid=1308052073&sr=8-6 <http://www.amazon.co.uk/Fonts-Encodings-Yannis-Haralambous/dp/0596102429/ref=sr_1_6?ie=UTF8&qid=1308052073&sr=8-6> http://www.amazon.co.uk/Unicode-Explained-Jukka-K-Korpela/dp/059610121X/ref=sr_1_1?ie=UTF8&qid=1308052073&sr=8-1 <http://www.amazon.co.uk/Unicode-Explained-Jukka-K-Korpela/dp/059610121X/ref=sr_1_1?ie=UTF8&qid=1308052073&sr=8-1>

_______________________________________________
HarfBuzz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to