FOP printing using polish characters

2002-04-15 Thread Kristoffersen, Per
Title: FOP printing using polish characters





Dear all guru's.


I hope someone can help me on this one :
I am trying to use FOP to print in pdf-format. When doing so my polish characters prints as #'s.
I have been given the following statement, and I need to get it working...


fo:block text-align=start
 xsl:choose
  xsl:when test=ItemDescription[. = ' ']not specified/xsl:when
 xsl:otherwise
  xsl:value-of select=BaseItemDetail/ItemDescription/
 /xsl:otherwise
 /xsl:choose
/fo:block


My problem is when I have polish special characters in the above, it prints in the pdf-file as #'s.


What can I do to change this ?


Thank you very much for any help.
Best regards and have a nice day where ever you are in the world.
Per Kristoffersen





RE: FOP printing using polish characters

2002-04-15 Thread Michal Kwiatek
Title: FOP printing using polish characters



Ihad the same problem last week and it's very easy as long as you 
have Polish TTF or PFM fonts. All you have to do is make FOP use them and embed 
them in result PDF. Have a look at http://xml.apache.org/fop/fonts.html. It's all there. If you have TTFs, look at the "Adding additional TrueType" section. It's real 
easy.

Nice 
to hear someone out in the world uses Polish national characters. 


Micha 
Kwiatek---BiznesPartner.pl SAul. 
Mynarska 4801-171 Warszawatel. 5355560

  -Original Message-From: Kristoffersen, Per 
  [mailto:[EMAIL PROTECTED]Sent: Monday, April 15, 
  2002 2:06 PMTo: '[EMAIL PROTECTED]'; 
  'fop-dev@xml.apache.org'Subject: FOP printing using polish 
  characters
  Dear all guru's. 
  I hope someone can help me on this one 
  : I am trying to use FOP to print 
  in pdf-format. When doing so my polish characters prints as #'s. 
  I have been given the following statement, 
  and I need to get it working... 
  fo:block text-align="start" 
   xsl:choose 
   
   xsl:when test="ItemDescription[. = ' ']"not 
  specified/xsl:when 
   xsl:otherwise 
   
   xsl:value-of select="BaseItemDetail/ItemDescription"/ 
   /xsl:otherwise 
   /xsl:choose /fo:block 
  My problem is when I have polish special 
  characters in the above, it prints in the pdf-file as #'s. 
  What can I do to change this ? 
  Thank you very much for any help. 
  Best regards and have a nice day where 
  ever you are in the world. Per 
  Kristoffersen 


RE: FOP printing using polish characters

2002-04-15 Thread Kristoffersen, Per
Hi Michael,
 
Thank you for your help.
I will have a look and try to get this working.
Per

-Original Message-
From: Michal Kwiatek [mailto:[EMAIL PROTECTED]
Sent: 15. april 2002 14:15
To: [EMAIL PROTECTED]
Subject: RE: FOP printing using polish characters


I had the same problem last week and it's very easy as long as you have
Polish TTF or PFM fonts. All you have to do is make FOP use them and embed
them in result PDF. Have a look at http://xml.apache.org/fop/fonts.html
http://xml.apache.org/fop/fonts.html . It's all there. If you have TTFs,
look at the Adding additional TrueType section. It's real easy.
 
Nice to hear someone out in the world uses Polish national characters.  
 
Michal Kwiatek

---
BiznesPartner.pl SA
ul. Mlynarska 48
01-171 Warszawa
tel. 5355560



-Original Message-
From: Kristoffersen, Per [mailto:[EMAIL PROTECTED]
Sent: Monday, April 15, 2002 2:06 PM
To: '[EMAIL PROTECTED]'; 'fop-dev@xml.apache.org'
Subject: FOP printing using polish characters



Dear all guru's. 

I hope someone can help me on this one : 
I am trying to use FOP to print in pdf-format. When doing so my polish
characters prints as #'s. 
I have been given the following statement, and I need to get it working... 

fo:block text-align=start 
xsl:choose 
xsl:when test=ItemDescription[. = ' ']not
specified/xsl:when 
xsl:otherwise 
xsl:value-of select=BaseItemDetail/ItemDescription/ 
/xsl:otherwise 
/xsl:choose 
/fo:block 

My problem is when I have polish special characters in the above, it prints
in the pdf-file as #'s. 

What can I do to change this ? 

Thank you very much for any help. 
Best regards and have a nice day where ever you are in the world. 
Per Kristoffersen 



RE: FOP printing using polish characters

2002-04-15 Thread Michal Kwiatek
If you have any problem, drop me a line. We'll see what can be done.

Michal Kwiatek

---
BiznesPartner.pl SA
ul. Mlynarska 48
01-171 Warszawa
tel. 5355560



 -Original Message-
 From: Kristoffersen, Per [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 15, 2002 2:37 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: FOP printing using polish characters


 Hi Michael,

 Thank you for your help.
 I will have a look and try to get this working.
 Per

 -Original Message-
 From: Michal Kwiatek [mailto:[EMAIL PROTECTED]
 Sent: 15. april 2002 14:15
 To: [EMAIL PROTECTED]
 Subject: RE: FOP printing using polish characters


 I had the same problem last week and it's very easy as long as you have
 Polish TTF or PFM fonts. All you have to do is make FOP use them and embed
 them in result PDF. Have a look at http://xml.apache.org/fop/fonts.html
 http://xml.apache.org/fop/fonts.html . It's all there. If you have TTFs,
 look at the Adding additional TrueType section. It's real easy.

 Nice to hear someone out in the world uses Polish national characters.

 Michal Kwiatek

 ---
 BiznesPartner.pl SA
 ul. Mlynarska 48
 01-171 Warszawa
 tel. 5355560



 -Original Message-
 From: Kristoffersen, Per [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 15, 2002 2:06 PM
 To: '[EMAIL PROTECTED]'; 'fop-dev@xml.apache.org'
 Subject: FOP printing using polish characters



 Dear all guru's.

 I hope someone can help me on this one :
 I am trying to use FOP to print in pdf-format. When doing so my polish
 characters prints as #'s.
 I have been given the following statement, and I need to get it
 working...

 fo:block text-align=start
 xsl:choose
 xsl:when test=ItemDescription[. = ' ']not
 specified/xsl:when
 xsl:otherwise
 xsl:value-of select=BaseItemDetail/ItemDescription/
 /xsl:otherwise
 /xsl:choose
 /fo:block

 My problem is when I have polish special characters in the above,
 it prints
 in the pdf-file as #'s.

 What can I do to change this ?

 Thank you very much for any help.
 Best regards and have a nice day where ever you are in the world.
 Per Kristoffersen