James Philp wrote:

> Hello,
> 
> I realize that this is alrady becoming an irritation
> for some on the list but it is not at all clear how to
> get the math fonts to work.
> 
> Reading through the archive you get the same answers
> over and over again, but they don't work (at least for
> me).
> 
> 1. install the fonts : needs fontconfig
> 2. install fontconfig : red carpet won't do it.
> 3. tried everything possible to install from source
> fails for both qt and xforms
> 
> The fact that so many people have difficulties with
> this shouldn't irritate others on the list. And
> perhaps someone might then even suggest a real
> solution to the problem.

You don't need fontconfig. I occasionally run LyX on a Dec Alpha running 
Tru64 unix and it most certainly does not use fontconfig.

What you do depends on whether LyX uses X11 XFT extension (only the QT 
frontend can use XFT, assuming that you have an XFT enables version of QT).

To check, type
$ ldd ${PATH_TO_YOUR_LYX_EXECUTABLE)/lyx

Here, my Qt version of LyX returns
        libXft.so.2 => /usr/lib/libXft.so.2 (0x40a07000)
The xforms version does not.

Xft:
- Works only with the ttf fonts
- Font should be installed on the remote machine (ie the machine controlling 
your screen display. If this is the same as the machine running LyX, well 
and good.)
- Works only if the local X server supports the RENDER extension
(check with 'xdpyinfo|grep -i render'), although I think that with future
versions of xft, this restriction will be removed.

non Xft:
- Works with the pfb fonts from latex (should also work with the ttf fonts)
- Fonts should be installed on the local machine, and the X server should
support Postscript fonts.

In the latter case only, you will need to add the path to the math fonts to 
the font path using 'xset'.

$ xset -q
will display your current font path

$ xset +fp ${PATH_TO_YOUR_MATH_FONTS} 
will prepend this path to the list.

$ xset -fp ${PATH_TO_YOUR_MATH_FONTS}
will append it.

Does this help any?
Angus


Reply via email to