Forced Word Wrap

2007-07-19 Thread Matthias Müller
Hi Everybody, I have multiple table-cells with String like that 01,02,03,04,05 ..., they don't fit to the limited width of the cell. So there's no chance to hyphenate this like a normal word. Is there a way to force a word wrap? Do i need to write a hyphenate pattern instead? BTW, i use

Re: Help request using FOB to create TIFF CCITT T4 images

2007-07-19 Thread Jvanhalderen
Very helpfull, worked perfectly, thank you. Vincent HENNEUSE wrote: Jvanhalderen wrote: Hello, I'm currently using FOB to create TIFF images from xml/xslt files. These files however are soo big that they need a compression. I've read that FOB 0.93 supports the CCITT T4 format for

Re: Forced Word Wrap

2007-07-19 Thread Abel Braaksma (online)
One thing to consider as a resolution might be to use XSLT to insert soft hyphens on places where you would like the word to be broken. In XSLT 2.0 this is easiest, like so: !-- replace all comma's with a comma and a SHY -- xsl:sequence select=replace(., ',', ',#xAD;') / In XSLT 1.0 you'll need

Re: Forced Word Wrap

2007-07-19 Thread Andreas L Delmelle
On Jul 19, 2007, at 11:07, Matthias Müller wrote: Hi I have multiple table-cells with String like that 01,02,03,04,05 ..., they don't fit to the limited width of the cell. So there's no chance to hyphenate this like a normal word. Is there a way to force a word wrap? Do i need to write a

AW: Forced Word Wrap

2007-07-19 Thread Matthias Müller
Hi Abel, As far as i know, FOP doesn't support soft hyphens. I have to use zero width space instead (#x200B;). But the fop output isn't correct. I replace the comma with the zero width space: xsl:value-of select=replace('1,2,3,4,5,6', ',' ,'#x200B;')/ my result is - as expected: fo:block

Re: AW: Forced Word Wrap

2007-07-19 Thread Andreas L Delmelle
On Jul 19, 2007, at 14:02, Matthias Müller wrote: Hi Mathias Hi Andreas, the mysterious thing is: it worked with fop 0.20.5 i'm just updating the fop version, since i thought there are more possibilities ;-) FOP 0.93 should support Soft-Hyphens and Zero-Width Spaces (although, could be

RE: FOP 0.93: table with 5 columns collapses to 1-column table when using RTF renderer

2007-07-19 Thread Brown, Phyllis (NIH/NIEHS) [C]
Hi, I tried your xslt and xml. It looks fine for me using Microsoft Word to view the RTF output. Phyllis -Original Message- From: Gabriele Del Prete [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 18, 2007 12:10 PM To: fop-users@xmlgraphics.apache.org Subject: FOP 0.93: table with 5

Re: AW: Forced Word Wrap

2007-07-19 Thread Abel Braaksma (online)
I replace the comma with the zero width space: xsl:value-of select=replace('1,2,3,4,5,6', ',' ,'#x200B;')/ my result is - as expected: fo:block wrap-option=wrap hyphenate=true language=de1,​2,​3,​4,​5,​6/fo:block No, this is not as expected. If you cut and paste your value-of

Re: FOP 0.93: table with 5 columns collapses to 1-column table when using RTF renderer

2007-07-19 Thread Gabriele Del Prete
Brown, Phyllis (NIH/NIEHS) [C] wrote: Hi, I tried your xslt and xml. It looks fine for me using Microsoft Word to view the RTF output. Phyllis Thanks for your reply. I was going to write another email since it turns out that it's a bug in OpenOffice's handling of RTF files indeed (I

AW: AW: Forced Word Wrap

2007-07-19 Thread Matthias Müller
Hi, i've created a totally new stylesheet like this: - xsl:template name=myNode xsl:variable name=mySequence1,2,3,4,5,6,10,11,20,21,23,30,39,40,50,51,52,53,54,58,59/xsl:variable fo:block fo:table fo:table-body fo:table-row

Re: FOP 0.93: table with 5 columns collapses to 1-column table when using RTF renderer

2007-07-19 Thread Gabriele Del Prete
Gabriele Del Prete wrote: The same problem happens also with the simplest table I could come out with XSL-FO (i.e.: the fo:table tag with five columns defined, and one row with 5 fo:table-cell), and with the examples in FOP 0.93's distribution archive (tried some of them, not all, though).

Re: Quick survey: upcoming release of FOP 0.94

2007-07-19 Thread Loran Kary
How does this work in a Macintosh OS X environment? On Jul 18, 2007, at 5:53 AM, Jeremias Maerki wrote: On 17.07.2007 14:39:29 Kamal wrote: snip/ Auto detection and auto registration of custom fonts sounds good. Can we have more info? Well, it's not perfect, yet, but the basic idea is

Re: Quick survey: upcoming release of FOP 0.94

2007-07-19 Thread Andreas L Delmelle
On Jul 19, 2007, at 19:38, Loran Kary wrote: How does this work in a Macintosh OS X environment? Quite good, apart from the fact that certain fonts apparently are unsuitable to be used by FOP. They are all nicely detected, but you get errors about missing Unicode CMAPs or invalid

Re: Quick survey: upcoming release of FOP 0.94

2007-07-19 Thread Loran Kary
The default locations look good. But I know there are some differences between Windows TrueType fonts and Macintosh TrueType fonts. They use different tables for certain things. I would be nice if FOP could be made to work with Macintosh TrueType fonts. -- Loran Kary On Jul 19, 2007,