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

ISO8859-15 and fonts



Hi,

i'm using fluxbox as windowmanager and i have problems
getting a nice font that supports the euro symbol.
In my console, i can press altgr (right alt) - e and it
produces a nice eurosymbol. From the moment i'm logged
in into x, xterm, evolution don't know the eurosymbol.
However, in abiword i can select a font name LuxiSerif
that is ISO8859-15 and then the euro symbol works there.
I've compiled the kernel with the correct code pages i
hope:
#
# Native Language Support
#
CONFIG_NLS_DEFAULT="cp850"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

I've put LANG=nl_BE@euro (Belgium, Dutch language with
euro suport) into /etc/environment.
When i do a startx i get errors:
The font "insert font here" doesn't require all the 
character sets for the current locale nl_BE@euro.
This presumably because there wasn't a font installed that
has support for ISO8859-15 ( contains euro symbol )

So i thought, oh well, let apt-get do the work and find
some nice ISO8859-15 fonts and continue.
It came up with this:
	xfont-terminus
I then installed this package
After i had restarted x, the main font in X was ugly but 
X didn't complain at startup that there weren't fonts that
didn't support ISO8859-15

With "main font" i mean the font which was used to display
the menu in evolution or the font used to display the
menu in abiword.
Since this was painful to my eyes (and i already wear glasses
which are as thick as the armor on a M1A1 battle tank) :)
i removed the package xfont-terminus again. Of course
the errors where back when starting x but at least it starts.
Another thing i noticed was that Eterm was take waaay longer
to start up when i had removed the xfont-terminus. Again
probably because it's looking for a font able to use
ISO8859-15.

I then tried to install xfstt along side xfs but that didn't
help much.

Here is an excerpt of my XF86Config-4 file:

Section "Files"
    FontPath	"unix/:7101"	# local tts font server
    FontPath	"unix/:7100"	# local font server
    # if the local font server has problems, we can fall back on these
    FontPath	"/usr/share/fonts/truetype"
    FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath	"/usr/lib/X11/fonts/Type1"		
    FontPath	"/usr/lib/X11/fonts/misc"
    FontPath	"/usr/lib/X11/fonts/100dpi"
    FontPath	"/usr/lib/X11/fonts/75dpi"	
    FontPath	"/usr/lib/X11/fonts/Speedo"
    FontPath	"/usr/lib/X11/fonts/cyrillic"
EndSection

Now for my questions:
1. Is there a way i can get nice fonts with ISO8859-15 support and
where do i get those? Or should i give up and start using ISO8859-1
or maybe even UTF-8? When i run a xterm in unicode mode, i can
do an alt gr - e to get a euro symbol.

2. Can i control which font is used to generate say, the menu's of
evolution, abiword and so on? (the "main font" is referred too)
Is there an app that lets you switch that font while X is running? 
So if you aren't content with one font you can easily change it.

3. I find fonts hard to deal with: defoma, xfs, xfstt *sigh*
What do i need to get normal nice fonts in X? Is defoma able to 
handle fonts for X?
Is there up to date info on how fonts work on X and maybe 
specifically for Debian and how to configure them?


Thanks,
Benedict




Reply to: