Automatic text overprint patch

2009-09-30 Thread Matthias Reischenbacher
, Matthias Reischenbacher __ Information from ESET NOD32 Antivirus, version of virus signature database 4470 (20090930) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com Index: src/java/org/apache/fop/pdf/PDFGState.java

Re: Automatic text overprint patch

2009-10-01 Thread Matthias Reischenbacher
keep track of it and it doesn't get lost so easily in the noise. Thanks! On 30.09.2009 18:58:46 Matthias Reischenbacher wrote: Hello, I've implemented a small patch which allows to automatically set the overprint state for text in pdf output. This is useful when text and background colors

Footnotes broken?

2009-10-22 Thread Matthias Reischenbacher
fo:footnote-body fo:block1 oh yeah/fo:block /fo:footnote-body /fo:footnote aslödkfj. /fo:block Am I doing something wrong or is this feature broken? Thanks Regards, Matthias Reischenbacher Here is the stack trace

Re: Footnotes broken?

2009-10-25 Thread Matthias Reischenbacher
in the FOP-trunk code? Regards, Matthias Reischenbacher Matthias Reischenbacher wrote: Hi, with FOP-Trunk (Rev 822329) I'm getting a NPE when using footnotes. That's the markup I have tried: fo:block line-height=120% orphans=3 space-after=12pt space-before=3pt widows=4 par test fußnote

Re: Footnotes broken?

2009-10-25 Thread Matthias Reischenbacher
Hi, after debugging the code I think have a possible solution for this error. Please have a look at the patch I submitted: https://issues.apache.org/bugzilla/show_bug.cgi?id=48053 Regards, Matthias Reischenbacher Matthias Reischenbacher wrote: Hi, I've did some further testing on this issue

Symbol and Wingdings Font support

2010-03-05 Thread Matthias Reischenbacher
problem. I'm attaching a sample SVG file. Could you please tell me if I'm doing something wrong or if this is a FOP bug? Thanks Regards, Matthias Reischenbacher attachment: ohm_problem.svg - To unsubscribe, e-mail: fop-users

Re: Symbol and Wingdings Font support

2010-03-05 Thread Matthias Reischenbacher
and FOP. Thanks for you help! Regards, Matthias Reischenbacher - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Use of soft hyphen causes IllegalArgumentException in some cases

2010-03-11 Thread Matthias Reischenbacher
because the white space would trigger a linebreak anyway but I think it would be better to log a warn message instead of throwing the exception. Attached you'll find a sample fo file which reproduces the error. Should I add a new bugzilla entry? Can anyone fix this please? Regards, Matthias

Re: PNG vs JPG in performance

2010-08-13 Thread Matthias Reischenbacher
Hi Adam, I think the cause of the 30sec delay is that PNGs aren't embedded natively into the PDF and they must be transcoded first. It would be really nice, if the FOP-Team could fix this issue, since this problem also occurs when using PNGs inside SVGs and converting PNGs to JPEGs isn't so

Re: PNG vs JPG in performance

2010-08-13 Thread Matthias Reischenbacher
PDF there's no such thing as PNG or GIF. PDF uses its own representation of bitmap images. So that means we always have to interpret an image file and convert it to PDFs internal objects. On 13.08.2010 14:37:44 Matthias Reischenbacher wrote: Hi Adam, I think the cause of the 30sec delay

How to prevent line break when hyphenation is enabled?

2010-09-09 Thread Matthias Reischenbacher
fo file, in case somebody wants to give it a try. Thanks Regards, Matthias Reischenbacher ?xml version=1.0 encoding=utf-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; hyphenate=true language=de fo:layout-master-set fo:simple-page-master master-name=A4 page-height=29.7cm page-width=21cm

Incorrect hyphenation of Polish language

2010-09-09 Thread Matthias Reischenbacher
, Matthias Reischenbacher attachment: polish_hyphenation_error_screenshot.png - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: How to prevent line break when hyphenation is enabled?

2010-09-10 Thread Matthias Reischenbacher
Hi Simon, Any non-word character prevents hyphenation. Word characters are defined in the classes element in the source hyphenation file. For German these are a-z, ä, å, ö, ü and ß. WORD JOINER is not one of them, but apparently it is filtered out. I tried ZERO WIDTH JOINER, but that is

Re: Incorrect hyphenation of Polish language

2010-09-10 Thread Matthias Reischenbacher
guess there is no change for the Polish between the 2 versions -- Pascal Le 10/09/2010 14:42, Simon Pepping a écrit : On Thu, Sep 09, 2010 at 07:08:45PM -0300, Matthias Reischenbacher wrote: Hi, I'm having problems with hyphenation of text in polish language. A polish translator checked a 200

Re: AW: Incorrect hyphenation of Polish language

2010-09-10 Thread Matthias Reischenbacher
GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult Content GmbH: www.willmycc.de -Ursprüngliche Nachricht- Von: Matthias Reischenbacher [mailto:matthias8...@gmx.at] Gesendet: Freitag, 10. September 2010 17:31 An: fop-users

Re: AW: Incorrect hyphenation of Polish language

2010-09-10 Thread Matthias Reischenbacher
Hi Simon, Can you not use discretionary hyphens in your fo file? No, that's not possible because the translator only gets a XML file for translation and has no idea where the line breaks will occur. I think you would have to take the source XML hyphenation pattern file, and edit that.

Re: How to prevent line break when hyphenation is enabled?

2010-09-13 Thread Matthias Reischenbacher
the hyphenate attribute on fo:inline elements Regards, Matthias Reischenbacher On 10.09.2010 12:09, Matthias Reischenbacher wrote: Hi Simon, Any non-word character prevents hyphenation. Word characters are defined in the classes element in the source hyphenation file. For German these are a-z

Re: Padding-left ignored inside repeating table header

2010-11-12 Thread Matthias Reischenbacher
help Regards, Matthias Reischenbacher - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: Bug 49837 - Soft Hyphen

2010-12-03 Thread Matthias Reischenbacher
, Matthias Reischenbacher Simon Pepping @ Home wrote: On Thu, Dec 02, 2010 at 07:12:08PM +0200, Klearchos Klearchou wrote: I have Fop version 0.95 and I am trying to upgrade to 1.0 but I have problems with the following regression bug (49837 https://issues.apache.org/bugzilla/show_bug.cgi?id

Complex Script, BIDI text supported?

2011-03-09 Thread Matthias Reischenbacher
in order to correctly display english characters or is the BIDI text algorithm not yet implemented? Thanks for your help, Matthias Reischenbacher -- View this message in context: http://old.nabble.com/Complex-Script%2C-BIDI-text-supported--tp31109094p31109094.html Sent from the FOP - Users mailing

Re: Complex Script, BIDI text supported?

2011-03-09 Thread Matthias Reischenbacher
, Glenn On Wed, Mar 9, 2011 at 11:28 AM, Matthias Reischenbacher matthias8...@gmx.at wrote: Glenn, I tried your work today of the complex script branch. I managed to generate a PDF file with Hebrew text using Arial Unicode MS font and writing-mode set to rl-tb. The Hebrew text is displayed

Re: Complex Script, BIDI text supported?

2011-03-09 Thread Matthias Reischenbacher
branch. G. On Wed, Mar 9, 2011 at 12:21 PM, Matthias Reischenbacher matthias8...@gmx.at wrote: Glenn, here it goes: Fo file: http://old.nabble.com/file/p31109566/hebrew_test.xml hebrew_test.xml PDF file: http://old.nabble.com/file/p31109566/hebrew_test.pdf hebrew_test.pdf Should I

Re: attaching a zip file in PDF

2011-03-10 Thread Matthias Reischenbacher
Neeraj, I think the PDF attachment feature was added after the 1.0 release. You might want to try a nightly snapshot: http://ci.apache.org/projects/xmlgraphics/fop/snapshots/ HTH, Matthias nmquery wrote: Hi, I am not able to attach a zip file in PDF. Message on console - WARNING:

Row span and keep-togehther.within-page problem

2011-03-16 Thread Matthias Reischenbacher
-no-bug.pdf Best regards, Matthias Reischenbacher -- View this message in context: http://old.nabble.com/Row-span-and-keep-togehther.within-page-problem-tp31169192p31169192.html Sent from the FOP - Users mailing list archive at Nabble.com

Re: Row span and keep-togehther.within-page problem

2011-03-19 Thread Matthias Reischenbacher
of the if statement and execute it always. Perhaps then the additional keep condition handling inside TableContentLM.getKnuthElementsForRowIterator() could be removed? Thanks Regards, Matthias Andreas Delmelle-2 wrote: On 18 Mar 2011, at 00:30, Matthias Reischenbacher wrote: snip / FWIW: I was just

Re: Complex Script, BIDI text supported?

2011-03-22 Thread Matthias Reischenbacher
. On Wed, Mar 9, 2011 at 2:10 PM, Matthias Reischenbacher matthias8...@gmx.at wrote: Ok, thanks a lot for your help! Matthias Glenn Adams-2 wrote: It appears the problem is due to a bug related to the use of block-container, which I will look into. However, if you remove block

Re: Complex Script, BIDI text supported?

2011-03-22 Thread Matthias Reischenbacher
a new test file and the current PDF output. Thanks, Matthias On 22.03.2011 18:27, Matthias Reischenbacher wrote: Hi Glenn, thanks again for your help and doing all those fixes. Today I've retested my sample file with the git branch and everything works fine now. I'll do some more testing

Re: Problem with displaying crop marks

2011-03-31 Thread Matthias Reischenbacher
Hi Mario, you might check out Jeremias' example file: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/advanced/bleed-and-crop-marks.fo?view=markuppathrev=800143 Regards, Matthias On 31.03.2011 12:00, Mario Madunic wrote: Using FOP 1.0 I've been trying to get crop marks to

Re: Complex Script, BIDI text supported?

2011-03-31 Thread Matthias Reischenbacher
-item labels be displayed on the right side? 3. fo:character seem to overlap in rl mode. I'm attaching a new test file and the current PDF output. Thanks, Matthias On 22.03.2011 18:27, Matthias Reischenbacher wrote: Hi Glenn, thanks

Re: keep-together.within-line=always not working with inline and hyphenation

2011-04-14 Thread Matthias Reischenbacher
Hi Tobias, a possible workaround for this bug is to wrap every text character in a fo:character element and set its hyphenate attribute to false. Here is a XSL example for doing that: xsl:template match=text() mode=join xsl:call-template name=doJoin xsl:with-param name=text select=string(.)/

Re: Text fill color in external SVG is not preserved

2011-06-13 Thread Matthias Reischenbacher
anyway as Andreas suggested. Is there any workaround? If you are familiar with svn und building FOP, you can locally undo the change from the mentioned revision and just re-build FOP. Best regards, Matthias Reischenbacher

Re: PDF encryption and PDF image extension

2011-11-16 Thread Matthias Reischenbacher
: The examples/fo/basic/images.fo example works well if you add -noprint to fop. That is: cd examples/fo/basic fop -noprint -fo images.fo -pdf images-noprint.pdf The end result shows the images and has Print disabled. So I don't think it is a FOP issue Luis On 11/16/11 7:12 PM, Matthias

Re: PDF encryption and PDF image extension

2011-11-17 Thread Matthias Reischenbacher
switch is used. I believe the warning correctly identifies the problem. Luis On 11/17/11 2:33 AM, Matthias Reischenbacher wrote: As stated in my original message, I'm embedding other images in PDF format with the PDF image extension. So the mentioned example fo file doesn't show my issue

Footnotes order tables

2012-07-16 Thread Matthias Reischenbacher
of the table/footnote gurus please point me in the right direction? Btw... Too bad that xsl fo doesn't define an element for a truly automatic footnote numbering (similar to Antenna House's axf:footnote-number/). Is it part of xsl fo 2.0? Best regards, Matthias Reischenbacher ?xml version=1.0

Upgrade to fop trunk and URI resolving

2012-07-23 Thread Matthias Reischenbacher
Hi, I just tried to upgrade to latest trunk and noticed two compatibility issues with my application which I couldn't fix on my own: * The fontManager has no setBaseURL method anymore. How is the base URL set now? * The FOURIResolver class doesn't exist anymore. Sub classing it for

Re: Upgrade to fop trunk and URI resolving

2012-07-25 Thread Matthias Reischenbacher
on our end. I'll enable a way to do this and get back to you. [1] http://wiki.apache.org/xmlgraphics-fop/URIResolution [2] http://wiki.apache.org/xmlgraphics-fop/FopFactoryConfiguration Hope that helps, Mehdi On 24 July 2012 00:01, Matthias Reischenbacher matthias8...@gmx.at

Re: Upgrade to fop trunk and URI resolving

2012-08-01 Thread Matthias Reischenbacher
, the way FOP uses scratch files, that's not very likely, but it's always better safe than sorry.) I hope all that makes sense, if not, please feel free to ask me to clarify. Mehdi On 25 July 2012 21:25, Matthias Reischenbacher matthias8...@gmx.at

Re: Upgrade to fop trunk and URI resolving

2012-08-07 Thread Matthias Reischenbacher
02:14, Matthias Reischenbacher matthias8...@gmx.at mailto:matthias8...@gmx.at wrote: Hi Mehdi, thanks for updating the javadoc. I've been experimenting with the new API and I've found a minor bug about font configuration. Please have a look at the following piece of code

SVG text misplaced

2012-09-23 Thread Matthias Reischenbacher
Hi, one of my clients reported a strange problem with SVG text being misplaced in PDF output when very high font size values are used. The sample SVG file also uses very high viewBox values. I created a test case which reproduces the issue when increasing the font size from 2578pt to 2579pt:

Re: SVG text misplaced

2012-09-24 Thread Matthias Reischenbacher
sizes and drawing space? I'm going to look into why the kerning on that M is so far off, but you may be able to work around this issue. Thanks Mehdi On 24 September 2012 03:20, Matthias Reischenbacher matthias8...@gmx.at mailto:matthias8...@gmx.at wrote: Hi

Re: Extract font width using FOP

2012-11-18 Thread Matthias Reischenbacher
Hi, what you need is an instance of FontInfo, from there you can retrieve the Font you need and call getCharWidth(). If you are using FOP version 1.1 or older use the following code snippet: import org.apache.fop.apps.FOPException; import org.apache.fop.fonts.EmbedFontInfo; import

Re: Encryption and links

2013-07-24 Thread Matthias Reischenbacher
Hi Luis, I've had the same issue and created a jiira issue with a minimal test case, see: https://issues.apache.org/jira/browse/FOP-2279 The problem also exists in current trunk. Regarding Bouncy Castle: this is documented here:

Re: SVG - embedded CMYK bitmaps

2014-02-12 Thread Matthias Reischenbacher
problematic so I'll give TwelveMonkeys a try if it comes up again. Regards, Matthias On 28.01.2014 18:09, Matthias Reischenbacher wrote: Hi, I've noticed that JPEGs with DeviceCMYK color space, embedded in SVGs, are converted to sRGB when generating a PDF file. Does that happen with all kind

Retrieve-Marker retrieve-position = all?

2014-02-14 Thread Matthias Reischenbacher
Hi, I'd like to display multiple markers with the same name on the page header. Conceptually those markers correspond to chapter titles and all chapter titles, visible on a single page, should be printed. Up until now I've used the retrieve-position attribute for showing the first or last

Re: FOP 1.1 RTF Output empty

2015-05-20 Thread Matthias Reischenbacher
Hi, RTF support is a bit broken in 1.1, see also https://issues.apache.org/jira/browse/FOP-2182 You can workaround by not using a PageSequenceMaster, so use your simple page master's name first as master-reference on the fo:page-sequence element and it should process again without errors.

Re: AW: Question about Font selection

2015-05-21 Thread Matthias Reischenbacher
Hi Markus, just found the attached file as a starting point... Matthias On 21.05.2015 09:14, markus.sticker.e...@zf.com wrote: Hi Matthias, Maybe I can build a xsl template for that. B *Von:*Matthias Reischenbacher [mailto:matthias8...@gmx.at] *Gesendet:* Donnerstag, 21. Mai 2015 13:27

Re: Question about Font selection

2015-05-21 Thread Matthias Reischenbacher
Hi Markus, I'm not sure if this can be done with the fop config file. For fallbacks to other fonts inside SVGs, I normally add a second font to the SVG text element directly. So instead of just having font-family:'Lucida sans unicode'; I automatically add another font: font-family:'Lucida

Re: part of an SVG image as link

2015-08-11 Thread Matthias Reischenbacher
Hi, as far as I know, this currently isn't possible. But there is a Patch for it, see: https://issues.apache.org/jira/browse/FOP-1572 Best regards, Matthias On 11.08.2015 04:22, Olof wrote: Hi I would like to create an internal link in the pdf document from a part of an image. The image

Re: FOP2.0 taking more time format complex script documents

2015-09-24 Thread Matthias Reischenbacher
Hi, thanks for your analysis. I've committed a fix as part of https://issues.apache.org/jira/browse/FOP-2530 Best regards, Matthias On 11.08.2015 11:36, dvineshku...@gmail.com wrote: > Hi, > > After analysis, found a bug in MultiByteFont::findGlyphIndex() method. > In FOP2.0,

Re: Linking SVG-test to Nameddest in PDF

2016-06-09 Thread Matthias Reischenbacher
Hi, as far as I know, this is currently not possible, but you could try the following patch: https://issues.apache.org/jira/browse/FOP-1648 BR, Matthias On 09.06.2016 07:09, markus.sticker.e...@zf.com wrote: > > Hi, > > > > I just trying to link form an embedded svg to the title of the next

Re: Misplaced table border using rl-tb writing mode

2016-06-08 Thread Matthias Reischenbacher
Hi, you might try this patch: https://issues.apache.org/jira/browse/FOP-2570 BR, Matthias On 08.06.2016 09:33, Maxime Bégnis wrote: > I came up with this strange behavior using using rl-tb writing mode in > a PDF output: > > in case of an horizontal merged cell in a table, the table border

Re: Another SVG does not render with Batik

2016-02-03 Thread Matthias Reischenbacher
Hi, yes, please create a JIRA bug report with a sample SVG/FO file. Thanks, Matthias On 03.02.2016 07:50, Thomas Radtke wrote: > Hi all, > > several weeks ago I reported an SVG that does render in FOP 1.0, but > doesn't in FOP 2.0. I managed to identify a clipping being the reason. > > Again, I

Re: Embed 3D pdf

2016-03-22 Thread Matthias Reischenbacher
Hi, I think you need to use the newest, still unreleased version of the FOP pdf image plugin in order to make this work. Do SVN Checkout of https://svn.apache.org/repos/asf/xmlgraphics/fop-pdf-images/trunk and make ant build. Don't forget to include the updated pdfbox/fontbox/jempbox libs

Re: Dynamically insert SVG graphics in the XML passed to FOP

2017-06-22 Thread Matthias Reischenbacher
Hi, you should try to write out the SVG Elements with the following method (instead of using a string): handler.startElement(String namespaceURI, String localName, String qName, Attributes atts) handler.endElement(String namespaceURI, String localName,

Re: Dynamically insert SVG graphics in the XML passed to FOP

2017-06-26 Thread Matthias Reischenbacher
Hi, On 24.06.2017 00:50, Pierre Caron wrote: > Thank you Matthias. I was able to generate valid SVG code with this : > > handler.startElement("svgDynamique"); > handler.startElement("http://www.w3.org/2000/svg;, "svg", "svg > width=\"20\" height=\"20\"", EMPTY_ATTS); >

Re: Strange error with the first word in figure and table titles

2018-11-21 Thread Matthias Reischenbacher
Hi Bernhard, you'll have to provide a XSL-FO fragment, so that we can help you. Probably you'll see what the problem is, as soon as you examine it yourself. Unfortunately I don't know, how the XSL-FO fragment can be dumped with Oxygen before it is converted to PDF. Best regards, Matthias On

Re: White space in FO causes PDF TOC problem

2018-11-26 Thread Matthias Reischenbacher
Hi, yes, this is an unresolved FOP bug, see also: https://issues.apache.org/jira/browse/FOP-1952 https://issues.apache.org/jira/browse/FOP-1839 Best regards, Matthias On 26.11.2018 01:21, Mark Giffin wrote: > I'm using FOP 2.3 with the DITA Open Toolkit. The tags in DITA > topics are used

Re: Set Adobe Acrobat Language

2019-06-07 Thread Matthias Reischenbacher
Hi, try to set the language attribute in the fo:root element, e.g.: BR, Matthias On 07.06.2019 17:29, Stefan Kleinbaum wrote: > Dear FOP developers, > > how can I set the document language property in adobe acrobat reader? > (Open a document > right click on "document properties" > advanced >

Re: fop-users Digest 10 Jun 2019 03:00:01 -0000 Issue 3290

2019-06-14 Thread Matthias Reischenbacher
Hi, works for me... see attachments. Matthias On 14.06.2019 17:42, Stefan Kleinbaum wrote: > Hi, > > I tried it out but unfortunately it is not working. The language field > is empty like before. > > Best > > > > -- Forwarded message -- >