From: Rafael L. <rla...@us...> - 2004-12-11 09:09:36
|
* Alan W. Irwin <ir...@be...> [2004-12-10 18:48]: > The Greek letter theta in the title has been turned into K, i.e., apparently > Greek letters don't work with your default set of fonts. (To be fair that > is also true of the msttcorefonts [AFAIK], but I want to see this "Greek" > problem solved rather than arguing any more about what is default and what > is not.) > > Can you confirm that problem? Those fonts are supposed to be in UCS (I > assume UCS-4) order so it may just be that our greek symbol algorithm needs > a different offset to find the Greek symbols for UCS-ordered fonts. I investigated this issue a bit further. It happens that both fonts currently used in PLplot for the Greek symbols (Arial.ttf and FreeSans.ttf) contain the Greek characters. You can see it by running gfontview and look at page 3 of the symbol table. I am not sure that just an offset will be enough. Perhaps we need a more elaborated translation algorithm, like the one I implemented in the ps driver. I would prefer a principled solution by using Unicode at the core of PLplot. In any case, this is not a short-term project. -- Rafael |