Am 08.04.2014 um 22:30 schrieb Georg Baum <georg.b...@post.rwth-aachen.de>:
> Jürgen Spitzmüller wrote: > >> 2014-04-07 11:37 GMT+02:00 Vincent van Ravesteijn: >> >>> To slightly detail the response. The work-around is already in rc1 and >>> that's probably the small w that is observed. There will be no change >>> between 2.1.0 final and rc1. Why are you talking about the small w? The Omega problem is with unicode 0x00ad. That's the big omega. I'm seeing a big "W". http://www.lyx.org/trac/ticket/7954 > > No, the small w is not the workaround. The workaround is to display the > LaTeX command (e.g. "\omega") in red if the true symbol cannot be displayed. How should this be forced? I cannot find the code for it. > >> Hm, I thought Georg fixed the small w thing at [23752e611/lyxgit]. But >> apparently that was not sufficient, since this fix predates rc1. > > I believe that you either are not using rc1, or the OS X package labelled > rc1 was not built from the rc1 sources. The reason for this is that the > small w can only be display if isUnicodeSymbolAvailable() in > src/mathed/MathFactory.cpp returns true, and in rc1 it is hardcoded to > return false. Hmm… the OS X package was built from rc1 sources. I just checked out rc1 again and stepped through initSymbols() myself. lib/symbols contains this for Omega: Omega cmr 173 87 mathalpha Ω cmr is a font name so fallbackid gets 87 in line 201. In line 243 the test canBeDisplayed(fallbackid) succeeds and therefor the rest of the big if is not executed. latexkeys.draw for Omega gets W assigned. In InsetMathSymbol.cpp line 112 sym_->draw (the W) is passed to painter. Stephan