Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Browser/Font Question
- Date: Mon, 9 Jan 2012 18:47:03 +0900
- From: Aaron Fellin <fellaaron@example.com>
- Subject: Re: [tlug] Browser/Font Question
- References: <CABHGxq5ChYLWAMS5N2SXwVZCeofku02c8dCETMY_EA3R=ePJxA@example.com> <87vcol9vnx.fsf@example.com> <CABHGxq4M66N6DUxK4MVX+2jmOaYA8iA-6Kb-W=eAu9Q-RTjYtw@example.com>
You should be able to specify the fonts you want to use in the CSS font-family; that way, you know that glyphs like 直 are shown correctly. There's also a way to download a specific font for a site to the browser, but it's dark magic (read "proprietary MSFT format").The relevant CSS is something like:@font-face {font-family: "foo"src: ("http://example.com/path/to/foo.eot")}FWIW, Chrome on Archlinux "just works" for me, but I have multiple Japaneses fonts installed and no Chinese ones.For (non-web-based) email...I'm not sure what (if anything) will work.
On Mon, Jan 9, 2012 at 18:21, Jim Breen <jimbreen@example.com> wrote:On 9 January 2012 18:34, Stephen J. Turnbull <stephen@example.com> wrote:Do you do that to all UTF-8-encoded CJKs? I thought XEmacs had grown up
> Jim Breen writes:
>
> > I thought I'd ask here, because there are some clued-up people on
> > the list who will understand my question, and maybe have an answer.
> >
> > First, what do you see here: 直?
>
> I see a tilde. ;-) XEmacs tells me it's a Big5 character, though. :-)
by now 8-)]
Apart from all FF's menus, etc. being in Japanese, no change.
> > On my Ubuntu system (via WWWJDIC) Firefox and Chrome show the
> > Chinese version,
>
> What happens if you start them in a Japanese locale (eg,
> "LC_ALL=ja_JP.UTF8 firefox")?
In the apps. FF has some settings about what you'd like as defaults.
> > No fiddling with font settings changes the behaviour.
>
> What do you mean by "no fiddling with font settings"? Font settings
> in the apps,
> .....or (on Linux) fonts.conf (this might be in
> /etc/fonts/fonts.conf or elsewhere depending on distro, and can beNo font names in there. Just general structural stuff.
> changed per user in ~/.fonts.conf)?
After pondering Stephen's words, I did what I should have done and
> The default settings in /etc/fonts.conf (1) tend to prefer Chinese
> fonts, and (2) tend to alias[1] all the Han fonts to each other. You
> might try specifying a "monospace" font on Linux; at least on my
> Gentoo system all of the Japanese monospace fonts come before the
> Chinese monospace fonts in the <prefer> stanza.
>
> > Does anyone have a suggestion on how to make the Japanese appear
> > more often?
>
> What do you mean by make Japanese appear more often? On J. Random
> User's screen? Mostly likely, you can't help this.
>
> > Why FF can get it right in Windows and wrong in Linux?
>
> I would guess it's because the systems configure their default fonts
> differently, and implement font selection procedures differently.
>
> Footnotes:
> [1] I forget how this actually works, probably it's just that all of
> the Han fonts say they can handle all of the Han languages. Which is
> sorta true, but only sorta :-(
Googled around the problem. I found the page at:
http://ubuntuforums.org/showthread.php?p=11583493
"Japanese characters showing as if they were Chinese"
Deep in there is the suggestion to remove the fonts:
ttf-wqy-zenhei
ttf-wqy-microhei
I tried that (apt-get remove ...) and now I see the Japanese version
of 直, etc. It may have some side-effects, but who cares....
- References:
- [tlug] Browser/Font Question
- From: Jim Breen
- [tlug] Browser/Font Question
- From: Stephen J. Turnbull
- Re: [tlug] Browser/Font Question
- From: Jim Breen
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Browser/Font Question
- Next by Date: Re: [tlug] Browser/Font Question
- Previous by thread: Re: [tlug] Browser/Font Question
- Next by thread: Re: [tlug] Browser/Font Question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links