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 Ashish Kulkarni <as...@gmail.com> on 2008/09/22 17:35:39 UTC
How to add space between words
Hi
I need to print text like "My Name is ABC"
So i have
<fo:block >
My Name is<fo:inline space-before="3mm" margin-left="3mm"
font-size="6pt" >ABC</fo:inline>
</fo:block>
When i print PDF, i get My Name is ABC without any gap beween is and ABC
How can i add space between words
RE: How to add space between words
Posted by "Amick, Eric" <Er...@mail.house.gov>.
The easiest way is probably with fo:leader
<fo:block>
My name is<fo:leader leader-length="3mm"/>ABC
</fo:block>
Eric Amick
Legislative Computer Systems
Office of the Clerk
________________________________
From: Ashish Kulkarni [mailto:ashish.kulkarni13@gmail.com]
Sent: Monday, September 22, 2008 11:36
To: fop-users@xmlgraphics.apache.org
Subject: How to add space between words
Hi
I need to print text like "My Name is ABC"
So i have
<fo:block >
My Name is<fo:inline space-before="3mm" margin-left="3mm"
font-size="6pt" >ABC</fo:inline>
</fo:block>
When i print PDF, i get My Name is ABC without any gap beween is and ABC
How can i add space between words
Re: How to add space between words
Posted by paul womack <pw...@papermule.co.uk>.
Ashish Kulkarni wrote:
> Hi
>
> I need to print text like "My Name is ABC"
.
.
.
>
> How can i add space between words
What are trying to DO with this space?
Are you trying to line up a table, express columns,
a list of pairs?
In almost all cases, you should be working at a higher
design level (in terms of layout) that "adding spaces"
BugBear
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: How to add space between words
Posted by Philip V <ph...@verizon.net>.
I believe you can also preserve whitespace:
<fo:block white-space-collapse="false">
input:
<para>This is my name Phil</para>
output:
This is my name Phil
HTH,
Phil
--
View this message in context: http://www.nabble.com/How-to-add-space-between-words-tp19610565p19613085.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: How to add space between words
Posted by Lo...@log-net.com.
How about a low-tech way:
My Name is ABC
where nbsp is  
"Ashish Kulkarni" <as...@gmail.com> wrote on 09/22/2008
11:35:39 AM:
> Hi
> I need to print text like "My Name is ABC"
> So i have
> <fo:block >
> My Name is<fo:inline space-before="3mm" margin-left="3mm" font-
> size="6pt" >ABC</fo:inline>
> </fo:block>
> When i print PDF, i get My Name is ABC without any gap beween is and ABC
> How can i add space between words