2014-03-03 21:40 GMT+01:00 Georg Baum: > We have to distinguish between text and math here. For text qt is probably > right. For math we use a bad hack employing dangerous casts for symbol > fonts > (see the big comment at the beginning of GuiPainter::text()). This means > e.g. that \Omega is mapped to the code point 0x00ad, and the hack is > needed. > OTOH, it is not sufficient, as http://www.lyx.org/trac/ticket/7954 shows. > Until we have a real solution, please adjust the comment so that it applies > to text only and it is clear that the hack is needed for math. >
Am I right that the real (TM) solution would be to use proper unicode-encoded fonts for math (i.e, STIX)? Then we could drop all code point loopings. Jürgen