table column visibility

2010-03-04 Thread Louis . Masters
Anyone had any luck with setting the visibility attribute on a table 
column?  I tried hidden and collapse but it looks like it is not 
supported.


FOP 0.94
JDK 1.5 Win

Thanks,
Lou


Problem with font embedding in the fop-trunk?

2010-03-04 Thread Jonathan Levinson
A colleague reports that documents generated using the fop-trunk are much 
larger than documents generated using fop-0.95.

Using the same xml  xsl, with FOP-0.95 I get a file size of 785kb, but using 
the fop trak version with your fop.xconf file, I get a file size of 7.6mb. This 
has to be due to embedding fonts I think.

We have tried turning off font-embedding in the fop-trunk by using a fop.xconf 
file with the following:

  fonts
 auto-detect/

 referenced-fonts
match font-family=.*/
 /referenced-fonts
/fonts

Is the above enough to turn off embedding fonts in the fop-trunk?  Are there 
currently bugs in this area in the fop-trunk?

Best Regards,
Jonathan Levinson



Re: table column visibility

2010-03-04 Thread Venkat Reddy

Hi,

The same thing is not working in FOP Trunk either. I have tested the 
following example, both columns visible...


fo:table
   fo:table-column column-width=4.0in 
background-color=aqua/
   fo:table-column column-width=4.0in 
background-color=aqua visibility=hidden/

   fo:table-body
fo:table-row
 fo:table-cell
  fo:blockThis should the only text 
shown by this test./fo:block

 /fo:table-cell
 fo:table-cell
  fo:blockThis text should not be 
shown at all./fo:block

 /fo:table-cell
/fo:table-row
   /fo:table-body
  /fo:table

I have no idea whether this feature implmented or not? no warning 
message returned as well:-)


Cheers,
Venkat.

louis.mast...@log-net.com wrote:


Anyone had any luck with setting the visibility attribute on a table 
column?  I tried hidden and collapse but it looks like it is not 
supported.



FOP 0.94
JDK 1.5 Win

Thanks,
Lou



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



Font Cascade

2010-03-04 Thread JoshC

Hi Everyone,

I'm trying to output a PDF that has both English and Korean characters,
sometimes both within the same paragraph. I was told by a coworker that you
could use a cascade of fonts like you do in CSS, something like the
following:

fo:block font-family=Batang, Arial, sans-serif, Symbol, ZapfDingbats

However, this doesn't seem to work. FOP only seems to use the first font
listed. If I use the above font-family list it will still print out English
characters, but they look odd. If I list Arial first, it will print out
English, but not Korean. Does anyone have any suggestions about how to do
this? I'm not sure what the point is of listing more than one font when FOP
only seems to use the first one listed.


Thanks,
Josh
-- 
View this message in context: 
http://old.nabble.com/Font-Cascade-tp27786378p27786378.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



Re: Font Cascade

2010-03-04 Thread Sergiu Dumitriu

On 03/04/2010 09:51 PM, JoshC wrote:


Hi Everyone,

I'm trying to output a PDF that has both English and Korean characters,
sometimes both within the same paragraph. I was told by a coworker that you
could use a cascade of fonts like you do in CSS, something like the
following:

fo:block font-family=Batang, Arial, sans-serif, Symbol, ZapfDingbats

However, this doesn't seem to work. FOP only seems to use the first font
listed. If I use the above font-family list it will still print out English
characters, but they look odd. If I list Arial first, it will print out
English, but not Korean. Does anyone have any suggestions about how to do
this? I'm not sure what the point is of listing more than one font when FOP
only seems to use the first one listed.



Cascading doesn't mean that the first font which supports a given 
character is used, but that the first font that exists is used. So, as 
long as Arial exists, it will be used, even if it doesn't include glyphs 
for a specific codepoint.


You could try using the Arial Unicode font, which has a broader support 
for characters, although the license might prohibit using it.


You could also try a free font with better Unicode support, such as 
http://www.gnu.org/software/freefont/ (an excellent font, with serif, 
sans-serif and monotype variants),


--
Sergiu Dumitriu
http://purl.org/net/sergiu/

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