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

Re: Euro Support on PPC?



Hi all,

More info on the Euro symbol...

> After that, you need to set your locale to something Euro-aware, and you
> need to get fonts that contain the Euro symbol.
> 
> Have a look here:
> 
> http://www.linuxdoc.org/HOWTO/mini/Euro-Char-Support/index.html

So far, I have xterm and tkrat working with the Euro symbol. Here is
what you need to do (which should apply in roughly the same lines to
other X apps):

- general: switch to a euro-enabled locale.  The only English locale
  containing the euro symbol is the Irisch one: en_IE@euro. Do:
   * dpkg-reconfigure locales; select the en_IE@euro locale (or any other @euro locale)
   * edit /etc/profile and /etc/bash.bashrc, add:
     export LC_ALL=en_IE@euro

- general: get the euro-enabled fonts. Install xfonts-75dpi-transcoded,
  xfonts-100dpi-transcoded, and xfonts-base-transcoded.

- xterm: change the /etc/X11/appdefaults/XTerm file as follows, which
  replaces the default fonts by their equivalent ISO8859-15 fonts:

!*VT100*font:           fixed
*VT100*font:            -misc-fixed-medium-r-semicondensed--17-120-75-75-c-60-iso8859-15
*fontMenu*font1*Label:  Unreadable
*VT100*font1:           nil2
*IconFont:              nil2
*fontMenu*font2*Label:  Tiny
!*VT100*font2:          5x7
*VT100*font2:           -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-15
*fontMenu*font3*Label:  Small
!*VT100*font3:          6x10
*VT100*font3:           -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-15
*fontMenu*font4*Label:  Medium
!*VT100*font4:          7x13
*VT100*font4:           7x13euro
*fontMenu*font5*Label:  Large
!*VT100*font5:          9x15
*VT100*font5:           -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-15
*fontMenu*font6*Label:  Huge
!*VT100*font6:          10x20
*VT100*font6:           -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-15

As you can see by looking at /usr/X11R6/lib/X11/fonts/misc/fonts.alias,
10x20 etc. are shorthand notations for the longer names above, except
that mine above are in ISO8859-15 encoding.

- tkrat: enable the ISO8859-15 as default text encoding, and change the
  default fonts to their equivalent ISO8859-15 fonts. xfontsel is your
  friend; note that you can click on 'select' in xfontsel to copy the
  current font to the clipboard. Easy pasting ;-)

If all goes well, and your system supports the euro sign, you shold see
one here: ¤

Good luck :-)

Michel

PS By the way, the current 'xterm' package of Debian has a nice
additional entry in the font menu that uses the current X selection as a
font name. Use that with xfontsel's 'select' to test out fonts..

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "



Reply to: