I cannot recall if I sent a message about this to the list or not ...
I am working on the 32-bit UT_UCSChar, and should have it finished over the weekend, when I plan to commit this (unless there are serious objections). There will be two main changes: (1) change of the definition of of UT_UCSChar to 'unsigned int'; (2) I will add a new type UT_GrowBufElement == 'int'. The latter type will be used by the UT_GrowBuffer class. The reason for this is that in the current implementation the grow buffer is used both for storing UT_UCSChar strings and character width strings, currently UT_uint16; in order for this to work the width will have to be also 32- bit ints (and becase Pango provides widths as signed ints, I want them stored as 3-bit ints anyway). This means for all platforms the methods in the graphics classes which use character widths will need change from UT_uint16 to UT_GrowBufElement. I will do win32 and, possibly, Unix. Apart from this, there might be other occassional changes where UT_uint16 was used when UT_UCSChar should have been; I found one instance on win32 so far. The other issue which will need addressing is the interface to the native text drawing calls, such as on win32 which only uses 2-byte characters. Tomas
