Re: formatting tables
I haven't had much time to investigate further, but I noticed that setting the background-color attribute of a row like this fo:table-row background-color=blue does work, (table-layout=fixed). Coloring entire columns doesn't seem to work the same way. fo:table-column column-number=1 column-width=20% background-color=blue/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XSL Formatter
I'm just evaluating this tool, comparing it to FOP. Has anyone anything to contribute to this. Anything I should watch out for (apart from the cost)? thanks AndyR -- This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com http://www.opensubscriber.com/messages/fop-users@xmlgraphics.apache.org/topic.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Turkish character support
When using turkish characters, do i also have to use hyphenation? Do i have to include other types of fonts or embed them into the pdf file?On 8/31/06, Jeremias Maerki [EMAIL PROTECTED] wrote: Do you have to do it from Java code? Isn't it simpler to do it from thecommand-line? After all, for a font you only have to do this once.Anyway, I'd remove the -fn parameter from the command-line. I've never needed that and I've never tested it, so I don't even know what it doesexactly. Maybe that helps.On 31.08.2006 18:16:34 Onur Senturk wrote: I looked at the FOP website and tried to figure things out. The first thing i tried was to generate an xml file from a true type font(times new roman). But i couldn't. How am i supposed to generate it? i coded something like this first: PFMReader df = *new* PFMReader(); df.constructFontXML(df.loadPFM (c:\\times.ttf),TimesNewRoman,,,c:\\times.xml); but a fatal exception occured and i couldn't generate the xml file. Next i tried to run this command: String[] st = *new* String[3]; *int* i=0; st[i++] = -fn times_new; st[i++] = c:\\times.ttf; st[i++] = c:\\times.xml; df.main(st); But nothing seemed to happen either. This message appeared at the console: [INFO] PFM Reader v1.1 [INFO] [INFO] java org.apache.fop.fonts.apps.PFMReader [options] metricfile.pfm xmlfile.xml [INFO] where options can be: [INFO] -fn fontname [INFO] default is to use the fontname in the .pfm file, but [INFO] you can override that name to make sure that the [INFO] embedded font is used (if you're embedding fonts) [INFO] instead of installed fonts when viewing documents with Acrobat Reader. Now what should i do? I'm really stuck :( On 8/31/06, Jeremias Maerki [EMAIL PROTECTED] wrote: Turkish characters are likely not to be supported by the default fonts. Have you configured a font with FOP that contains all the Turkish characters you need? Please see the FOP website for details to configure fonts depending on the FOP version you use. On 31.08.2006 13:35:22 Onur Senturk wrote: Hi i'm trying to use the program called html2pdf which uses apache's fop to convert html to pdf, i mean fo to pdf. i can create the pdf but I've got some problem with the turkish character support. The pdf doesn't show the turkish characters properly. What should i do? How can you help me? -- Onur ªentürkJeremias Maerki-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] -- Onur Şentürk
outputting TIFF-G images
Hi all, I'm working with fop to generate MTIFF text images. At the moment i'm using fop-trunk because no justification functionality is working in fop 0.92 for tiffs. Right now I've all the functionality to generate parametrized text images implemented. By default fop uses packbits compression and colored image coding. I'd like to change the tiff coding to TIFF-G because generated images with the default tiff coding are very big (around 9000 kB) and coloration is not needed for the images I'm generating. I'm using the new FOUserAgent parameter setTargetResolution(int), but I can't see any way to change the default encoding for tiff images. Some time ago I readed this somewhere in the source code: //TODO Support output of monochrome bitmaps (fax-style), but don't know if it has something to do with changing tiff coding. Any hint/workarround/documentation please? Thanks a lot, salut / cheers ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
No element mapping found
Hi! I have a strange problem: My java software uses embedded FOP. Sometimes the rendering process comes to an exception: org.apache.fop.apps.FOPException: Error (0/0): No element mapping definition found for fo:root The strange thing is: this problem only occure under Windows XP, under Linux everything is perfect. Moreover this problem exists not all the time: e.g. last two weeks everthing was ok under Windows, but today the error occures all the time. The exception sometimes differes a bit: the element is e.g. fo:layout-master-set or fo:flow and so on, and sometime Java completely freezes... I have no idea anymore... CU Immo! -- View this message in context: http://www.nabble.com/No-element-mapping-found-tf2238073.html#a6205924 Sent from the FOP - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: next FOP release??
Pinkal wrote: It's been more than 4 month since 0.92beta was released. Isn't it is time to have another release? May be a production grade 1.0 or 0.93beta? Yes the release is due, but there are a couple of jobs still outstanding. I can't say for sure when they will be finished and the release done. It has been agreed that the next release will be 0.93. The beta tag has been dropped as the code is now considered to be stable enough for production use. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSL Formatter
[EMAIL PROTECTED] wrote: I'm just evaluating this tool, comparing it to FOP. Has anyone anything to contribute to this. Anything I should watch out for (apart from the cost)? Well the main reason I don't use it is because it doesn't generate Postscript. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Turkish character support
-Original Message- From: Onur Senturk [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 10:56 AM When using turkish characters, do i also have to use hyphenation? Hyphenation does not depend on font file or chararacter set. It only depends on document language. Using hyphenation needs to: - define used language: see language property in fo:page-sequence - enable/disable hyphenation as you want: see hyphenate property, that applies only on fo:block or fo:character - make sure you have appropriate hyphenation file; AFAIK, greek is only available in a TEX format (see [1]) You'll propably need to transform it in a FOP comprehensive format. [1] http://marc.theaimsgroup.com/?l=fop-userm=114424812107072w=2 Do i have to include other types of fonts or embed them into the pdf file? You should include|embed all used fonts, depending on your font-family properties On 8/31/06, Jeremias Maerki [EMAIL PROTECTED] wrote: Do you have to do it from Java code? Isn't it simpler to do it from the command-line? After all, for a font you only have to do this once. Anyway, I'd remove the -fn parameter from the command-line. I've never needed that and I've never tested it, so I don't even know what it does exactly. Maybe that helps. On 31.08.2006 18:16:34 Onur Senturk wrote: I looked at the FOP website and tried to figure things out. The first thing i tried was to generate an xml file from a true type font(times new roman). But i couldn't. How am i supposed to generate it? i coded something like this first: PFMReader df = *new* PFMReader(); df.constructFontXML(df.loadPFM (c:\\times.ttf),TimesNewRoman,,,c:\\times.xml); but a fatal exception occured and i couldn't generate the xml file. Next i tried to run this command: String[] st = *new* String[3]; *int* i=0; st[i++] = -fn times_new; st[i++] = c:\\times.ttf; st[i++] = c:\\times.xml; df.main(st); But nothing seemed to happen either. This message appeared at the console: [INFO] PFM Reader v1.1 [INFO] [INFO] java org.apache.fop.fonts.apps.PFMReader [options] metricfile.pfm xmlfile.xml [INFO] where options can be: [INFO] -fn fontname [INFO] default is to use the fontname in the .pfm file, but [INFO] you can override that name to make sure that the [INFO] embedded font is used (if you're embedding fonts) [INFO] instead of installed fonts when viewing documents with Acrobat Reader. Now what should i do? I'm really stuck :( On 8/31/06, Jeremias Maerki [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Turkish characters are likely not to be supported by the default fonts. Have you configured a font with FOP that contains all the Turkish characters you need? Please see the FOP website for details to configure fonts depending on the FOP version you use. On 31.08.2006 13:35:22 Onur Senturk wrote: Hi i'm trying to use the program called html2pdf which uses apache's fop to convert html to pdf, i mean fo to pdf. i can create the pdf but I've got some problem with the turkish character support. The pdf doesn't show the turkish characters properly. What should i do? How can you help me? -- Onur ªentürk Jeremias Maerki Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Wrapping long character strings
I'm building a medical report printing application and I'm having trouble forcing long characters strings (not really words) to wrap. FOP gives the error: Line 1 of a paragraph overflows the available area. (fo:block... For example I may have a series of 80 '*' characters. I would like to have that string wrap to 2 lines instead of continuing over the edge of the page. Per the wiki (http://wiki.apache.org/xmlgraphics-fop/Troubleshooting/CommonLogMessages), I've tried using the wrap-option and overflow attributes to get the strings to wrap with no luck. Hyphenation doesn't work either. I'm using 0.92.beta. Is there a way to get this to work in FOP? TIA, Wyatt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]