>>>>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:

Bennett> I'm trying to track down persistent problems with screen
Bennett> fonts in math environments on Mac OS X. Even though the
Bennett> relevant .ttf fonts are installed in the standard place in
Bennett> the LyX/Mac bundle (LyX.app/Contents/Resources/Fonts), LyX is
Bennett> not consistently able to recognize these fonts and use them
Bennett> to display math environments correctly.

Can you tell which machines are not able to find the fonts? It may
depend from the OS X version, for example. Is it that the same LyX
bundle does not work consistently, or does it depend on how people
compiled their code?

Bennett> Can someone help me understand more clearly how LyX is
Bennett> supposed to be accessing these fonts, so that I can track
Bennett> down what the problem is? Where is information about that
Bennett> special Fonts directory stored? When is it accessed? How can
Bennett> I get information about what is going wrong when those fonts
Bennett> are accessed?

Look for addFontPath() at the beginning of
src/frontends/qt2/qfont_loader.C. The 1.4.0cvs and 1.3.5cvs versions
are the same AFAIK. I think the code has just be stolen from
somewhere, probably apple documentation.

I notice that it outputs a debug message when "-dbg font" has been
specified, and two possible error messages. The first thing I would do
is investigate messages in the case where fonts fail.

JMarc

Reply via email to