Automatic text overprint patch

2009-09-30 Thread Matthias Reischenbacher
Regards, 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/PDFG

Re: Automatic text overprint patch

2009-10-01 Thread Matthias Reischenbacher
etter 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 backgr

Footnotes broken?

2009-10-22 Thread Matthias Reischenbacher
aslödkfj. Am I doing something wrong or is this feature broken? Thanks & Regards, Matthias Reischenbacher Here is the stack trace: java.lang.NullPointerException at org.apache.fop.layoutmgr.PageBreakingAlgorithm.handleFootnotes(PageBreakingAlgorithm.java:352) at org.apache.fop.layo

Re: Footnotes broken?

2009-10-25 Thread Matthias Reischenbacher
error 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: 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

Symbol and Wingdings Font support

2010-03-05 Thread Matthias Reischenbacher
ked without any 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 <> - To unsu

Re: Symbol and Wingdings Font support

2010-03-05 Thread Matthias Reischenbacher
differences in font handling between Batik 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
sense 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

EPS support broken for PDF output?

2010-03-31 Thread Matthias Reischenbacher
sing latest FOP trunk version. Are eps graphic files not supported anymore? Thanks in advance Matthias Reischenbacher - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-ma

Re: EPS support broken for PDF output?

2010-04-01 Thread Matthias Reischenbacher
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: 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 ea

Re: PNG vs JPG in performance

2010-08-13 Thread Matthias Reischenbacher
TW, inside 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 30se

Re: Strange(?) exception

2010-09-09 Thread Matthias Reischenbacher
rked around by commenting some of the new code introduced by the patch but that's not a good solution. I attached my patch in case you want to use it anyway. Regards, Matthias Reischenbacher On 09.09.2010 09:25, Maxime Bégnis wrote: Hello list, Doing some FO transformations, I get a strange

How to prevent line break when hyphenation is enabled?

2010-09-09 Thread Matthias Reischenbacher
to give it a try. Thanks & Regards, Matthias Reischenbacher http://www.w3.org/1999/XSL/Format"; hyphenate="true" language="de"> Der Bus Controller ermöglicht die Kopplung von XXX Link I/O Knoten an C⁠A⁠N⁠o⁠p⁠e⁠n. Der Bus Contro

Incorrect hyphenation of Polish language

2010-09-09 Thread Matthias Reischenbacher
& 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: 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 rendered

Re: Incorrect hyphenation of Polish language

2010-09-10 Thread Matthias Reischenbacher
So, I 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 che

Re: AW: Incorrect hyphenation of Polish language

2010-09-10 Thread Matthias Reischenbacher
zation Services 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

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. Then

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

2010-09-13 Thread Matthias Reischenbacher
why XSL-FO doesn't allow 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 f

Re: Padding-left ignored inside repeating table header

2010-11-01 Thread Matthias Reischenbacher
http://old.nabble.com/file/p30077409/bg_bug.pdf >> bg_bug.pdf >> >> I'm aware that there are other ways to move the text to the right but it >> would be nice if somebody can give me some feedback if this should be >> considered a bug. >> >>

Re: Padding-left ignored inside repeating table header

2010-11-12 Thread Matthias Reischenbacher
epeating table header. The padding-left value is ignored on the >>>> repeated >>>> table header on the next page. >>>> >>>> Test case: http://old.nabble.com/file/p30077409/bg_bug.fo bg_bug.fo >>>> PDF result file: http://old.nabble.com/f

Re: Bug 49837 - Soft Hyphen

2010-12-03 Thread Matthias Reischenbacher
o content (as in our CMS). Regards, 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 (49

Complex Script, BIDI text supported?

2011-03-09 Thread Matthias Reischenbacher
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
github.com/skynavga/fop.git. > > Regards, > 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 >>

Re: Complex Script, BIDI text supported?

2011-03-09 Thread Matthias Reischenbacher
ly for integration > into > the SVN Temp_ComplexScripts 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/

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 - > WARN

Row span and keep-togehther.within-page problem

2011-03-16 Thread Matthias Reischenbacher
ug.pdf table-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 archiv

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

2011-03-17 Thread Matthias Reischenbacher
ave not yet been able to determine why > fo:table-cell@number-rows-spanned adversely affects table breaking > across pages or how difficult it would be to rectify. > > Thanks, > > Peter > > > On Thu, Mar 17, 2011 at 1:47 AM, Matthias Reischenbacher > wrote: &g

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

2011-03-19 Thread Matthias Reischenbacher
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: > >> &g

Re: Complex Script, BIDI text supported?

2011-03-22 Thread Matthias Reischenbacher
d that right-to-left writing mode was handled by >> mirroring the CTM around the y axis, so it was setting the CTM >> incorrectly >> for the viewport area generated by block-container. In fact there is no >> relationship between WM and reference orientation (and thus CTM on

Re: Complex Script, BIDI text supported?

2011-03-22 Thread Matthias Reischenbacher
n 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 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&#

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=markup&pathrev=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 appe

Re: Complex Script, BIDI text supported?

2011-03-31 Thread Matthias Reischenbacher
45 AM, Glenn Adams mailto:gl...@skynav.com>> wrote: Thanks for uncovering these issues. Let me address them and I'll let you know when they are fixed in my GIT repo. Perhaps after that I can submit a new patch update for the SVN branch. G. 2011/3/23 Matthia

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: I'd also advice to use latest trunk because 1.0 has a bug which causes a NullPointerEx

Re: Text fill color in external SVG is not preserved

2011-06-13 Thread Matthias Reischenbacher
entry 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 Reischenb

Re: PDF encryption and PDF image extension

2011-11-16 Thread Matthias Reischenbacher
ote: 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:

Re: PDF encryption and PDF image extension

2011-11-17 Thread Matthias Reischenbacher
print 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'

Footnotes order & tables

2012-07-16 Thread Matthias Reischenbacher
r? Could anybody 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 ). Is it part of xsl fo 2.0? Best regards, Matthias Reischenbacher htt

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 applyin

Re: Upgrade to fop trunk and URI resolving

2012-07-25 Thread Matthias Reischenbacher
e base URI for fonts, you can set this in the fop-conf, we haven't created a way to set this programmatically, that was an oversight 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://

Re: Upgrade to fop trunk and URI resolving

2012-08-01 Thread Matthias Reischenbacher
have. (Though realistically, 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 Reisc

Re: Upgrade to fop trunk and URI resolving

2012-08-07 Thread Matthias Reischenbacher
ugust 2012 02:14, Matthias Reischenbacher 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 o

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
t the SVG image. Is there any reason why you're trying to use such large fonts 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

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 org.apach

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: http://xmlgraphics.apache.org/fop/1.1/pdfencryption.html#insta

Re: SVG - embedded CMYK bitmaps

2014-02-12 Thread Matthias Reischenbacher
are more 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 happ

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 cha

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: 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 s

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 *An

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, MultiByteFont::fi

Re: FOP2.0 Performance issue for PCL Delivery

2015-11-03 Thread Matthias Reischenbacher
Hi, please provide a sample FO file, that is as small as possible, but big enough to show the performance issue. Thanks, Matthias On 27.10.2015 10:05, sripathi wrote: > Hi All, > > Fop2.0 is taking huge time to format PCL document comparing to FOP0.20.5. > Time taking is more than 20 times in

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 contain

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 for

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: 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 21

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 i

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 -- >