RE: FOP printing using polish characters
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
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
Help! Code presentation
Hi there! I need to include several pages of xml source code in my pdf document. I want to use code indented by XML Spy. That is to say, my text contains end-of-line and space characters which fop should preserve. I enclosed the source code in ![CDATA ]] markup. Although spaces are preserved, end-of-lines dissapear. Is there a way to make fop preserve them? Or any other way to present intended source code using fop? Thanks in advance, Michal Kwiatek
RE: Variables
You have to declare it by using something like: xsl:variable name=default-font select='11pt'/ Michal Kwiatek --- BiznesPartner.pl SA ul. Mlynarska 48 01-171 Warszawa tel. 5355560 -Original Message- From: Norr, Peter [mailto:[EMAIL PROTECTED] Sent: Friday, April 12, 2002 7:20 PM To: '[EMAIL PROTECTED]' Subject: Variables What is the best way to set variables in stylesheets? For example, instead of constantly specifying the color for fo:block with a hex value, I would like to set a variable once and then reference it in all included/imported stylesheets. i.e. fo:block color={$myfavoritecolor} / -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
one letter words
Hi! Is there a way to prevent fop from breaking the line just after a one letter word like English 'a'? I'm really concerned about it, because in Polish we have plenty of them ('w','z', 'o', i' etc.) and it looks awful. I tried using the 0xA0 unicode character (non-break space), but fop misinterprets this one. Any idea? Thanks in advance, Michal