RE: postscript sample - duplex/tray selection

2009-09-14 Thread Martin Edge
Hey Jeremias, No, no directly issue so far, the problem is I don't have an appropriate printer within arms reach and I have to rely on my printer company for testing, but you pretty much answered my question in regards to the different printers different rules (that must make it fun for software?)

Re: postscript sample - duplex/tray selection

2009-09-14 Thread Jeremias Maerki
Martin, the example on the Wiki page [1] should work just fine. If not, they need to be fixed. Did you run into any problems? AFAICT, the page covers all the necessary details to make this work. However, there is one caveat: There's no single way to do tray selection in PostScript. HP printers usu

Re: inline-progression-dimension / block-progression-dimension maybe doesn't work

2009-09-14 Thread Jeremias Maerki
Agreed. Adjusting letter-space automatically depending on the available space is not always seen as typographically "nice" which is why FOP doesn't do it by default. By playing with letter-spacing.minimum/.optimum/.maximum you can get you a certain flexibility. But that has only limited effect when

Re: Printing Latin-2 characters

2009-09-14 Thread Jeremias Maerki
As PostScript output only supports Type 1 fonts at the moment, you need to look for a Type 1 font that has all the glyphs you need for ISO-8859-2. Here are a couple of font packages that should contain fonts with the necessary characters: http://canopus.iacp.dvo.ru/~panov/cm-unicode/ http://dir.fi

postscript sample - duplex/tray selection

2009-09-14 Thread Martin Edge
Hey Guys, Have been working through my issues with postscript for tray selection and duplexing, and have read the PostScript extensions wiki and implemented some of those suggestions in my FO file, but was wondering if anyone had a working example of tray selection and duplexing in a small post

RE: inline-progression-dimension / block-progression-dimension maybe doesn't work

2009-09-14 Thread Jonathan Levinson
inline-progression-dimension specifies the inline-progression-dimension of the content-rectangle. The XSL-FO standard does not say a conforming implementation will squeeze characters to fit. In the example you gave, it looks like the formatter was adjusting the letter-spacing negatively. http://

RE: inline-progression-dimension / block-progression-dimension maybe doesn't work

2009-09-14 Thread samea
Hi, thnaks for your quick answer, but in my case I have to reduce the space between the chars. There is only one line to draw, so wrapping or hyphenation is not possible. It's a app for businesscards. Thanks Markus -- View this message in context: http://www.nabble.com/inline-progression-di

RE: Printing Latin-2 characters

2009-09-14 Thread Jill DeLong
Thank you, Mariusz. Do you know which font you are using for this? It looks like we are trying to use Arial for the xsl but when I output using -at application/postscript, the resulting file is giving me < ... font-name="any" ... >. I think this may be the culprit and I will try to use Helvetica

inline-progression-dimension / block-progression-dimension maybe doesn't work

2009-09-14 Thread samea
Hello, I tried to squize some characters if the content is to much for the table-cell. I have seem a sample at zvon.org http://www.zvon.org/HowTo/Data/xslfoTests/results/recarea8.pdf. If I use the script with the FOP 0.95 it doesn' t work. What's wrong here? Thanks for you help. br Makrus --

RE: inline-progression-dimension / block-progression-dimension maybe doesn't work

2009-09-14 Thread Jonathan Levinson
Here is the FOP FAQ regarding cells overflowing in a table. http://xmlgraphics.apache.org/fop/faq.html#cells-overflow I haven't tried squeezing characters (not in the above FAQ), but I have written a template to insert zero-length characters: This results in wrapping. I haven't

Re: Printing Latin-2 characters

2009-09-14 Thread Mariusz Pekala
On 2009-09-14 09:26:15 -0500 (Mon, Sep), Jill DeLong wrote: > We have been using the fop to print out documents so far in English, French > and Swedish with no problems. However, we now have a need to print in > Polish which uses characters in the ISO-8859-2 character set. [..] > > Any suggestion

RE: Printing Latin-2 characters

2009-09-14 Thread Jonathan Levinson
I've succeeded in printing in Chinese using a Microsoft Windows Chinese font using FOP 0.95 which can auto-detect operating system fonts. I specified the font family - 'Microsoft JhengHei'. A crucial step was modifying the fop.xconf file to auto-detect OS fonts:

Printing Latin-2 characters

2009-09-14 Thread Jill DeLong
We have been using the fop to print out documents so far in English, French and Swedish with no problems. However, we now have a need to print in Polish which uses characters in the ISO-8859-2 character set. In the documentation I've read so far for Fop, it says the -ps and -pdf probably do not h

Re: provisional-distance-between-starts with a percentage

2009-09-14 Thread Vincent Hennebert
Hi Eric, Looks like a bug indeed. Could you please file a bug report on FOP's Bugzilla [1], attaching a simple FO file showing the issue? That will help us keep track of the problem. Thanks, Vincent [1] https://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop Amick, Eric wrote: > The spec

Re: horizontal alignment of external-graphic

2009-09-14 Thread Venkat Reddy
Hi, As Jeremias wrote, there is nothing wrong with this code. I have placed my own image into the box, it had come out as intended. Cheers, Venkat. Jeremias Maerki wrote: Would you please describe in a bit more detail what you want to accomplish? When I run your example with a PDF of my own

Re: horizontal alignment of external-graphic

2009-09-14 Thread Jeremias Maerki
Would you please describe in a bit more detail what you want to accomplish? When I run your example with a PDF of my own as image, FOP does with the image exactly what the FO tells it to. I assume you're expecting something else, so I need a bit more information to be able to tell you what you need

Re: large image embedding problems

2009-09-14 Thread Jeremias Maerki
Hi Dan, I'm afraid I don't see any other possibility than to implement this properly. At least the good news is that with JPEG you've got a full example of how to embed that format uncompressed into a PDF. Here are some pointers on what needs to be done: XML Graphics Commons: http://xmlgraphics.a