I'm still having problems getting CIDfonts to work with XF86 4.2
(Linux/x86 2.4, glibc 2.1, etc).  I have both the Wadalab fonts
provided by Adobe and the Hiragino fonts (Mincho Pro W3/W6, Maru
Gothic Pro W4, Kaku Gothic Pro W3/W6, Kaku Gothic Std W8) from
DaiNippon Screen Mfg.  The latter fonts I converted to CID-keyed Type1
from OpenType using PfaEdit.  They appear to be valid and PfaEdit
reads them back in without problem.  I've created the relevant
fonts.scale entries, eg

 Adobe-Japan1/HiraKakuPro-W3--UniJIS-UCS2-H.cid -DaiNippon 
Screen-HiraKakuPro-W3-r-normal--0-0-0-0-p-0-iso10646-1
 Adobe-Japan1/HiraKakuPro-W3--EUC-H.cid -DaiNippon 
Screen-HiraKakuPro-W3-r-normal--0-0-0-0-p-0-jisx0208.1990-0
 [...]
 Adobe-Japan1/HiraMinPro-W6--UniJIS-UCS2-H.cid -DaiNippon 
Screen-HiraMinPro-W6-r-normal--0-0-0-0-p-0-iso10646-1
 Adobe-Japan1/HiraMinPro-W6--EUC-H.cid -DaiNippon 
Screen-HiraMinPro-W6-r-normal--0-0-0-0-p-0-jisx0208.1990-0
 Adobe-Japan1/WadaGo-Bold--UniJIS-UCS2-H.cid 
-Adobe-WadaGo-bold-r-normal--0-0-0-0-p-0-iso10646-1
 Adobe-Japan1/WadaGo-Bold--EUC-H.cid 
-Adobe-WadaGo-bold-r-normal--0-0-0-0-p-0-jisx0208.1990-0

etc.  The CMaps are all there, from Ken Lunde's site at O'Reilly.  I
have AFMs for the Wadalab fonts and PfaEdit created AFMs for the
Hiragino fonts.  Both sets of AFMs seem valid.

The first problem I encounter is that mkcfm doesn't seem to recognize
the Hiragino fonts.  None of them.  It creates CFMs for the Wadalab
fonts, but none for the Hiragino fonts.  I have no idea why.  I
haven't tried stepping it through GDB but I could.

The second problem arises when I try to use any of these fonts.  I
first tried seeing if the fonts were at least recognized by X using
xfontsel.  If I select 'wadamin' from the 'fmly' menu xfontsel hangs
for a while, then displays a handful of characters from the font.
Some quotes, an infinity, some greek, etc.  But if I attempt to select
'hiraminpro' then xfontsel crashes with the following on stdout:

 X Error of failed request:  BadValue (integer parameter out of range for operation)
   Major opcode of failed request:  45 (X_OpenFont)
   Value in failed request:  0x1a00049
   Serial number of failed request:  1465
   Current serial number in output stream:  1466

That's one attempt.  My second attempt was to fire up Mozilla 0.9.9
(just installed!) and try displaying some Japanese text using the
CIDfonts.  Mozilla has no problem finding them (using the
jisx0208.1990-0 encoding).  I opened a Japanese page that I know
displays fine using the jis-fixed fonts, with any of the Wadalab or
Hiragino fonts and all I get is blank.  With the Wadalab fonts I get
'real' blanks, that is if I try to select text I see whitespace
selected.  With the Hiragino fonts there's no whitespace, it's as if
the metrics of all the glyphs are 0x0 boxes.

Any ideas?  Things to try?  Should I wipe the entire CID fonts tree
and start over?

'james

-- 
James A. Crippen <[EMAIL PROTECTED]> ,-./-.  Anchorage, Alaska,
Lambda Unlimited: Recursion 'R' Us   |  |/  | USA, 61.20939N, -149.767W
Y = \f.(\x.f(xx)) (\x.f(xx))         |  |\  | Earth, Sol System,
Y(F) = F(Y(F))                        \_,-_/  Milky Way.
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to