Juliusz Chroboczek <[EMAIL PROTECTED]> writes: > JC> It's not that I have a problem understanding the instructions, > JC> since they're pretty easy to follow. > > That's good to hear -- I haven't received feedback about this section yet.
Yeah, actually they were pretty straighforward, although I haven't managed to test anything yet. > JC> The problem I have is whether I really have to create entries for all > JC> 50 Adobe-Japan1 CMaps for all four of the Adobe-Japan1 fonts. > > You only need entries for encodings that are actually used under your > system. In the case of recent Unix-like systems such as Linux and > FreeBSD, you will need JIS X 201, JIS X 208, JIS X 212, and optionally > Unicode. > > Make sure you pair XLFD names with the correct CMaps. See the > ``registry'' file included under xc, or the encodings.dir file > included under fonts/encodings, for the proper XLFD encoding names to > use. Problem. Given the unhelpful names of most of the CMaps, eg 78-RKSJ-H Add-H Hankaku Hiragana etc, and given that the CMap files don't contain any sort of helpful comments, how do I work out the mappings from, say the XLFD ISO10646-1 encoding name to one of the UCS2 or UTF8 CMaps? For example, there are nine CMaps with 'UCS2' or 'UTF8' in them, at least one of which I assume should be equated with ISO10646-1. UniJIS-UCS2-H UniJIS-UCS2-V UniJISPro-UCS2-HW-V UniJIS-UCS2-HW-H UniJIS-UTF8-H UniJISPro-UCS2-V UniJIS-UCS2-HW-V UniJIS-UTF8-V UniJISPro-UTF8-V But which one of these? All of them? I can't tell what the Hs, Vs, and Ws mean, nor do I know the difference between UniJIS and UniJISPro. And I know that UCS2 is the standard Unicode format, but UTF8 is the 8-bit clean transfer format for Unicode, so which one do I want for ISO10646-1? Both? Help! And I have no clue what CMaps map to the JIS 02xx standards. Maybe Adobe has some documentation on this? Or am I just supposed to 'know'? > (XLFD is the name of the funky way of describing a font with fourteen > dashes in it. An XLFD encoding name consists of the last two fields > of the XLFD -- it's a string such as ``jisx0201.1976-0''.) Yeah, I grok XLFDs, I've been using X for ten years now... > JC> There should be an automated tool like mkfontdir and mkcfm that knows > JC> how to read the CIDFonts and CMap directories and generates the proper > JC> fonts.scale file... > > Thanks for volunteering. I'll try a shell/sed/awk version first. If that doesn't end up too hard I might write a C version. But I have to get things working by hand before anything else... (^_^) '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
