Usage of Tables in Apache FOP

2016-03-09 Thread Sireesha Boddapati
Hi Team,

We have different page-sets with different widths of region-body. The page
content is dynamic and it will have lots of tables with dynamic number of
columns.

So, when the table has more number of columns and has cell data with long
text with no spaces, the text is getting overlapped with next cell.


Is there any way to avoid this?

Thanks
Sireesha


Re: FOP alignment problem between two font type

2016-03-09 Thread Glenn Adams
On Tue, Mar 8, 2016 at 10:00 PM, gkaplan  wrote:

> I tried to use Arial Unicode MS but FOP complains that it is not found.
> I’m assuming it is not one of the built-in fonts.
>
> 1.   Do I need to configure FOP to use a custom font and then include
> it somewhere?
>
yes, see [1][2]

[1] https://xmlgraphics.apache.org/fop/2.1/configuration.html
[2] https://xmlgraphics.apache.org/fop/2.1/fonts.html

> 2.   If I do use a custom font, will it have to reside on everyone
> else’s machine, or will it reside inside the PDF so that it renders
> properly everywhere else?
>
by default, the used subset will be be embedded in the PDF, so it does not
have to be present (externally) when rendering the PDF

>
>
> Thanks
>
>
>
> *From:* Glenn Adams-2 [via Apache FOP] [mailto:ml-node+[hidden email]
> ]
> *Sent:* Tuesday, March 08, 2016 11:45 PM
> *To:* Gerry Kaplan <[hidden email]
> >
> *Subject:* Re: FOP alignment problem between two font type
>
>
>
>
>
>
>
> On Tue, Mar 8, 2016 at 6:53 PM, Puja <[hidden email]
> > wrote:
>
> I faced such issue with sigma character, I couldn't find worthwhile
> solution. Ended up using image of sigma character.
>
> On Mar 8, 2016 19:40, "gkaplan [via Apache FOP]" <[hidden email]
> > wrote:
>
> I am using XSL to create the FOP markup, so it is not possible for me to
> easily wrap special characters in their own inline block. I am using the
> greater-than-or-equals ≥ symbol which is only available in the Symbol font.
> The rest of the document is in sans-serif.
>
> What's odd is that any numbers subsequent to the ≥ symbol are also in the
> Symbol font.
>
> My markup includes an attribute-set as follows:
>
> 
>  select="$fontSize"/>
> sans-serif,
> Symbol
> 
>
> But when the PDF is generated, the baseline (or some other attribute) of
> the ≥ symbol is much lower.
>
> Arial Unicode MS
>
> Noto Sans
>
> etc.
>
>
>
> Is there really no way to fix this? I've tried tinkering with setting
> baselines, etc. but nothing fixes this. Also, as the previous solution
> mentions, I don't know of any fonts that include this symbol as well as the
> full alphabet.
>
> Thanks in advance for any help.
> --
>
> *If you reply to this email, your message will be added to the discussion
> below:*
>
>
> http://apache-fop.1065347.n5.nabble.com/FOP-alignment-problem-between-two-font-type-tp41322p43650.html
>
> To unsubscribe from FOP alignment problem between two font type, click
> here.
> NAML
> 
>
>
> --
>
> View this message in context: Re: FOP alignment problem between two font
> type
> 
> Sent from the FOP - Users mailing list archive
>  at Nabble.com.
>
>
>
>
> --
>
> *If you reply to this email, your message will be added to the discussion
> below:*
>
>
> http://apache-fop.1065347.n5.nabble.com/FOP-alignment-problem-between-two-font-type-tp41322p43652.html
>
> To unsubscribe from FOP alignment problem between two font type, click
> here.
> NAML
> 
>
> --
> View this message in context: RE: FOP alignment problem between two font
> type
> 
>
> Sent from the FOP - Users mailing list archive
>  at Nabble.com.
>


RE: FOP alignment problem between two font type

2016-03-09 Thread gkaplan
I tried to use Arial Unicode MS but FOP complains that it is not found. I’m 
assuming it is not one of the built-in fonts.

1.   Do I need to configure FOP to use a custom font and then include it 
somewhere?

2.   If I do use a custom font, will it have to reside on everyone else’s 
machine, or will it reside inside the PDF so that it renders properly 
everywhere else?

Thanks

From: Glenn Adams-2 [via Apache FOP] 
[mailto:ml-node+s1065347n4365...@n5.nabble.com]
Sent: Tuesday, March 08, 2016 11:45 PM
To: Gerry Kaplan 
Subject: Re: FOP alignment problem between two font type



On Tue, Mar 8, 2016 at 6:53 PM, Puja <[hidden 
email]> wrote:

I faced such issue with sigma character, I couldn't find worthwhile solution. 
Ended up using image of sigma character.
On Mar 8, 2016 19:40, "gkaplan [via Apache FOP]" <[hidden 
email]> wrote:
I am using XSL to create the FOP markup, so it is not possible for me to easily 
wrap special characters in their own inline block. I am using the 
greater-than-or-equals ≥ symbol which is only available in the Symbol font. The 
rest of the document is in sans-serif.

What's odd is that any numbers subsequent to the ≥ symbol are also in the 
Symbol font.

My markup includes an attribute-set as follows:



sans-serif, 
Symbol


But when the PDF is generated, the baseline (or some other attribute) of the ≥ 
symbol is much lower.
Arial Unicode MS
Noto Sans
etc.


Is there really no way to fix this? I've tried tinkering with setting 
baselines, etc. but nothing fixes this. Also, as the previous solution 
mentions, I don't know of any fonts that include this symbol as well as the 
full alphabet.

Thanks in advance for any help.

If you reply to this email, your message will be added to the discussion below:
http://apache-fop.1065347.n5.nabble.com/FOP-alignment-problem-between-two-font-type-tp41322p43650.html
To unsubscribe from FOP alignment problem between two font type, click here.
NAML


View this message in context: Re: FOP alignment problem between two font 
type
Sent from the FOP - Users mailing list 
archive at 
Nabble.com.



If you reply to this email, your message will be added to the discussion below:
http://apache-fop.1065347.n5.nabble.com/FOP-alignment-problem-between-two-font-type-tp41322p43652.html
To unsubscribe from FOP alignment problem between two font type, click 
here.
NAML




--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FOP-alignment-problem-between-two-font-type-tp41322p43653.html
Sent from the FOP - Users mailing list archive at Nabble.com.

Re: FOP alignment problem between two font type

2016-03-09 Thread gkaplan
I am using XSL to create the FOP markup, so it is not possible for me to
easily wrap special characters in their own inline block. I am using the
greater-than-or-equals ≥ symbol which is only available in the Symbol font.
The rest of the document is in sans-serif. 

What's odd is that any numbers subsequent to the ≥ symbol are also in the
Symbol font.

My markup includes an attribute-set as follows:



sans-serif, 
Symbol


But when the PDF is generated, the baseline (or some other attribute) of the
≥ symbol is much lower. 

Is there really no way to fix this? I've tried tinkering with setting
baselines, etc. but nothing fixes this. Also, as the previous solution
mentions, I don't know of any fonts that include this symbol as well as the
full alphabet.

Thanks in advance for any help.



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FOP-alignment-problem-between-two-font-type-tp41322p43650.html
Sent from the FOP - Users mailing list archive at Nabble.com.

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