Hi everybody!

I use Xfree 4.3.0 and XFS on a Redhat box. The font path in 
/etc/X11/XF86Config-4 is simply "unix/:7100".

I'm having problems with a set of truetype font files. I've got other 
truetype fonts that work just fine, but these files cause all sorts of 
trouble. They apparently work in Windows though. They also seem to almost 
work in Openoffice but not in Mozilla or Konqueror. Could this be because of 
a difference between the old and new font systems?

I used TTMKFdir. to get a fonts.dir file. MKfontscale doesn't work. It says 
"mkfontscale: relocation error: mkfontscale: undefined symbol: 
FT_Get_PS_Font_Info". Is it likely that MKfontscale would produce a better 
fonts.dir file if I could get it to work? Also, how can I check whether the 
font files are broken? I've heard that Apple and Microsoft have truetype font 
validators, but I don't have a mac, and the one from Microsoft only works on 
Windows 2000 and XP while all I have is 95 B.

Here are the details:

These fonts are used by the online version of a Swedish encyclopedia, NE. 
Instead of using Unicode they use special fonts to create their own ad-hoc 
character sets for foreign characters. They also have math fonts where every 
glyph is an entire equation. The fonts are distributed as an installation 
program for Windows at http://ne.se/jsp/download/fonts/NEFonter.exe. (They 
have installers for macs too.) If anyone wants the extracted TTF files, ask 
me and I'll send them.

These are the file names:

Mathf1.ttf Mathf2.ttf Mathf3.ttf Mathf4.ttf Mathf5.ttf Mathf6.ttf Mathf7.ttf 
Mathf___.ttf neastro.ttf nebraill.ttf nedkoMK.ttf nedkoRHF.ttf Nedko.ttf 
nedkuMK.ttf nedkuRHF.ttf Nedku.ttf nefonet.ttf negrekmk.ttf negrek.ttf 
neHand.ttf NEmath1.ttf NEmath.ttf neMorse.ttf nemusik.ttf nespec.ttf 
Nesymbol.ttf NEtxtHFK.ttf NEtxtMK.ttf NEtxtRHF.ttf NEtxtRM.ttf NEyz1.ttf

Running TTMKFdir produces this output:

32
Mathf1.ttf -altsys-MathFont1-medium-r-normal--0-0-0-0-p-0-ascii-0
Mathf2.ttf -altsys-MathFont2-medium-r-normal--0-0-0-0-p-0-ascii-0
Mathf3.ttf -altsys-MathFont3-medium-r-normal--0-0-0-0-p-0-ascii-0
Mathf4.ttf -altsys-MathFont4-medium-r-normal--0-0-0-0-p-0-ascii-0
Mathf5.ttf -altsys-MathFont5-medium-r-normal--0-0-0-0-p-0-ascii-0
Mathf6.ttf -altsys-MathFont6-medium-r-normal--0-0-0-0-p-0-ascii-0
Mathf7.ttf -altsys-MathFont7-medium-r-normal--0-0-0-0-p-0-ascii-0
Mathf___.ttf -macromedia-MathFont8-medium-r-normal--0-0-0-0-p-0-ascii-0
NEmath.ttf -macromedia-NEmath-medium-r-normal--0-0-0-0-p-0-ascii-0
NEmath1.ttf -macromedia-NEmath1-medium-r-normal--0-0-0-0-p-0-ascii-0
NEtxtHFK.ttf -macromedia-NEtextSBI-medium-i-normal--0-0-0-0-p-0-ascii-0
NEtxtMK.ttf -macromedia-NEtextI-medium-i-normal--0-0-0-0-p-0-ascii-0
NEtxtRHF.ttf -macromedia-NEtextSB-medium-r-normal--0-0-0-0-p-0-ascii-0
NEtxtRM.ttf -macromedia-NEtext-medium-r-normal--0-0-0-0-p-0-ascii-0
NEtxtRM.ttf -macromedia-NEtext-medium-r-normal--0-0-0-0-p-0-fcd8859-15
NEtxtRM.ttf -macromedia-NEtext-medium-r-normal--0-0-0-0-p-0-iso8859-1
NEtxtRM.ttf -macromedia-NEtext-medium-r-normal--0-0-0-0-p-0-iso8859-15
NEyz1.ttf -macromedia-NEyz1-medium-r-normal--0-0-0-0-p-0-ascii-0
Nedko.ttf -macromedia-NEdko-medium-r-normal--0-0-0-0-p-0-ascii-0
Nedku.ttf -macromedia-NEdku-medium-r-normal--0-0-0-0-p-0-ascii-0
neHand.ttf -macromedia-NEhand-medium-r-normal--0-0-0-0-p-0-ascii-0
neMorse.ttf -macromedia-NEmorse-medium-r-normal--0-0-0-0-p-0-ascii-0
neastro.ttf -macromedia-NEastro-medium-r-normal--0-0-0-0-p-0-ascii-0
nebraill.ttf -macromedia-NEbraille-medium-r-normal--0-0-0-0-p-0-ascii-0
nedkoMK.ttf -macromedia-NEdkoMK-medium-i-normal--0-0-0-0-p-0-ascii-0
nedkoRHF.ttf -macromedia-NEdkoRHF-semi bold-r-normal--0-0-0-0-p-0-ascii-0
nedkuMK.ttf -macromedia-NEdkuMK-medium-i-normal--0-0-0-0-p-0-ascii-0
nedkuRHF.ttf -macromedia-NEdkuRHF-medium-r-normal--0-0-0-0-p-0-ascii-0
negrek.ttf -macromedia-NEgrek-medium-r-normal--0-0-0-0-p-0-ascii-0
negrekmk.ttf -macromedia-NEgrekI-medium-i-normal--0-0-0-0-p-0-ascii-0
nemusik.ttf -macromedia-NEmusik-medium-r-normal--0-0-0-0-p-0-ascii-0
nespec.ttf -macromedia-NEspec-medium-r-normal--0-0-0-0-p-0-ascii-0

The files nefonet.ttf and Nesymbol.ttf aren't mentioned at all, and I suspect 
having no other encodings than ASCII for all but one of them is wrong. All 
that I have looked in have characters even in the 128 to 255 range. I got 
some of them to work a little better in Mozilla (but not Konqueror) by 
changing "ascii-0" to "iso8859-1". In Openoffice, on the other hand, I can 
choose from all the fonts – even NEfonet and NEsymbol. The only problem in 
Openoffice seems to be that the bold and italic versions appear as separate 
fonts, so that I can make the text bold or italic by selecting another font 
but not in the normal way.

The NEtext font is the only one that is supposed to have the normal 
characters in their correct positions, but when I look at it with XFD it 
seems to have the characters in the 128 to 255 range in a totally random 
order. It makes non-English characters all wrong in Mozilla, but in 
Openoffice it looks right.

Thank you in advance for any help you can give.
Björn Persson

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to