[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: some accented chars double width



Dan Jacobson wrote:
In uxterm, all these are single width and look fine,
āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüê
but in firefox and emacs, some are double width.

In Emacs, that's understandable, because it uses core X font protocol, and the default XLC_LOCALE file tries Latin1, then some Japanese bitmap fonts. In firefox, this shouldn't happen.

How might I remedy this? How can I tell fontcongig or whatever to
first try Latin extended B before Chinese?

That's not fontconfig! For Emacs, you could try downloading this file:

http://chronos.nsu.ru/fantoo/wiki/gtk1_utf8/XLC_LOCALE

Russians use it to work around a similar bug with GTK1 apps in the ru_RU.UTF-8 locale, but it might also work for you if you put this into /usr/X11R6/lib/X11/locale/en_US.UTF-8/XLC_LOCALE

Or maybe I need to apt-get install more fonts.

For Firefox, yes. Try ttf-dejavu together with fontconfig from unstable.

Please report if this helps.

--
Alexander E. Patrakov



Reply to: