-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've been trying to fix this (known) issue. In brief, it consists of qt (when 
using version 3.1 compiled with fontconfig+xft2 support) not picking up the 
bluesky computer modern fonts (why?). Therefore the matheditor displays weird 
symbols (or in lyx 3.1.x cvs, the symbols' names). The lyx INSTALL etc. 
recommend using the BaKoMa fonts package (aka latex-ttf-fonts.tar.gz), but it 
has a restrictive non-commercial, no-embedded-redistribution license.

Dekel Tsur made clear the problem was that the bluesky fonts have a family 
name of 'Computer Modern', while lyx requests family names like cmr10, cmmi10 
etc. So I decided simply to edit the bluesky fonts (using pfaedit if that's 
important). I added the right names, converted them to truetype to make sure 
fontconfig picked them up, put them in /usr/share/fonts and reran fc-cache.

Now I have:
[EMAIL PROTECTED] danarmak $ fc-list | grep cm
cmex10:style=Medium
cmsy10:style=Medium
cmr10:style=Medium
cmmi10:style=Medium

Looks ok. But, when running lyx -dbg font, I get:
<snip>
Family eufm10 isAvailable ?found family Eufm10
Family cmsy10 isAvailable ?found family Cmsy10
Family cmmi10 isAvailable ?found family Cmmi10
Family cmr10 isAvailable ?found family Cmr10
Family cmex10 isAvailable ?found family Cmex10
Family msam10 isAvailable ?found family Msam10
Family msbm10 isAvailable ?found family Msbm10
Family wasy10 isAvailable ?found family Wasy10
Family symbol isAvailable ?found family Symbol
<snip>
Looking for font family cmr10 ...  got it !
<snip>
Looking for font family cmmi10 ...  FAILED :-(
Font 'cmm, Medium, Upright, Normal, math, Emphasis Off, Underline Off, Noun 
Off, Language: English' matched by
Luxi Sans-11.8:<snip...>

I can't for the life of me figure out why it finds cmr10 but not cmmi10. 
fc-list displays it correctly. So does the font list in qtconfig. I even 
tried substituting cmr10 for cmmi10 in qtconfig - nothing happened. Weird. 
Does anyone know what's behind this? What should I do to debug this further? 

- -- 
Dan Armak
Gentoo Linux developer (KDE)
Matan, Israel
Public GPG key: http://www.gentoo.org/~danarmak/danarmak-gpg-public.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+d2WZUI2RQ41fiVERAqPiAJ9ptrCqz5011Gk9EjSfKVeAL+135QCfZZcH
tEgYrBCUeaCoGgKNfErKa5Y=
=fJrg
-----END PGP SIGNATURE-----

Reply via email to