| View previous topic :: View next topic |
| Author |
Message |
Jille Newbie

Joined: 18 Jan 2005 Posts: 2
|
Posted: Tue Jan 18, 2005 4:29 am Post subject: Euro symbol |
|
|
Great Concept, Open Office!
But, (and there always is a but) two question:
1. when I insert aEuro-symbol, it looks incredible bold (Fat, Dutch ).
Is there a way to "unbold" them?
2. Is there a short-key (I think it's called like that in English) to insert a Euro-sign?
Example: ctrl+5 must give a Euro-sign in my document.
I hope someone can help me out!
Regards,
Jille |
|
| Back to top |
|
 |
mterk General User

Joined: 05 Sep 2003 Posts: 40
|
Posted: Tue Jan 18, 2005 10:38 am Post subject: |
|
|
Not sure about the first item...
For the second:
I recorded a quick macro to insert a Euro symbol (you can record the macro also, but it keeps the Font name--just delete the font name from the macro text and it'll use the currnet font)
| Code: |
sub InsEuro
rem ----------------------------------------------------------------------
rem define variables
dim document as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
rem ----------------------------------------------------------------------
dim args1(1) as new com.sun.star.beans.PropertyValue
args1(0).Name = "Symbols"
args1(0).Value = "€"
dispatcher.executeDispatch(document, ".uno:InsertSymbol", "", 0, args1())
end sub
|
I named this macro "InsEuro" you can paste the above into your macro library by going to Tools-->Macros --> Macro, then click Edit and paste it in.
To map this to a key, go to Tools-->Configure-->Keyboard and select OpenOffice.org macros --> Standard --> Module1 from the Category box, then InsEuro under function. Then choose a key to assign it to and click Modify.
I'm not sure this works in all fonts ro languages, so YMMV... |
|
| Back to top |
|
 |
PGAGA OOo Advocate

Joined: 01 Aug 2004 Posts: 303
|
Posted: Tue Jan 18, 2005 12:56 pm Post subject: Re: Euro symbol |
|
|
Tuesday, January 18, 2005
Hi Jille!
| Jille wrote: | 1. when I insert aEuro-symbol, it looks incredible bold (Fat, Dutch ).
Is there a way to "unbold" them? |
If the font you are using lacks a Euro character, a system character will be inserted, which I have seen one looks like the one you have described. Check that the font you are using actually has the Euro in it.
| Quote: | 2. Is there a short-key (I think it's called like that in English) to insert a Euro-sign?
Example: ctrl+5 must give a Euro-sign in my document. |
Depending on your selected key board mapping, the € is accessed by either AltGr-e or AltGr-5. It is always available at Alt-0128. For information on key mappings go to
http://www.microsoft.com/typography/EuroSymbolFAQ.mspx
or
http://www.borgendale.com/euro.htm
AltGr, when a key mapping supports it is the right alt key or is the left ctrl and left alt keys held down at the same time.
The custom macro is another means, a good one, perhaps using the Adobe Euro fonts
http://store.adobe.com/type/eurofont.html
Phil
Phil _________________ Phil Griffin-Allwood
New Brunswick, Canada |
|
| Back to top |
|
 |
bobharvey Super User

Joined: 23 Apr 2004 Posts: 1075 Location: Lincolnshire
|
Posted: Tue Jan 18, 2005 4:34 pm Post subject: |
|
|
The Euro symbol is one of the operating system problems. *nix desktops have a range of "locale" settings, which configure things like thousands separators and date formats. Various people have had a go at bodging euro support on afterwards, so you might want to select a locale like fr_FR@euro instead of fr_FR (for example). In other distros you may need to specify the working set explicity: LANG=de_DE@euro.ISO-8859-15 . You may need fr_FR.iso8856-15@euro, or just fr_FR.iso-8856-15
the location of the dashes and the order of the various bits seems to vary for reasons I don't want to try to understand. But it's the case that the internationl characer set iso 8856-1 becomes -15 when the glyph for the Euro is added.
OOo both takes fonts from the desktop/operating sytem and handles its own. Until ISO sorts itself out (and why wasn't provision for new currency symboles built into unicode from the beginning, huh?) then it will remain a mess and very much OS and application specific.
All that said, on my Gnome desktop altGr-4 works very well in most applications, inlcuding Ooo, but if I have chosen an unusual font the document sometimes turns up on someone else's machine with wierd things where the € should be. |
|
| Back to top |
|
 |
Jille Newbie

Joined: 18 Jan 2005 Posts: 2
|
Posted: Thu Jan 20, 2005 3:56 am Post subject: |
|
|
Thanks people!
I?l try all the solutions and see wich one will give the best result!
Regards,
Jille |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|