Exception while using Ubuntu Mono font
Hi, I am using Apache FOP 2.0, and try to use the Ubuntu Mono font. However, Apache FOP can't embed this font, and I see this exception: Unable to load font file: file:/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf. Reason: java.lang.ArrayIndexOutOfBoundsException The version of the Ubuntu font file is 0.8 (latest). Is this a known problem? Should I file a bug? And if so, in which package should the bug be filed? thanks, -- hrj - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: Exception while using Ubuntu Mono font
Log a bug on Jira with the details of how to reproduce the issue (like you have below) and we'll look at investigating and fixing it when possible. Thanks, Robert Date: Wed, 1 Jul 2015 14:22:52 +0200 From: szea...@gmail.com To: fop-users@xmlgraphics.apache.org Subject: Re: Exception while using Ubuntu Mono font 2015-06-30 22:31 keltezéssel, hrj írta: Hi, I am using Apache FOP 2.0, and try to use the Ubuntu Mono font. However, Apache FOP can't embed this font, and I see this exception: Unable to load font file: file:/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf. Reason: java.lang.ArrayIndexOutOfBoundsException The version of the Ubuntu font file is 0.8 (latest). Is this a known problem? Should I file a bug? And if so, in which package should the bug be filed? thanks, Hi, I have the same problem. I use another mono font type yet. Bye - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: problem to import TIFF to produce PDF doc
Import TIFF to produce PDF doc is of same request as convert TIFF to PDF doc. For convert tiff to PDF doc, it's easy to be achieved by using a TIFF to PDF converting control http://www.rasteredge.com/software/tiff-pdf-converter/ . I believe it can help you solve issues. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/problem-to-import-TIFF-to-produce-PDF-doc-tp3342p42503.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: How to load tiff images successfully in PDF
You may means you need to convert Tiff to PDF. I just found such a resource that must be helpful to you: Convert TIFF to PDF in .net application http://www.rasteredge.com/software/tiff-pdf-converter/ -- View this message in context: http://apache-fop.1065347.n5.nabble.com/How-to-load-tiff-images-successfully-in-PDF-tp17746p42502.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Exception while using Ubuntu Mono font
2015-06-30 22:31 keltezéssel, hrj írta: Hi, I am using Apache FOP 2.0, and try to use the Ubuntu Mono font. However, Apache FOP can't embed this font, and I see this exception: Unable to load font file: file:/usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf. Reason: java.lang.ArrayIndexOutOfBoundsException The version of the Ubuntu font file is 0.8 (latest). Is this a known problem? Should I file a bug? And if so, in which package should the bug be filed? thanks, Hi, I have the same problem. I use another mono font type yet. Bye - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: [FOP] Watermark does not overlay over text
Hi Puja, Put the block-container into the body region after the text to overlay. FOP renders block-container's in the order it encounters them in the XXSL-FO. region-* are always rendered before the body, so the body contents will always overlay any block-containers placed in region-* Thanks, Chris On 30/06/2015 15:13, Puja Jain wrote: I’m trying to overlay a watermark over text by placing the watermark in fo:region-after as per the FOP documentation in https://xmlgraphics.apache.org/fop/0.95/output.html. But the watermark is always rendered under the text. How can I get the watermark to overlay over the text? Here’s the code snippet: ?xml version=1.0? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=A4 margin-top=1.5cm margin-bottom=1.5cm margin-left=1.25cm margin-right=1cm fo:region-body / fo:region-after extent=11in/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=A4 fo:static-content flow-name=xsl-region-after fo:block-container position=absolute top=80px left=0px fo:block display-align=center font-weight=bold font-size=40pt color=red”Watermark /fo:block /fo:block-container /fo:static-content fo:flow flow-name=xsl-region-body font-size=20pt fo:block-container fo:block margin-top=0pxThis text should appear under the watermark /fo:block /fo:block-container /fo:flow /fo:page-sequence Thanks, Puja - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org