xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Art Welch <ar...@EASTPOINT.COM>
Subject RE: Question regarding text renderer
Date Wed, 14 Mar 2001 18:46:08 GMT
As submitted it uses Unix style line endings "\n". It would probably be a
good idea to make this configurable somehow (file, public variable, or
setter method). It was in the original plan to do this (as well as providing
an option to turn graphics off/on), but this never got implemented. If you
(or anyone else) does not make this change, maybe I will look into it. I
know that some printers prefer DOS style line endings "\r\n". Actually I
think that some printers also like a plain "\r". Should be a simple change.

I am really glad that someone may be able to use the text renderer. Please
let me know if it actually works for you.

As a pointer, if you use a fixed font (Courier) in a size that closely
matches the virtual font size used by the renderer (determined by the CPI
and LPI) then the output can be quite accurate.

Be aware that small fonts (in your FOs) tend to cause overwriting in the
text output. On the contrary, large fonts tend to be spaced out in the text
output.

Good Luck,
Art

-----Original Message-----
From: Jens Schäfers [mailto:schaefers@adesso.de]
Sent: Wednesday, March 14, 2001 10:58 AM
To: fop-dev@xml.apache.org
Subject: Question regarding text renderer


Hello,

I've got a question regarding the fop text renderer:

which kind of line break is generated? unix-style or dos-style?

It seems to me that it's unix-style, but I'm not sure. Can I change this
easily to dos-style?

Thanks!

Jens


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Mime
View raw message