Re: Mathfrak fonts broken in Windows version

2006-01-05 Thread Uwe Stöhr

dropbox wrote:

I have LyX 1.3.6-1 installed on a few different windows machines.  The 
mathbb and mathcal fonts display properly, but mathfrak characters 
come out in the standard font.  I tried both bakoma and xft.  Any ideas?


I found the problem: The file "eufm10.ttf" is missing in the current 
version of the BaKoMa4LyX-package.
I attached the file, so that you can install it manually (you need to 
reconfigure LyX after this).


The next installer version will fix this. I also uploade a new version 
of BaKoMa4LyX.


regards Uwe


eufm10.ttf
Description: Binary data


Re: Mathfrak fonts broken in Windows version

2006-01-05 Thread Drop Box

I managed to fix it myself after a little detective work...
I grepped the source code for cmsy10, which provides mathcal, and found 
qfont_loader.C.  In here, one sees that the missing font is called eufm10:

{ LyXFont::MSB_FAMILY,
"msbm10",
"-*-msbm10-*-*-*-*-*-*-*-*-*-*-*-*" },

{ LyXFont::EUFRAK_FAMILY,
"eufm10",
"-*-eufm10-medium-*-*-*-*-*-*-*-*-*-*-*" },

{ LyXFont::WASY_FAMILY,
"wasy10",
"-*-wasy10-medium-*-*-*-*-*-*-*-*-*-*-*" }

The common name for this font is "Euclid Fraktur".
I found it at
http://cardiome.ucsd.edu/mathtype/Mathtype4TTFonts/
under the filename eufrak.ttf.

In order to get LyX to recognize it, we must change the TrueType name, which 
is different from the filename.  I managed to do this using a script called 
ttfname from

http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=FontUtils#801ab246
by using the following command:
ttfname -n eufm10 eufrak.ttf eufm10.ttf

Now just install eufm10.ttf, restart LyX, and you should be up and fraking.  
:)  Of course it would be delightful if Uwe managed to add this font with 
the next installer.


-Bob




Re: Mathfrak fonts broken in Windows version

2006-01-05 Thread Uwe Stöhr

Paul A. Rubin wrote:

I have LyX 1.3.6-1 installed on a few different windows machines.  The 
mathbb and mathcal fonts display properly, but mathfrak characters 
come out in the standard font.  I tried both bakoma and xft.  Any ideas?


On my systems, in the LyX window mathfrak characters display in a font 
that's different from the standard math font (looks like upright bold 
Arial, Arial being my choice for Sans Serif), but the characters appear 
as mathfrak in the DVI output.  I suspect that there is no screen 
version of mathfrak in either font package.


Mathfrak works for me (LyXWinInstaller version 0.6). I wasn't able to 
find out which font file is used by LyX to display mathfrak characters 
(LyX command line option -dbg fonts or -dbg mathed don't print the 
name.) Any idea where I can get this information?

If I know the fontname I can deliver it with the next installer version.

regards Uwe