19 March 2005
Hacking onwards and upwards
I am very pleased to have fixed a rather bad bug in the Uniscribe graphics class this morning, after seven hours of trying to work out what was causing it. What I am hoping is that this will resolve the dreaded 8094. I have also made some progress on the Pango graphics class today. There is still a bit to go before it become functional enough to start debugging it properly. One of the issues I have to make up my mind about is whether I should be caching the utf-8 text for the runs. In contrast to the Uniscribe engine, for some reason, more of the Pango functions expect to have the raw text available to them (I do not understand why; once the text is shaped, there should be no need for it), and this has significant performance consequence; to start with, we have to construct the text iterator to pass down to the graphics class, and then we have to do the ucs-4 to utf-8 conversion. I am beginning to think that caching the utf-8 will be necessary.