[ILUG] De Euro
John P. Looney
john at antefacto.com
Fri Jan 4 10:00:58 GMT 2002
On Thu, Jan 03, 2002 at 06:21:11PM +0000, Declan Moriarty mentioned:
> I'm an Electronic Hardware head, also available as tech.genius at ntlworld.ie,
> so you can guess the sales line - "The Electronic Genius". Mind you, the
> 'genius' bit is a positive embarassment in the linux fraternity, but folks
> are too kind to slag me off that often.
Don't suppose you know anything about the use & abuse of FPGAs ?
> > Anyway. You need to use an iso-8859-15 font, in your application. It's
> > the one with euro support.
> Yeah, I read that much and got that far.
> > Next, you have to set it up...something like;
> > xmodmap -e 'keycode 26 = e E currency'
> > xmodmap -e 'keycode 54 = c C cent'
> This gives me '?' (I see O with a circumflex) on Alt-Gr_e, and '¢' (A
> circumflex) on Alt-Gr_c. That's under kmail. In a terminal, In a terminal,
> I get the cent sign, but the euro comes out like an 'o' with the 4 ends of an
> 'x' but not the middle. If I write a euro in console mode, and hexedit the
> file, it comes out as 0xA4, not 0x26 :-/. Yet, open it with vi and I'll see a
> capital sized euro sign.
Weeeird. If you are using the right charset, it should just display. What
distro are you using ? Ah....the other mail said you were using 3.3.6 -
did that have euro support ?
> The fonts are from jim knoble
> http://www.ntrnet.net/~jknoble/fonts Built from source. They give neep, (aka
> Nouveau Gothic) neep alt, and modd in a variety of sizes.
Hmm....that URL didn't work. Don't suppose he does nice
scaleable/antialiasable terminal fonts ?
> > should set it up so that pressing Alt-GR and E will give euro, and Alt-GR
> > and C will give a cent symbol...you should be able to run these from the
> > ~/.xsession script, which is run when you log in.
> This thing doesn't use ./xsession, AFAIK, but xtart from Mandrake which gives
> a menu of window managers. Don't worry though - I'll find somewhere to put it
> if it does any good :-/.
> Do I have to tell it anywhere what the euro sign actually looks like? How
> does it know what to print?
AFAIK, that's up to the printer...what the euro sign looks like is
encoded in the font. So, for the screen, it lives in your .ttf file or
whatever, and for a printer, it's in the firmware, unless you are giving
it postscript or some such.
John Looney Chief Scientist
a n t e f a c t o t: +353 1 8586004
www.antefacto.com f: +353 1 8586014
More information about the ILUG