Re: FOP Font Configuration in Linux

2010-10-11 Thread Rob Sargent
The fonts on a linux box are usually found at /usr/share/fonts. Most distros have a package for the MS fonts (ttf-mscorefonts or somesuch) though I don't see it on my SUSE default supplier :( You might get away with copying the files named in your config directly into /usr/share/fonts/truetype

Re: FOP Font Configuration in Linux

2010-10-12 Thread Rob Sargent
of embedding the font afterwords or do I still need to put the xml file and the ttf file paths to the fo config file? If so, what will be the correct path format in linux? Really appreciate your help! Rob Sargent-4 wrote: The fonts on a linux box are usually found at /usr/share/fonts. Most

Re: overflow of fixed block-container

2010-10-20 Thread Rob Sargent
Haven't cracked rev 1.0 yet but maybe it the top container was the entirety of the region body and the same page-master is in effect the text would show in a similarly place box on the next page. (Nothing will ever get to the other boxes tho.) On 10/20/2010 05:30 PM, Russell Levy wrote: Hi, I

switching column-count

2010-11-14 Thread Rob Sargent
Is it possible to change the column count within a single flow with each new simple-page master? fo:page-sequence-master master-name=document-sequence !-- one column region-body -- fo:single-page-master-reference master-reference=chapter-open / !-- two column region-body --

Re: switching column-count

2010-11-14 Thread Rob Sargent
Using fop-0.95. Can move forward if needed. On 11/14/2010 12:31 PM, Rob Sargent wrote: Is it possible to change the column count within a single flow with each new simple-page master? fo:page-sequence-master master-name=document-sequence !-- one column region-body

Re: switching column-count

2010-11-18 Thread Rob Sargent
possible to use page masters with different column counts, in practice it’s not supported by FOP yet. Sorry, Vincent On 14/11/10 19:32, Rob Sargent wrote: Using fop-0.95. Can move forward if needed. On 11/14/2010 12:31 PM, Rob Sargent wrote: Is it possible to change the column count

static content ignored

2010-11-18 Thread Rob Sargent
Using fop-0.95, I appear to lose a region-before for a particular page layout. The headers appear on other pages. Here are snippets from the fop.xml file generated on the way to pdf. fo:layout-master-set ... other masters ... fo:simple-page-master page-width=8.5in page-height=11in

Re: static content ignored

2010-11-19 Thread Rob Sargent
Undoubtedly. Thanks a ton. Even though I tried to track down the waring attribute name ignored, there are just too many valid name= places. A forest and tree problem. On 11/19/2010 03:21 AM, Peter Hancock wrote: Hi Rob, fo:region-body margin-right=3.6585in margin-top=0.6in

Re: switching column-count

2010-11-22 Thread Rob Sargent
of difficulty precludes me getting a green light to tackle the problem right now. Cheers, rjs On 11/22/2010 12:40 PM, Vincent Hennebert wrote: Hi Rob, On 18/11/10 15:22, Rob Sargent wrote: Yes, thanks for the confirmation Vincent. How much interest do you feel there would be for such support

Re: FOP embedded in Java app not rendering graphics

2010-12-21 Thread Rob Sargent
Your java app can find the files in either a supplied jar (if they're that static) as a resource or in some relative dir from current working directory or in some named dir defined on the command-line or in the environment On 12/21/2010 10:49 AM, Furst, Tom wrote: No, did not look for WARNING.

Re: Rendering differences: fop-0.95 vs fop.-1.0

2011-01-11 Thread Rob Sargent
nicely under 0.95. If I have to adjust the calculation of the table size (vertically) in fop-1.0 so be it. Thanks again, rjs On 01/11/2011 11:09 AM, Andreas Delmelle wrote: On 11 Jan 2011, at 14:20, Rob Sargent wrote: Hi Rob I've proven to myself that I'm generating identical xml

Re: Rendering differences: fop-0.95 vs fop.-1.0

2011-01-11 Thread Rob Sargent
On 01/11/2011 11:46 AM, Andreas Delmelle wrote: On 11 Jan 2011, at 19:31, Rob Sargent wrote: My apologies for the size of the fo file. If I knew where the problem was in particular I certain would have trimmed it. OK, no harm done. I'll follow-up on your suggestions

Re: Rendering differences: fop-0.95 vs fop.-1.0

2011-01-12 Thread Rob Sargent
On 01/12/2011 05:43 AM, Vincent Hennebert wrote: Hi Rob, On 11/01/11 13:20, Rob Sargent wrote: I've proven to myself that I'm generating identical xml, but getting malformed pdf in version 1.0 where 0.95 was perfectly happy. I'm getting some clipping along the inner (left) side

Re: Rendering differences: fop-0.95 vs fop.-1.0

2011-01-13 Thread Rob Sargent
On 01/12/2011 05:43 AM, Vincent Hennebert wrote: Hi Rob, On 11/01/11 13:20, Rob Sargent wrote: I've proven to myself that I'm generating identical xml, but getting malformed pdf in version 1.0 where 0.95 was perfectly happy. I'm getting some clipping along the inner (left) side

Re: Rendering differences: fop-0.95 vs fop.-1.0

2011-01-13 Thread Rob Sargent
On 01/13/2011 11:42 AM, Rob Sargent wrote: On 01/12/2011 05:43 AM, Vincent Hennebert wrote: Hi Rob, On 11/01/11 13:20, Rob Sargent wrote: I've proven to myself that I'm generating identical xml, but getting malformed pdf in version 1.0 where 0.95 was perfectly happy. I'm

Re: Rendering differences: fop-0.95 vs fop.-1.0

2011-01-13 Thread Rob Sargent
On 01/13/2011 11:44 AM, Rob Sargent wrote: On 01/13/2011 11:42 AM, Rob Sargent wrote: On 01/12/2011 05:43 AM, Vincent Hennebert wrote: Hi Rob, On 11/01/11 13:20, Rob Sargent wrote: I've proven to myself that I'm generating identical xml, but getting

align columns last line

2011-01-18 Thread Rob Sargent
Using fop-1.0, is it possible to define the columns such that the last line of text is always at the same position relative to the bottom of the page/the region-body? Or to much with the text to affect the same? rjs - To

Re: align columns last line

2011-01-20 Thread Rob Sargent
. On 18.01.2011 21:33:37 Rob Sargent wrote: Using fop-1.0, is it possible to define the columns such that the last line of text is always at the same position relative to the bottom of the page/the region-body? Or to much with the text to affect the same? rjs Jeremias Maerki

Can''t get rid of line between rows

2011-01-23 Thread Rob Sargent
Using fop-1.0. I have a two column table. The first column spans the table. There are five rows in the table. The cells are colored. Between each row there is a thin (1pt at most, perhaps a single pixel) line. I've tried forcing colored borders over the middle ground with

Re: Can''t get rid of line between rows

2011-01-24 Thread Rob Sargent
. On 23.01.2011 22:34:43 Rob Sargent wrote: Using fop-1.0. I have a two column table. The first column spans the table. There are five rows in the table. The cells are colored. Between each row there is a thin (1pt at most, perhaps a single pixel) line. I've tried forcing colored borders over

Re: align columns last line

2011-01-25 Thread Rob Sargent
Well not quite. display-align=top-and-bottom is what I'm really looking for. Crack open the iText manual I guess? rjs On 01/20/2011 03:45 PM, Rob Sargent wrote: YES! Thank you so much. I guess I didn't know how to ask google for it... rjs ps. Can't type for that matter: to much should

Re: Can''t get rid of line between rows

2011-01-25 Thread Rob Sargent
Actually, the Adobe users were fine. It was just me using Evince (on Suse-11.2) who saw the problem and Evince doesn't have any controls in that regard. On 01/24/2011 09:24 AM, Rob Sargent wrote: Spot on! Thanks. (One wasted weekend...) On 01/24/2011 12:53 AM, Jeremias Maerki wrote

Re: align columns last line

2011-01-26 Thread Rob Sargent
hopeful, rjs On 01/25/2011 10:30 AM, Rob Sargent wrote: Well not quite. display-align=top-and-bottom is what I'm really looking for. Crack open the iText manual I guess? rjs On 01/20/2011 03:45 PM, Rob Sargent wrote: YES! Thank you so much. I guess I didn't know how to ask google

Re: align columns last line

2011-01-26 Thread Rob Sargent
Hello Andreas, Thanks for your comments On 01/26/2011 12:02 PM, Andreas Delmelle wrote: On 26 Jan 2011, at 19:42, Rob Sargent wrote: Hi Rob, Is there really no fop way to get consistently placed top and bottom lines, such as one expects in a multi-column page of a magazine

Re: align columns last line

2011-01-26 Thread Rob Sargent
matched bottom lines? Are there other factors which might be getting in the way? Cheeris, rjs On 01/26/2011 04:01 PM, Andreas Delmelle wrote: On 26 Jan 2011, at 23:44, Rob Sargent wrote: On 01/26/2011 12:02 PM, Andreas Delmelle wrote: IIRC, FOP does take care of column-balancing

Re: Can''t get rid of line between rows

2011-01-27 Thread Rob Sargent
: Good to know that it also happens in other PDF viewers. Thanks for letting us know. On 26.01.2011 01:21:46 Rob Sargent wrote: Actually, the Adobe users were fine. It was just me using Evince (on Suse-11.2) who saw the problem and Evince doesn't have any controls in that regard. On 01/24

Re: align columns last line

2011-01-27 Thread Rob Sargent
resutls when available. On 01/27/2011 12:09 PM, Andreas Delmelle wrote: On 27 Jan 2011, at 16:35, Rob Sargent wrote: Here is the fo. (But the last time I did this it was not well recieved.) I'm not confident I could crop it significantly and still have a useful fo. OK, I see what

Re: align columns last line

2011-01-27 Thread Rob Sargent
Beautiful. Thanks ever so much. rjs On 01/27/2011 12:25 PM, Rob Sargent wrote: I will most certainly give that a try, even if http://www.w3.org/TR/xsl/#display-align does not suggest that is a valid doesn't suggest that as an option. I guess I need a better reference for the current state

Re: FreeSerif Font not working

2011-02-28 Thread Rob Sargent
On 02/27/2011 08:49 PM, Graeme Kidd wrote: Hi, I am having some troubles getting a Type 1 version of the FreeSerif[1] font configured for FOP. I am needing a Unicode font that is in Type 1 so that I can set the output to Postscript. I have attached the PFB, PFM and Metric XML file as

Re: what might be forcing an early page/column break

2011-03-20 Thread Rob Sargent
I neglected to lay out the working envirionment. FOP=1.0 (from source.) PDF generation on Windows and Linux shows identical result. rjs Rob Sargent wrote: Two lines of text are unnecessarily being delayed to the following page/column, presumably being dragged along with the following

Re: can fop do outline style font? how?

2011-03-22 Thread Rob Sargent
I suspect you either need to acquire a outline font or if you system has one then you may need to set the option to look locally fonts using auto-detect/ in your fop_config.xml file. Either way you have to name the font with 'font-family=your-outline-font' in your fo. It is not a font-style

Re: what might be forcing an early page/column break

2011-03-23 Thread Rob Sargent
on the region-body to better see its boundaries, and confirm that there is space only for one line. Otherwise, maybe you can send me your fonts offline and I’ll try to reproduce your version. HTH, Vincent On 18/03/11 23:34, Rob Sargent wrote: Two lines of text are unnecessarily being delayed

Re: can fop do outline style font? how?

2011-03-23 Thread Rob Sargent
I think you need to add a font definition to you fop.xconf. Here's one I have in my config. renderers renderer mime=application/pdf fonts font metrics-url=GillSansMTPro-Medium.xml kerning=yes embed-url=GillSansMTPro-Medium.ttf font-triplet name=GillSansMTPro style=normal

Re: AW: AW: AW: OutOfMemoryException while transforming large XML to PDF

2011-03-25 Thread Rob Sargent
I don't see a mention of java version in play, but if it's java1.6 I would urge the op to try his hand at using jconsole to examine exactly what is holding the lion's share of the memory or too see if too many of something are hanging around unnecessarily. rjs On 03/25/2011 02:54 PM, Luis

Re: FOP does not create PDF file

2011-04-26 Thread Rob Sargent
Your classpath is missing fop.jar? On 04/26/2011 10:43 AM, code_expert wrote: Hi Guys, I have installed fop 0.95 (on ubuntu) and I am trying to use it within an application to create pdf files. I get the following error message though. I appreciate any help or idea, as I am not sure what

Re: FOP does not create PDF file

2011-04-26 Thread Rob Sargent
calling the cli code? Perhaps you app execs fop? On 04/26/2011 11:42 AM, code_expert wrote: Hi, Thanks for your reply. I checked the classpath, and it was empty. Then I added the fop.jar to it, using export and also /etc/environment, but it didn't make any changes. Any other idea? Rob

Re: FOP does not create PDF file

2011-04-26 Thread Rob Sargent
\ $FOP_OPTS org.apache.fop.cli.Main $fop_exec_args if $fop_exec_debug ; then echo $fop_exec_command fi eval $fop_exec_command Rob Sargent-4 wrote: I suspect /usr/local/bin/fop is a script. If so, see what path it is using internally. On 04/26/2011 02:53 PM, code_expert wrote: I checked

Re: How do I set page margins?

2011-05-13 Thread Rob Sargent
On 05/13/2011 12:20 PM, Eric Douglas wrote: The basic page margin is in the page setup. fo:simple-page-master xsl:attribute name=margin-topxsl:value-of select=MT//xsl:attribute This works at the top level but sets the same margin for all pages. What if I want each page to be different? I

breakpoint suggestions please

2011-05-13 Thread Rob Sargent
I'm in fop-1.0 source (thank you all very much) trying to find the last element written to the pdf. Situation: I need to dynamically size static regions such that I can accurately apportion the page. We generate a separate pdf for table(s) then calculate depth of that and use that value to

Re: breakpoint suggestions please

2011-05-16 Thread Rob Sargent
: /areaTree/pageSequence/pageViewport/page/regionViewport/regionBody/mainReference/span/flow The values returned are in millipoints (1000ths of a point), FOP's internal measurement unit. See also: http://xmlgraphics.apache.org/fop/1.0/intermediate.html#usage On 14.05.2011 00:26:29 Rob Sargent

Re: Changebar Status

2011-05-24 Thread Rob Sargent
There is interest here, but it will be a while until I can try it. Cheers, rjs On 05/23/2011 02:49 PM, Stephan Thesing wrote: Dear all, has anybody tried out my patch for production of change bars in FOP yet? The patch against a rather recent /trunk is attached at PR 48548 ... I would

flow sideways

2011-05-31 Thread Rob Sargent
I have a table of data which is designed to span across two facing pages. Thanks to the tip from Jeremias Maerki I can size the tables perfectly and allot the correct space in the region-before or each page. But how do I get the table to break across the two pages nicely? Since the

fop called in xslt extension is not finding fonts

2011-06-01 Thread Rob Sargent
Again with thanks to Jeremias, I'm successfully sizing the region-before for dynamically generated tables. I'm doing this via and xslt extension function (Xalan style). The xslt extension calls my sizing function which employs fop-1.0 to generate an IF from the given dom.Node. I notice that

Re: fop called in xslt extension is not finding fonts

2011-06-02 Thread Rob Sargent
Hello Mehdi, Thanks for your work on this. I think you're on the right track but not sure how to proceed. I may be misunderstanding things but in my use of the API the choice of mime type defines IF vs PDF. I accomplish this in the constructor with this (reflective) code.

Re: fop called in xslt extension is not finding fonts

2011-06-02 Thread Rob Sargent
Chris, Thanks. This looks like what I need. Now I have to work it into my switch-hitting fop runner! Cheers, rjs On 06/02/2011 09:35 AM, Chris Bowditch wrote: On 02/06/2011 08:47, mehdi houshmand wrote: Hi Rob, Hi Rob, Mehdi is right that the problem when generating IF is down to the

Re: FOP EMPTY PDF

2011-06-02 Thread Rob Sargent
Oscar, I think it might be more useful to post the fo file generated by the xslt transformation of you source xml file, often called the fo file. Given that you do get a pdf file with _some_ content, I suspect your stylesheet isn't doing what you want it to do. This should be evident in the

Re: fop called in xslt extension is not finding fonts

2011-06-02 Thread Rob Sargent
hope of resolving the problem. We'll see. On 06/02/2011 09:57 AM, Rob Sargent wrote: Chris, Thanks. This looks like what I need. Now I have to work it into my switch-hitting fop runner! Cheers, rjs On 06/02/2011 09:35 AM, Chris Bowditch wrote: On 02/06/2011 08:47, mehdi houshmand wrote

Re: FOP EMPTY PDF

2011-06-02 Thread Rob Sargent
!); } catch (Exception e) { e.printStackTrace(System.err); System.exit(-1); } } } Rob Sargent-4 wrote: Oscar, I think it might be more useful to post the fo file generated by the xslt transformation of you source xml file, often called the fo file

Re: FOP EMPTY PDF

2011-06-03 Thread Rob Sargent
Thanks the only thing that left its the images that has the have the pdf but it great jejeje, do you know what can i do about that?? Rob Sargent-4 wrote: Not at all certain if this is your problem, but what about changing Source src = new StreamSource(args[4]); //I think you have opened two

Re: Hair ripping time

2011-06-03 Thread Rob Sargent
That print statement will always be called since it's in the finally block. On 06/03/2011 09:27 AM, Theresa Jayne Forster wrote: This makes no sense its crashing out with no error on this line Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF,useragent,out); And it jumps straight to

Re: fop called in xslt extension is not finding fonts

2011-06-03 Thread Rob Sargent
Never mind. My first cut at putting the interface into the getMethod call was broken. Obviously reflection requires the interface explicitly, not the implementation. On 06/03/2011 11:17 AM, Rob Sargent wrote: I'm having trouble with XMLRender.mimicRenderer(Render) using fop-1.0

Re: Problems with FOP and image

2011-06-06 Thread Rob Sargent
but it dont work Rob Sargent-4 wrote: Very odd. I'm having no problems getting images into pdfs using fop-1.0. On 06/03/2011 11:04 AM, Oscar.Flores wrote: aaa hey thanks for the help the other day, i resolve the problem changing the version of FOP for the 0.95beta instead of the 1.0, it works now

Re: Problems with FOP and image

2011-06-06 Thread Rob Sargent
().registerServiceProvider(new CLibJPEGImageReaderSpi()); IIORegistry.getDefaultInstance().registerServiceProvider(new CLibJPEGImageWriterSpi()); Note: those are not necessarily the services you have in your setup. Thanks Rob Sargent-4 wrote: See the javadoc on IIORegistry

Re: NoSuchMethodError: org.apache.fop.fonts.FontInfo.setEventListener

2011-06-06 Thread Rob Sargent
Since you are using 1.0 you better find a newer take on embedding fonts. Maybe here http://xmlgraphics.apache.org/fop/trunk/fonts.html#embedding On 06/06/2011 03:28 PM, honyk wrote: Hello Everyone, I am trying to embed FOP into my app according to this article:

Re: Problems with FOP and image

2011-06-07 Thread Rob Sargent
trying to convert the images to see if it that helps Rob Sargent-4 wrote: On 06/06/2011 02:29 PM, Oscar.Flores wrote: Hi what can be the difference between execute the program in netbeans (where it works and print the images and the jar in the console) Different classes being loaded

Re: Problems with FOP and image

2011-06-07 Thread Rob Sargent
?? then it should work, aaa i change to fop 1.0 and xml communs 1.4 and its the same jejeje dont find the image preload org.apache.fop.fo.flow.ExternalGraphic bind SEVERE: Image not available: The file format is not supported. No ImagePreloader for *.jpg or *.bmp Rob Sargent-4 wrote: ImageIO.write

Re: fop called in xslt extension is not finding fonts

2011-06-08 Thread Rob Sargent
OK, my code is OK, but my fop config file didn't have an entry for the at-xml renderer. I simply duplicated the pdf renderer and the fonts are fine. On 06/03/2011 03:19 PM, Rob Sargent wrote: Never mind. My first cut at putting the interface into the getMethod call was broken. Obviously

Re: Problems with FOP and image

2011-06-10 Thread Rob Sargent
s desperate what i am doing wrong?? i am sorry for the trouble and if a dont explain my self very good jejeje Rob Sargent-4 wrote: Not at all sure what your problem is. All I can do is show you what works for us. Our source xml looks like this: image image-id=381623861 reference-id=ref-220

How to determine which block are fo:table-row from XML-AT output?

2011-06-10 Thread Rob Sargent
Wondering if it's possible to programmatically identify which blocks in the areatree output correspond to fo:table-row calls, given that the entire page is a single fo:table. - To unsubscribe, e-mail:

Re: How to determine which block are fo:table-row from XML-AT output?

2011-06-10 Thread Rob Sargent
, Vincent Hennebert wrote: Hi Rob, On 10/06/11 17:12, Rob Sargent wrote: Wondering if it's possible to programmatically identify which blocks in the areatree output correspond to fo:table-row calls, given that the entire page is a single fo:table. There’s no way AFAICT, as an fo:table-row

Re: flow sideways

2011-06-10 Thread Rob Sargent
Vincent, thank you again. You have probably solved this for me (once I truly grok the power of indent). Cheers, rjs On 06/10/2011 10:23 AM, Vincent Hennebert wrote: Hi Rob, (Sorry for the delay.) On 01/06/11 00:30, Rob Sargent wrote: I have a table of data which is designed to span

Re: How to determine which block are fo:table-row from XML-AT output?

2011-06-10 Thread Rob Sargent
Hello Andreas, Thanks for the clarification and spec. reference. On 06/10/2011 10:49 AM, Andreas L. Delmelle wrote: On 10 Jun 2011, at 18:40, Rob Sargent wrote: Hi Rob snip / Consider this thread closed, though I find the news that fo:table-row calls don't generate area both enlightening

Re: Problems with FOP and image

2011-06-13 Thread Rob Sargent
Rob Sargent-4 wrote: The first thing is to really dig into what you did to netbeans to get it to work... I've forgotten what your stylesheet looked like, so maybe if you show us again how you're referencing your images we might notice a problem. It might also help to see the fo generated during

Re: Problems with FOP and image

2011-06-13 Thread Rob Sargent
that i put in the other post i think its the basic Rob Sargent-4 wrote: Do you have a config file for log4j. Usually it's in a resource tree. Are you copying that to your deployment? Is your ant script including the config file in the jar of your application? On 06/13/2011 10:12 AM

Re: Problems with FOP and image

2011-06-13 Thread Rob Sargent
(Exception e) { e.printStackTrace(System.err); System.exit(-1); } logger.info(Exiting application.); } Rob Sargent-4 wrote: Try this log4j.xml: Place it at the root of your jar file ?xml version=1.0 encoding=UTF-8? !DOCTYPE log4j:configuration SYSTEM

Re: Problems with FOP and image

2011-06-13 Thread Rob Sargent
)appear i have to add the jar file to the classpath but that all it say no configuration or anything, then i delete the imagenIO libs and still i have the same output in netbeans so xmlgrapics seem to have the problem in the plugins or i have to configure something Rob Sargent-4 wrote

Re: Problems with FOP and image

2011-06-13 Thread Rob Sargent
().registerServiceProvider(new CLibJPEGImageWriterSpi()); also after register my services it telling me that the class CLibJPEGImageReaderSpi() and CLibJPEGImageWriterSpi() is missing but only in command after register mi service, something more has to be done?? Rob Sargent-4 wrote: I'm not sure I'm

Re: Problems with FOP and image

2011-06-14 Thread Rob Sargent
, jpegImageFile)? do i have to do it in every image that i put in the pdf?? and the image is gererate directly in the pdf??how can i do it?? Rob Sargent-4 wrote: Some jar to which netbeans has access has those classes. Look in the output of jar tvfeach of your jars and see if any of those has

Re: FOP Extension to handle Wiki Syntax

2011-06-14 Thread Rob Sargent
We have success editing the fo programmatically, parsing out some special strings our application embeds in the xml/text nodes. Not something we're necessarily proud of, but it works perfectly well. On 06/14/2011 09:54 AM, kalgon wrote: You're right, I shouldn't have been talking so much

Re: Problems with FOP and image

2011-06-14 Thread Rob Sargent
, and the bufferedImage will be the path of the image?? No, the bufferedImage is an in-memory instance of BufferedImage holding the bits of the image. In the case that you have to read it from one place and write it to another. Rob Sargent-4 wrote: Did you go through all your jars looking

Re: Table cell not wrapping - how to insert zero width space?

2011-06-15 Thread Rob Sargent
Or maybe hyphenation. Working well for me. Cheers, On 06/15/2011 08:42 AM, Chetan Shirol wrote: I came to know from the other discussion forum that table cell text not wrapping can be solved by inserting zero width space. I want to know how to implement this and if there is any example then

Re: Problems with FOP and image

2011-06-17 Thread Rob Sargent
is currently not supported by FOP but in my xslt it ike thisfo:table table-layout=fixed width=100% the version of fop i use its 1.0 Rob Sargent-4 wrote: I don't think you want to read and write to the same place. If the file is where you want it to be and it's otherwise in perfect shape you should

Re: flow sideways

2011-06-17 Thread Rob Sargent
Hennebert wrote: Hi Rob, (Sorry for the delay.) On 01/06/11 00:30, Rob Sargent wrote: I have a table of data which is designed to span across two facing pages. Thanks to the tip from Jeremias Maerki I can size the tables perfectly and allot the correct space in the region-before or each page

Re: flow sideways

2011-06-20 Thread Rob Sargent
Let it be know, far and wide: I'm an idiot; Vincent is a saviour. Much thanks to the whole crew working on fop. On 06/20/2011 08:30 AM, Vincent Hennebert wrote: Hi Rob, On 17/06/11 22:27, Rob Sargent wrote: This indent stuff very nearly does the trick, but not quite. The outer edges

fop not handling svn rotated text on linux

2011-06-24 Thread Rob Sargent
Using fop-0.95 in this case. We generate a small svg file for the outside edge of each page and put the section name and page number (et al). The text is rotated +/-90 degrees for the section name. We're using Helvetica. Certain character combinations are just wrongly spaced but especially Jo

Re: fop not handling svn rotated text on linux

2011-06-25 Thread Rob Sargent
Medhi, I've loaded acroread on the shared linux box and the pdf looks fine. Do you still want the pdf? Or does this become an Evince issue? Cheers, rjs mehdi houshmand wrote: Hi Rob, Could you upload the PDF in question (if it's not too big) and it'll give us a better idea of what the

Re: fop not handling SVG rotated text on linux

2011-06-25 Thread Rob Sargent
I would really appreciate someone editing the Subject for the archives: s/svn/svg/g But apparently enough people saw through my type. Thanks gang. Rob Sargent wrote: Medhi, I've loaded acroread on the shared linux box and the pdf looks fine. Do you still want the pdf? Or does this become

Re: fop not handling svn rotated text on linux

2011-06-26 Thread Rob Sargent
Roger, that. Will advise the Evince people. mehdi houshmand wrote: Hi Rob, No I don't it's necessary if you're happy that it's not a FOP issue. Mehdi On 25 June 2011 21:55, Rob Sargent rsarg...@xmission.com wrote: Medhi, I've loaded acroread on the shared linux box and the pdf looks

Re: Problems with FOP and image

2011-06-27 Thread Rob Sargent
Are netbeans and your command-line using the same installation of java? Can you isolate you image handling code for us? On 06/27/2011 03:28 PM, Oscar.Flores wrote: yeah i add the imageio.jar and the clibwrap.jar that comes in the bundle to the classpath and put them in the jdk/jre bin and

Re: fop not handling svn rotated text on linux

2011-06-28 Thread Rob Sargent
June 2011 21:17, Rob Sargent rsarg...@xmission.com wrote: Doth my eye deceive me? I'm back to thinking this is an FOP bug. Attached please find an example pdf, it fo and the include svg files. I manage to get good output by mis-specifying a font!! svg:text font-family=-monotype-arial

Re: fop not handling svn rotated text on linux

2011-06-28 Thread Rob Sargent
to spare. Just make sure you post any findings on the bugzilla entry so we can track it. Thanks Mehdi On 28 June 2011 16:44, Rob Sargent rsarg...@xmission.com wrote: Mehdi, Sorry about the size of the pdf: I was hoping that removing the images would make it simple enough or that the svg

Re: fop not handling svn rotated text on linux

2011-06-29 Thread Rob Sargent
not be able to use Nimbus Sans L. You can choose any other font instead, for example FreeSans which is a TrueType version of Helvetica with more glyphs. HTH, Vincent On 28/06/11 18:25, Rob Sargent wrote: Roger. Will give it a shot. rjs On 06/28/2011 10:03 AM, mehdi houshmand wrote

Re: fop not handling svn rotated text on linux

2011-06-29 Thread Rob Sargent
/local.conf and fc-cache doesn't appear to help. fontforge-2011, to my understanding, does not convert pcf files. On 06/29/2011 10:44 AM, Rob Sargent wrote: Well, that explains why the bold text of my sidebar looks fine! Give that this SVG we're talking about I have to get _some_ font

Re: Problems with FOP and image

2011-06-30 Thread Rob Sargent
much Rob you have been so much helpfull!!thanks man!! Rob Sargent-4 wrote: - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: fop not handling svn rotated text on linux

2011-06-30 Thread Rob Sargent
Did you follow the link Vincent posted in Bugzilla? IIC, that explains exactly what the core issue is, and shows what needs to be done to work around it. Obviously, that would mean your FOP config is not portable across all platforms, but that seems justifiable. In the middle of a

Re: fop not handling svn rotated text on linux

2011-06-30 Thread Rob Sargent
-size=10pt text-anchor=end x=-35 y=25 gets me good output so I'll go with that even though it generates a huge stacktrace with each call to print. Thanks to all, rjs On 06/30/2011 03:09 PM, Andreas L. Delmelle wrote: On 30 Jun 2011, at 22:56, Rob Sargent wrote: Did you follow the link Vincent

Re: fop not handling svn rotated text on linux

2011-06-30 Thread Rob Sargent
Even with auto-detect on? Wait a second... Did you also configure FOP to locate the FreeSans.ttf file? See: http://xmlgraphics.apache.org/fop/1.0/fonts.html#basics, and beyond If FOP is not specifically told to look elsewhere, and it would not find that TTF in the working directory, then

Re: fop not handling svn rotated text on linux

2011-06-30 Thread Rob Sargent
are too widely spaced; the i and the n are touching. Just a reminder: the svg files look fine (and indistinguishable) with either FreeSans or Helvetica. It's just the pdf that is problematic. On 06/30/2011 04:12 PM, Andreas L. Delmelle wrote: On 30 Jun 2011, at 23:47, Rob Sargent wrote

Re: fop not handling svn rotated text on linux

2011-07-01 Thread Rob Sargent
the current situation) and would presumably be what the pc users are getting. Or am I better off getting a commercial truetype Helvetica? On 06/30/2011 05:16 PM, Andreas L. Delmelle wrote: On 01 Jul 2011, at 00:25, Rob Sargent wrote: Even with auto-detect on? In that case, the answer to my question

Re: fop not handling svn rotated text on linux

2011-07-04 Thread Rob Sargent
Andreas L. Delmelle wrote: On 01 Jul 2011, at 18:20, Rob Sargent wrote: Hi Rob snip / I'm coming to the conclusion that to guarantee all platforms use the same font I must include it in the distribution of the client. As I've said, we're already including non-standard fonts (e.g. Optima

Re: fop not handling svn rotated text on linux

2011-07-07 Thread Rob Sargent
again when thing settle down here, rjs On 07/04/2011 04:44 PM, Rob Sargent wrote: Andreas L. Delmelle wrote: On 01 Jul 2011, at 18:20, Rob Sargent wrote: Hi Rob snip / I'm coming to the conclusion that to guarantee all platforms use the same font I must include

Re: fop not handling svn rotated text on linux

2011-07-07 Thread Rob Sargent
fop version. Sorry to be so obtuse on this but I just can't seem to make this behave nicely. On 07/07/2011 09:37 AM, Andreas L. Delmelle wrote: On 07 Jul 2011, at 16:36, Rob Sargent wrote: Hi Rob snip / Unfortunately I've had no luck with a substitution block in my fop config file _comme

Re: fop not handling svn rotated text on linux

2011-07-07 Thread Rob Sargent
since I am getting other locally defined fonts in other parts of our system. rjs On 07/07/2011 11:45 AM, Andreas L. Delmelle wrote: On 07 Jul 2011, at 19:07, Rob Sargent wrote: Hi Rob My mistake. A rash assumption that the example was simply glossing over the renderer specific stuff

Re: fop not handling svn rotated text on linux

2011-07-07 Thread Rob Sargent
the xmlgraphics gets any noisier? On 07/07/2011 12:55 PM, Andreas L. Delmelle wrote: On 07 Jul 2011, at 20:01, Rob Sargent wrote: Hi Rob First off, thanks for your persistence in this matter. No problem. I do not see the 'DEBUB - FontInfo ... replacing ...' line (nor the others you mention

Mysterious left truncation of table in region-before: version 1.0 only

2011-07-13 Thread Rob Sargent
Is this by any chance a know bug in version 1.0? I place a single row table, single cell table in the region before. In version 0.95 the table, which has background set to silver renders perfectly, spanning the entire region-before. Using versions 1.0, the left ~0.83 inches of the table are

Re: Mysterious left truncation of table in region-before: version 1.0 only

2011-07-14 Thread Rob Sargent
, Rob Sargent wrote: Hi Rob Is this by any chance a know bug in version 1.0? Searching for open issues in Bugzilla that contain both table and region-before yielded no results. So, I would assume that, if it is a bug, it is not a known one (or already fixed in trunk --didn't search

Re: Mysterious left truncation of table in region-before: version 1.0 only

2011-07-15 Thread Rob Sargent
Drats. I played with the fo after attaching it and before sending. The commented-out region-before lines are the ones which cause the problem. On 07/14/2011 09:51 PM, Rob Sargent wrote: Call off the hounds, I've found the root cause. I still think it's quite interesting how the two version

Re: Mysterious left truncation of table in region-before: version 1.0 only

2011-07-15 Thread Rob Sargent
No the commented lines are in the fo I attached to message previous to the drats. The issue is resolved though I think the difference in the behaviour between the two revs is ,um, er, spectacular. ;) On 07/15/2011 01:44 PM, Andreas L. Delmelle wrote: On 15 Jul 2011, at 15:57, Rob Sargent wrote

Re: Outputting intrinsic dimension info of images

2011-07-26 Thread Rob Sargent
What type if images are you using? On unix, the 'file' command on .png files gives the dimension. For tiff I use tiff-info. On 07/26/2011 10:42 AM, Erik Wiklander wrote: Hi, I'm using fo:external-graphic to include images in the pdf. Is there any way that I can find out the intrinsic

Re: Content spanning multiple pages issue

2011-07-30 Thread Rob Sargent
OP might also be interested in calculating the required offset on the second page (end of the table) at which to place (absolutely??) the follow-on text. If so follow the (ill-named) thread breakpoint suggestions please. One is tempted to ask why the WYSIWYG editor doesn't open a second

  1   2   3   >