Re: Euro sign
Patrick Andries wrote: [EMAIL PROTECTED]"> Tore Engvig wrote: [EMAIL PROTECTED]"> Why do I see a bullet instead of a euro sign (EUR), when I simply"compile" the fonts.fo file found in the Fop-0.20-2 distribution(./docs/examples/fo)?I am on Windows NT 2000 Professional, all my standard fonts have thus aeuro sign (me thinks). If you use embedded fonts, this should not be a problem (unicode value islooked up in cmap), If the font is embedded it should indeed work, but technically I'm not sure the cmap (which is a TTF or an OT table) is looked up for PS fonts. I "mispoke" here, there is also one (or more) Cmap in CID-keyed fonts. P. Andries
Re: Euro sign
Tore Engvig wrote: [EMAIL PROTECTED]"> Why do I see a bullet instead of a euro sign (EUR), when I simply"compile" the fonts.fo file found in the Fop-0.20-2 distribution(./docs/examples/fo)?I am on Windows NT 2000 Professional, all my standard fonts have thus aeuro sign (me thinks). If you use embedded fonts, this should not be a problem (unicode value islooked up in cmap), If the font is embedded it should indeed work, but technically I'm not sure the cmap (which is a TTF or an OT table) is looked up for PS fonts. [EMAIL PROTECTED]"> If I remember correctly, a patch was submitted that added the euro sign tothe standard fonts. It exists in the cvs version (in the fop-0.20.2-maintainbranch). Yes I believe I saw this, it dealt with the definition of the entity reference € The problem was related to an old Acrobat reader (3.0) being set as default. I changed my default reader to a newer version (4.0) and it worked. Patrick
Re: Euro sign
Martin Stricker <[EMAIL PROTECTED]> wrote: > Patrick Andries wrote: > > Why do I see a bullet instead of a euro sign (EUR), when I simply > > "compile" the fonts.fo file found in the Fop-0.20-2 distribution > > (./docs/examples/fo)? > You are using the wrong OS and fonts. :-( On Win2k the Euro sign is > mapped to character code 128 (0x80). Another approach is to use the Unicode code point € in one of the fonts which have an Euro symbol glyph (does not work if font-family is set to Symbol). FOP knows how to map this onto the character set specific code point. HTH J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Euro sign
> Why do I see a bullet instead of a euro sign (EUR), when I simply > "compile" the fonts.fo file found in the Fop-0.20-2 distribution > (./docs/examples/fo)? > > I am on Windows NT 2000 Professional, all my standard fonts have thus a > euro sign (me thinks). If you use embedded fonts, this should not be a problem (unicode value is looked up in cmap), if you use the standard fonts (Helvetica, Times, etc) this might be a problem. If I remember correctly, a patch was submitted that added the euro sign to the standard fonts. It exists in the cvs version (in the fop-0.20.2-maintain branch). Tore > > PDF available. > > Patrick Andries > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: [Fwd: Re: Euro sign]
Martin Stricker wrote: [EMAIL PROTECTED]"> Patrick Andries wrote: I did a simple test: create a text file with just one Euro sign inWin2k, then booted into Red Hat Linux 7.2 (dual boot box) and checkedwhat the text file actually contained. It was one single character #128. Yes, this is because you saved your file in win1252 (default on Western European Windows). [EMAIL PROTECTED]"> How are the characters accessed by FOP, through the cmap? Sorrry, I don't know. I suspect it relies on PDF for all those details, I wonder if this is the best course (for complex languages for instance). When I have time, I'll check. [EMAIL PROTECTED]"> I don't use character 164, I (or better said fonts.fo) use the numericcharacter reference €. Hmmm... maybe if you use a real Unicode font with the Euro character inthe right place... Sadly I don't know much about fonts, but I'm tryingto learn... pointers to more information in English or German areappreciated! I have just solved the problem as I tried using Acrobat 4.0 instead of my old Acrobat 3.0 (unfortunately, it was my default). Acrobat version 3.0 does not support the euro (and the font was not embedded). Patrick
Re: [Fwd: Re: Euro sign]
Patrick Andries wrote: >De: Martin Stricker <[EMAIL PROTECTED]> > >You are using the wrong OS and fonts. :-( On Win2k the Euro sign is > >mapped to character code 128 (0x80). > This is the number in win1252 (later versions). > But aren't the fonts accessed through their Unicode value (in the > cmap)? And there, it is 0x20AC...even on Win2k (I just checked Arial > in Fontlab). I did a simple test: create a text file with just one Euro sign in Win2k, then booted into Red Hat Linux 7.2 (dual boot box) and checked what the text file actually contained. It was one single character #128. I found out about 8859-15 whike trying to get the euro symbol in Linux. > How are the characters accessed by FOP, through the cmap? Sorrry, I don't know. > BTW the euro, is not the only difference between ISO-LATIN-1 and > LATIN-9 (8859-15) : see my page (auf Französisch, aber ist das ein > Problem?) Yes, sadly I'm not a language genius, it took me a long learing curve to grok English... > > Sorry, I don't know how to actually solve your problem. Try using an > > ISO 8559-15 font and use character code 164 instead of 128 and see > I don't use character 164, I (or better said fonts.fo) use the numeric > character reference €. Hmmm... maybe if you use a real Unicode font with the Euro character in the right place... Sadly I don't know much about fonts, but I'm trying to learn... pointers to more information in English or German are appreciated! Best egards, Martin Stricker -- Homepage: http://www.martin-stricker.de/ Registered Linux user #210635: http://counter.li.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
[Fwd: Re: Euro sign]
Message d'origine Objet: Re: Euro sign Date: Thu, 17 Jan 2002 00:49:45 +0100 De: Martin Stricker <[EMAIL PROTECTED]> Patrick Andries wrote: >> >> Why do I see a bullet instead of a euro sign (EUR), when I simply >> "compile" the fonts.fo file found in the Fop-0.20-2 distribution >> (./docs/examples/fo)? >> >> I am on Windows NT 2000 Professional, all my standard fonts have thus >> a euro sign (me thinks). >You are using the wrong OS and fonts. :-( On Win2k the Euro sign is >mapped to character code 128 (0x80). This is the number in win1252 (later versions).But aren't the fonts accessed through their Unicode value (in the cmap)?And there, it is 0x20AC...even on Win2k (I just checked Arial in Fontlab).How are the characters accessed by FOP, through the cmap?>But according to the ANSI / ISO 8559 standard this character is a non-printable control character.Yes, this is true.>The standards compliant solution is to use an ISO 8559-15 font (similar with >8559-1 with the single exc eption that the general currency symbol at >character code 164 (0x164) is now replaced by the Euro symbol). I believe one should go through the cmap to map the Unicode number to the glyph index. I believe ISO-8859-15 fonts, if they exist, are (or should be) only fonts with Unicode cmap restricted to the ISO-8859-15 subset of characters.BTW the euro, is not the only difference between ISO-LATIN-1 and LATIN-9 (8859-15) : see my page (auf Französisch, aber ist das ein Problem?)it also adds some Finish accented forms and one capital that missed in French (Y¨ = Ÿ, as in L'HAŸ-LES-ROSES a town close to Paris).> Sorry, I don't know how to actually solve your problem. Try using an ISO >8559-15 font and use character code 164 instead of 128 and see if thisI don't use character 164, I (or better said fonts.fo) use the numeric character reference €.>solves your problem. Maybe just switsch ing to character code 164 will...I suppose I could add a new PS font (even Arial) and I try to see whether it works, but I'll do that later when the rest of my form works.Slowly learning.Patrick Andries-° - ° -° - ° - °Tour sur Unicode 3.1, texte complet traduit et mis à jour (mieux que le site en anglais ;-))Annotations, tous les noms de caractères.http://hapax.iquebec.com
Re: Euro sign
Patrick Andries wrote: > > Why do I see a bullet instead of a euro sign (EUR), when I simply > "compile" the fonts.fo file found in the Fop-0.20-2 distribution > (./docs/examples/fo)? > > I am on Windows NT 2000 Professional, all my standard fonts have thus > a euro sign (me thinks). You are using the wrong OS and fonts. :-( On Win2k the Euro sign is mapped to character code 128 (0x80). But according to the ANSI / ISO 8559 standard this character is a non-printable control character. The standards compliant solution is to use an ISO 8559-15 font (similar with 8559-1 with the single exception that the general currency symbol at character code 164 (0x164) is now replaced by the Euro symbol). This way is also compliant with the Unicode standard. Sadly, Microsoft again uses a proprietary approach. :-[ Sorry, I don't know how to actually solve your problem. Try using an ISO 8559-15 font and use character code 164 instead of 128 and see if this solves your problem. Maybe just switsching to character code 164 will... Best regards, Martin Stricker -- Homepage: http://www.martin-stricker.de/ Registered Linux user #210635: http://counter.li.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]