On Friday 24 September 2004 21:02, ScruLoose wrote: > Hi all, > > I'm trying to get Firefox set up so it'll display Japanese pages > properly, but I don't seem to be having any luck. > > I'm using Firefox 0.9.3 in Sarge. > > Whenever I view a page with Japanese characters in it, they get > represented as a box with a four-character alphanumeric (hex?) code in > it. Here's a screencap: > http://shorty.ca/logs/yahoojp.png I had the same before. > > Now, I've installed a bunch of Japanese fonts as instructed here: > http://www.mayin.org/aragorn/Japan/linux.html > > And they seem to work ... when I open a kterm window and cat a japanese > text file, it displays fine. > > Also, firefox seems to _think_ it's working: The menu under > View -> Character Encoding shows that it's autodetecting Japanese > (sometimes Unicode, sometimes Shift_JIS), but still I get the same junk > displayed. Also, manually selecting Unicode or Shift_JIS makes > essentially no difference (The alignment moves around a bit, but I still > get no Japanese characters). > > So how do I get this working? > > > Cheers!
Hi ScruLoose, totoro% apt-cache search ja | grep font This command will mostly show you some packages available for japanese fonts. You could pick up one package after the other until you get some results. Only a few of these package are really necessary, actually, but which ones? If it can help, here are the japanese font packages I have on my Debian. Personaly, I'm still using an old FireFox 0.8 and the japanese fonts display nicely (www.asahi.com for instance) ... after digging into it for a few hours! totoro% dpkg -l | grep font (and I removed some irrelevant lines by hand) ii asiya24-vfont 1-10 Japanese Maru Gothic font in Zeit's Syotai C ii defoma 0.11.7 Debian Font Manager -- automatic font config ii dvi2ps-fontdat 1.0.1-2 Font data for dvi2ps-j and dvi2dvi rc dvi2ps-fontdat 1.0.1-2 Font data of Adobe Japanese fonts (futomin, ii figfonts-cjk 2.2.1-1 Chinese-Japanese-Korean fonts for figlet ii fontconfig 2.2.2-2 generic font configuration library ii gsfonts 8.14-2 Fonts for the Ghostscript interpreter(s) ii gsfonts-wadala 0.20010409-6 Japanese symbol fonts for the ghostscript in ii gsfonts-wadala 0.20010409-6 Japanese gothic fonts for the ghostscript in ii gsfonts-wadala 0.20010409-6 Japanese mincho fonts for the ghostscript in ii gucharmap 1.2.0-4 Unicode character picker and font browser ii hbf-kanji48 1.0-2 Japanese Kanji 48x48 bitmap font (JIS X-0208 ii konfont 0.1-7 Public domain japanese fonts for KON2 ii libconsole 0.2.3dbs-50 Shared libraries for Linux console and font ii libfontconfig1 2.2.2-2 generic font configuration library (shared l ii libfontconfig1 2.2.2-2 generic font configuration library (developm ii libfreetype6 2.1.7-2 FreeType 2 font engine, shared library files ii libfreetype6-d 2.1.7-2 FreeType 2 font engine, development files ii libxft-dev 2.1.2-6 FreeType-based font drawing library for X (d ii libxft1 4.3.0-7 FreeType-based font drawing library for X (v ii libxft2 2.1.2-6 FreeType-based font drawing library for X ii t1lib1 1.3.1-9 Type 1 font rasterizer library - runtime ii t1utils 1.32-1 A collection of simple Type 1 font manipulat ii ttf-freefont 20030519-1 Freefont Serif, Sans and Mono Truetype fonts ii ttf-kochi-goth 1.0.20030809-1 Kochi Subst Gothic Japanese TrueType font wi ii ttf-kochi-minc 1.0.20030809-1 Kochi Subst Mincho Japanese TrueType font wi ii ttf-mikachan 8.9-1 handwritten Japanese Truetype font ii xfonts-100dpi 4.3.0-7 100 dpi fonts for X ii xfonts-100dpi- 4.3.0-7 100 dpi fonts for X (transcoded from ISO 106 ii xfonts-75dpi 4.3.0-7 75 dpi fonts for X ii xfonts-75dpi-t 4.3.0-7 75 dpi fonts for X (transcoded from ISO 1064 ii xfonts-a12k12 1-7 12-dot Kanji & ASCII fonts for X ii xfonts-ayu 1.7+0a-1 Gothic 18/20 dot Japanese and ISO-8859-1 X11 ii xfonts-base 4.3.0-7 standard fonts for X ii xfonts-base-tr 4.3.0-7 standard fonts for X (transcoded from ISO 10 ii xfonts-intl-ja 1.2.1-2 International fonts for X -- Japanese ii xfonts-intl-ja 1.2.1-2 International fonts for X -- Japanese big ii xfonts-kaname 1.1-8 Kaname Cho 12 dot Japanese Kanji, Latin 1 fo ii xfonts-kappa20 0.396-1 X11 Kappa 20dot Fonts (10x20 8859-1..4/9/10/ ii xfonts-mplus 2.1.4-1 M+ bitmap 10/12 dot Latin/Japanese fonts for ii xfonts-scalabl 4.3.0-7 scalable fonts for X ii xfonts-shinono 4-1 Various 12,14,16 dot Japanese Kanji, iso8859 Good luck! Sylvain. -- wxWidgets config: WX 2.4.2 / GTK 2 / gcc 3.3.3 La lingvo internacia: http://uea.org/index.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]