You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by polymorphisme <we...@polymorphisme.org> on 2012/11/13 12:57:42 UTC

About the format TXT

Hello,

I try to play this the renderer text. 
And I'm looking for the parameters for this renderer.

In the file fop.xconf, I found the configuration bellow :

<renderer mime="text/plain">
    <pageSize columns="80"/>
</renderer>

So, this example give a parameter (the number of columns), 
but there are some other parameter ? 

For example, how can I take 
    font-family="Courier"
    font-size="7.3pt"
    line-height="10.5pt"

And I have read 
"The Text renderer works with a fixed size page buffer. The size of this
buffer is controlled with the textCPI and textLPI public variables." on the
page  Apache™ FOP Output Formats <http://>  . But I don't find the variables
textCPI ou textLPI. Have you an idea ?

Thank for your help. 




--
View this message in context: http://apache-fop.1065347.n5.nabble.com/About-the-format-TXT-tp37351.html
Sent from the FOP - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: About the format TXT

Posted by polymorphisme <we...@polymorphisme.org>.
Ok, thank you very much. 



--
View this message in context: http://apache-fop.1065347.n5.nabble.com/About-the-format-TXT-tp37351p37356.html
Sent from the FOP - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: About the format TXT

Posted by Pascal Sancho <ps...@gmail.com>.
Hi,

all config material for text/plain had been removed from FOP in rev
829767 (oct 2009, 26th).
So, there is no documented option configuration for that MIME type.

Recommended settings (FOP website, @ [1]) should be applied directly
in XSL-FO, on fo:root.

[1] http://xmlgraphics.apache.org/fop/1.1/output.html#txt

2012/11/13 polymorphisme <we...@polymorphisme.org>:
> Hello,
>
> I try to play this the renderer text.
> And I'm looking for the parameters for this renderer.
>
> In the file fop.xconf, I found the configuration bellow :
>
> <renderer mime="text/plain">
>     <pageSize columns="80"/>
> </renderer>
>
> So, this example give a parameter (the number of columns),
> but there are some other parameter ?
>
> For example, how can I take
>     font-family="Courier"
>     font-size="7.3pt"
>     line-height="10.5pt"
>
> And I have read
> "The Text renderer works with a fixed size page buffer. The size of this
> buffer is controlled with the textCPI and textLPI public variables." on the
> page  Apache™ FOP Output Formats <http://>  . But I don't find the variables
> textCPI ou textLPI. Have you an idea ?
>
> Thank for your help.

-- 
pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org