RE: Getting bold fonts with FOP 2.0 and OpenType CFF fonts

2015-07-07 Thread A Gian
Can you provide a copy of your xconf and fo file ?
Thanks ,Thanasis

 Date: Mon, 6 Jul 2015 13:44:25 -0500
 From: pgrosso-consult...@austin.rr.com
 To: fop-users@xmlgraphics.apache.org
 Subject: Getting bold fonts with FOP 2.0 and OpenType CFF fonts
 
 I'm producing PDF using FOP, and I need to use some
 OpenType CFF fonts, so I understand I need to use 2.0.
 
 [I am using FOP with the DITA-OT embedded in Oxygen
 on a Windows 7 machine.  I was using FOP 1.1, and the
 OpenType CFF fonts were (unsurpisingly) not getting
 used.]
 
 I've downloaded and installed 2.0 and was successful
 in producing the desired PDF and getting results using
 the normal versions of my OpenType CFF fonts.  However,
 I was not getting bold (or italics).  Rather, I am getting
 messages such as:
 
   Font Stempel Garamond LT Std,normal,700 not found.
   Substituting with Stempel Garamond LT Std,normal,400.
   Font Gill Sans Std,normal,700 not found.
   Substituting with Gill Sans Std,normal,400.
 
 I have the various fonts installed on my machine, and I
 am just using auto-detect in fop.xconf.
 
 In my Fonts directory, there is a Gill Sans Std folder
 containing the various GillSansStd*.otf files.  In other
 document processing applications, I can see all the various
 flavors of Gill Sans Std, so I'm pretty sure they are
 properly installed.  I am getting Gill Sans Std normal in
 my output, but (per the error message) not bold.
 
 What do I need to do the have FOP 2.0 use the bold and
 italic versions of these fonts?
 
 paul
 
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 
  

RE: Barcode generation with FOP 1.1

2015-01-16 Thread A Gian
Hello Martin,by using the project you provided I was able to  reproduce the 
issue. It might be that you came across on a open issue 
https://issues.apache.org/bugzilla/show_bug.cgi?id=49827
Thanks,Thanasis

 Date: Thu, 15 Jan 2015 08:55:49 -0700
 From: klapec.mar...@hotmail.com
 To: fop-users@xmlgraphics.apache.org
 Subject: Barcode generation with FOP 1.1
 
 Hello,
 I am strugelling with barcode generation using barcode4j lib. Everything is
 fine with 0.95 but when I switch it to 1.1 I get error message (see below)
 and the pdf document is missing the barcode. Could someone help please? I've
 attached simple eclipse project where is my test. (import like Maven
 project). Thank you for help. 
 
 Great Regards
 Martin
 
 LINK to project: 
 https://dl.dropboxusercontent.com/u/41716864/barcode%20and%20fop.zip
 https://dl.dropboxusercontent.com/u/41716864/barcode%20and%20fop.zip  
 
 LOG:
 SEVERE: Image not available. URI: (instream-object). Reason:
 org.apache.xmlgraphics.image.loader.ImageException: The file format is not
 supported. No ImagePreloader found for null (No context info available)
 org.apache.xmlgraphics.image.loader.ImageException: The file format is not
 supported. No ImagePreloader found for null
   at
 org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:180)
   at
 org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingDocument(AbstractIFPainter.java:296)
   at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:203)
   at
 org.apache.fop.render.intermediate.IFRenderer.renderForeignObject(IFRenderer.java:1290)
   at
 org.apache.fop.render.AbstractRenderer.renderInlineViewport(AbstractRenderer.java:820)
   at
 org.apache.fop.render.AbstractPathOrientedRenderer.renderInlineViewport(AbstractPathOrientedRenderer.java:785)
   at
 org.apache.fop.render.intermediate.IFRenderer.renderInlineViewport(IFRenderer.java:866)
   at
 org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:678)
   at
 org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:913)
   at
 org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:643)
   at
 org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:561)
   at
 org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:598)
   at
 org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:980)
   at
 org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546)
   at
 org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:451)
   at
 org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:738)
   at
 org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:428)
   at
 org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:352)
   at
 org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:299)
   at
 org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:748)
   at
 org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:273)
   at
 org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:238)
   at
 org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:597)
   at 
 org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123)
   at
 org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:312)
   at
 org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:191)
   at
 org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:115)
   at
 org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267)
   at
 org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:128)
   at
 org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:347)
   at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:181)
   at
 org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:262)
   at
 org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:707)
   at
 org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
   at
 org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:682)
   at
 org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
   at
 org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:177)
   at
 org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2336)
   at
 

RE: AW: Searching hyphenated variablenames in PDF (with Acrobat)

2015-01-15 Thread A Gian
Hello,I do not know if this is helpful, but i could only reproduce the issue 
with  acrobat reader 11.0.10  on windows. When tried different reader (foxit) 
the word Jesus_latschenhersteller_dachverbandsvorsitzender was found.Thanasis
.
 From: markus.sticker.e...@zf.com
 To: fop-users@xmlgraphics.apache.org
 Subject: AW: Searching hyphenated variablenames in PDF (with Acrobat)
 Date: Thu, 15 Jan 2015 09:16:29 +
 
 Hi,
 
 sorry, but the second files was demaged.
 For a better understanding what I want to do 
 I did a screen capture: https://www.youtube.com/watch?v=3kjofqFxx7o
 Maybe that will help.
 
 Best regards
 
 Markus
 
 -Ursprüngliche Nachricht-
 Von: Pascal Sancho [mailto:psancho@gmail.com] 
 Gesendet: Donnerstag, 15. Januar 2015 09:21
 An: fop-users@xmlgraphics.apache.org
 Betreff: Re: Searching hyphenated variablenames in PDF (with Acrobat)
 
 Hi,
 
 tried on same version but win, with same result as Luis. Same result with 
 Firefox buitin reader:
 I get 1 occurrence for both search words
 
 2015-01-14 23:11 GMT+01:00 Luis Bernardo lmpmberna...@gmail.com:
 
  There was only one file attached Also, I was not able to reproduce 
  the issue (maybe because I don't understand what you describe) -- I 
  used the Mac version of Adobe Reader 11.0.10. Can you clarify? What is 
  the word you are searching for?
 
 
  On 1/14/15 6:26 PM, markus.sticker.e...@zf.com wrote:
 
  Hi,
 
 
 
  I wonder about the different behavior with these two files in the 
  attachment.
 
  The part I’m dealing with looks nearly the same, but as I try to 
  search or copy the text parts I get different results.
 
 
 
  At first I tried to seach the some words:
 
  Kraftfahrzeugsteuer à 1 hit
 
  Kraft_fahrzeugsteuer à 1 hit
 
  Jesuslatschenherstellerdachverbandsvorsitzender à 1 hit
 
  Jesus_latschenhersteller_dachverbandsvorsitzender à 0 hits 
 
 
 
  So why does the last one do not work?
 
  Kind regards
 
  Markus Sticker
 
 
 
 
 
 
 
 --
 pascal
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 
 B�CB��[��X��ܚX�KK[XZ[���
]\�\��][��X��ܚX�P[ܘ\X�˘\X�K�ܙ�B��܈Y][ۘ[��[X[��K[XZ[���   
  ]\�\��Z[[ܘ\X�˘\X�K�ܙ�B�
  

RE: AW: AW: Searching hyphenated variablenames in PDF (with Acrobat)

2015-01-15 Thread A Gian






My findings were based on the pdf file that Markus provided on his original 
post.
Thanasis

From: markus.sticker.e...@zf.com
To: fop-users@xmlgraphics.apache.org
Subject: AW: AW: Searching hyphenated variablenames in PDF (with Acrobat)
Date: Thu, 15 Jan 2015 09:51:37 +









You tried the sample I send yesterday?
 


Von: A Gian [mailto:a.yan...@hotmail.com]


Gesendet: Donnerstag, 15. Januar 2015 10:35

An: fop-users@xmlgraphics.apache.org

Betreff: RE: AW: Searching hyphenated variablenames in PDF (with Acrobat)


 

Hello,

I do not know if this is helpful, but i could only reproduce the issue with  
acrobat reader 11.0.10  on windows. When tried different reader (foxit) the 
word Jesus_latschenhersteller_dachverbandsvorsitzender
 was found.


Thanasis

.

 From: 
markus.sticker.e...@zf.com

 To: fop-users@xmlgraphics.apache.org

 Subject: AW: Searching hyphenated variablenames in PDF (with Acrobat)

 Date: Thu, 15 Jan 2015 09:16:29 +

 

 Hi,

 

 sorry, but the second files was demaged.

 For a better understanding what I want to do 

 I did a screen capture: https://www.youtube.com/watch?v=3kjofqFxx7o

 Maybe that will help.

 

 Best regards

 

 Markus

 

 -Ursprüngliche Nachricht-

 Von: Pascal Sancho [mailto:psancho@gmail.com]


 Gesendet: Donnerstag, 15. Januar 2015 09:21

 An: fop-users@xmlgraphics.apache.org

 Betreff: Re: Searching hyphenated variablenames in PDF (with Acrobat)

 

 Hi,

 

 tried on same version but win, with same result as Luis. Same result with 
 Firefox buitin reader:

 I get 1 occurrence for both search words

 

 2015-01-14 23:11 GMT+01:00 Luis Bernardo lmpmberna...@gmail.com:

 

  There was only one file attached Also, I was not able to reproduce 

  the issue (maybe because I don't understand what you describe) -- I 

  used the Mac version of Adobe Reader 11.0.10. Can you clarify? What is 

  the word you are searching for?

 

 

  On 1/14/15 6:26 PM, markus.sticker.e...@zf.com wrote:

 

  Hi,

 

 

 

  I wonder about the different behavior with these two files in the 

  attachment.

 

  The part I’m dealing with looks nearly the same, but as I try to 

  search or copy the text parts I get different results.

 

 

 

  At first I tried to seach the some words:

 

  Kraftfahrzeugsteuer à 1 hit

 

  Kraft_fahrzeugsteuer à 1 hit

 

  Jesuslatschenherstellerdachverbandsvorsitzender à 1 hit

 

  Jesus_latschenhersteller_dachverbandsvorsitzender à 0 hits 

 

 

 

  So why does the last one do not work?

 

  Kind regards

 

  Markus Sticker

 

 

 

 

 

 

 

 --

 pascal

 

 -

 To unsubscribe, e-mail: 
fop-users-unsubscr...@xmlgraphics.apache.org

 For additional commands, e-mail: 
fop-users-h...@xmlgraphics.apache.org

 

 B�CB��[��X��ܚX�KK[XZ[
���

]\�\��][��X��ܚX�P‑[ܘ\X�˘\X�K�ܙ�B��܈Y][ۘ[��[X[��K[XZ[
���

]\�\��Z[‑[ܘ\X�˘\X�K�ܙ�B�






  

RE: Font metric file loaded issue.

2015-01-14 Thread A Gian
Hello, can you please provide  more information, as I find your message kind of 
confusing. Is there an apache fop jira ticket or an old post, describing the 
issue you are refering to (and if yes can you provide the link )?  
Thanks,Thanasis  

 To: fop-users@xmlgraphics.apache.org
 From: asenthil...@gmail.com
 Subject: Font metric file loaded issue.
 Date: Wed, 14 Jan 2015 09:10:48 +
 
  After very long search we got this solution from this site.
 
 Thanks you very much
 
 
 font metrics-file=IntroRegular.xml kerning=yes embed-
 file=IntroRegular.ttf
 font-triplet name=Intro style=normal weight=normal/
 font-triplet name=Intro style=normal weight=bold/
 
   /font  
   font metrics-file=IntroBold.xml kerning=yes embed-
 file=IntroBold.ttf
 font-triplet name=IntroBold style=normal weight=bold/
 
   /font
 
 code snniipet:
 
 Driver driver = new Driver();  
  Options options = new Options();

 options.loadUserconfiguration(this.getClass().getResourceAsStream(/fo
 nt/userconfig.xml));
  URL url = this.getClass().getResource(/font/userconfig.xml);
  String extForm = url.toExternalForm(); 
  Configuration.put(baseDir,extForm);
  Configuration.put(fontBaseDir,extForm);
 
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 
  

RE: Window getting displayed after the PDF is rendered.

2014-12-19 Thread A Gian
It would be helpful if you could provide more information. What version of fop 
are you using ?Are you using embed Fop? Can you provide a minimal fo file (as 
this is the formal input of Fop) along with the fop.xconf file to  replicate 
the issue?Thanasis

Date: Fri, 19 Dec 2014 18:04:24 +0530
Subject: Window getting displayed after the PDF is rendered.
From: rajasheka...@gmail.com
To: fop-users@xmlgraphics.apache.org

Hi,

I'm using Apache FOP library to generate a PDF using an XML file and an 
XSLT file. I'm facing an issue where the library is displaying an empty window 
while it renders the PDF and then closes the window. This window display is 
annoying and please guide me in avoiding this unwanted window. Thanks for your 
help.

Thanks,
Raj.
  

RE: RTF list numbering incorrect

2014-11-02 Thread A Gian
Hello,I can reproduce the issue in  trunk, fop 1.0 and fop 1.1 using a simple 
fo (see attachments). I am not really familiar with the rtf syntax but i  find 
it interesting, that the correct is correct when opened with wordpad and not 
with microsoft office 2010.Thanasis

From: cy...@hrsg.ca
To: fop-users@xmlgraphics.apache.org
Subject: RTF list numbering incorrect   
Date: Thu, 30 Oct 2014 16:06:16 +

Hi all, I’m using Fop trunk (built on September,2014) to convert FO to RTF. I 
have a numbered list in the FO , it worked fine when I convert it into PDF, but 
when I output it to RTF all numbered as ‘1’, with no increment. Result in 
PDF:1. Greet the candidate and introduce yourself, giving your name and 
position within the organization.2. Confirm the job for which the candidate is 
being considered.3. Explain the purpose of the interview: to gather specific 
information about4. Describe the interview plan Result in RTF(open in Word 
2010) 1.Greet the candidate and introduce yourself, giving your name and 
position within the organization.1.Confirm the job for which the candidate 
is being considered.1.Explain the purpose of the interview: to gather 
specific information about1.Describe the interview plan.   Data in xml 
format content  item type=num_list 
list-num   list-item
  data![CDATA[Greet the candidate and introduce yourself, giving your name 
and position within the organization.]]/data   
/list-item   list-item  
data![CDATA[Confirm the job for which the candidate is being 
considered.]]/data   /list-item
   list-item  data![CDATA[Explain the 
purpose of the interview: to gather specific information about]]/data
   /list-item   list-item   
   data![CDATA[Describe the interview plan.  ]]/data  
 /list-item /list-num   
   /item   /content I’ve searched mailing list and find someone else 
had same issue back in March, 2007. http://marc.info/?t=11741179222r=1w=2 
 A few bugs may related to this 
issue.https://issues.apache.org/jira/browse/FOP-1292  // still 
openhttps://issues.apache.org/jira/browse/FOP-1331 // closed Could anyone shed 
some light on this, please? Thank you, Chen Yang 
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org  
  

numList.fo
Description: Binary data

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

RE: Loading fonts problem

2014-08-04 Thread A Gian
Hello,
 it would be easier for people to help you if you provide more information 
(configuration,  fo and output file ).  
http://xmlgraphics.apache.org/fop/0.95/fonts.html#registerhave some info 
about font configuration in case you have not seen it already.
Thanks in advance 
Thanasis
 
 Date: Mon, 4 Aug 2014 05:07:18 -0700
 From: klapec.mar...@hotmail.com
 To: fop-users@xmlgraphics.apache.org
 Subject: Loading fonts problem
 
 Hello,
 I have problems with loading fonts and the default fonts are used instead. 
 I´ve generated fonts metrics using TTFReader which is in FOP0.95. Then I
 paste to our application and configured paths to it. 
 
 renderer mime=image/png
 
 fonts
 
 font-triplet name=Arial style=normal
 weight=normal/
 ...
 
 but everytime I run document generation from our application I always found
 all fonts from config file in op-fonts.cache which means the fonts were not
 loaded and wont be loaded againg.  
 
 I would like to ask if there a way how to get more information about the
 problem? Some extended logging? Because I do not get what is wrong with it.
 
 Thank you for your response.
 
 Great Regards
 MartinKl 
 
 
 
 --
 View this message in context: 
 http://apache-fop.1065347.n5.nabble.com/Loading-fonts-problem-tp41009.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: Issue with large words in the text block

2014-06-13 Thread A Gian
Hi,
I think you should take a look  here 
http://xmlgraphics.apache.org/fop/faq.html#cells-overflow 
If the problem persists it would be easier for people to help you if you 
provide more information (fop version,  fo and output file (pdf.ps etc) file 
demonstrating the issue.
Thanasis
 
 Date: Thu, 12 Jun 2014 06:53:20 -0700
 From: yball...@opentext.com
 To: fop-users@xmlgraphics.apache.org
 Subject: Issue with large words in the text block
 
 I am new user to FOP...
 
 I have an fo:block element in fo:table-cell which is in fo:table-row of a
 fo:table. This table has 6 columns,  obviously column width is small. Now,
 when a *Word* in the block is larger than the block it is overlapping the
 next block. Give me some attribute value or any other solution so that the
 bigger word breaks into the new line...Thanks in advance 
 
 the part of My fo file XML is : 
 
 fo:table-row
  fo:table-cell border-style=solid  border-width=0.1mm
 fo:block text-align=center font-size=10pt
 margin=0pt7:12/fo:block
  /fo:table-cell
 /fo:table-row
 
 
 
 --
 View this message in context: 
 http://apache-fop.1065347.n5.nabble.com/Issue-with-large-words-in-the-text-block-tp40773.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: Bookmarks, metadata stripped in postscript output

2014-04-09 Thread A Gian
According to http://xmlgraphics.apache.org/fop/trunk/metadata.html   
Currently, XMP support is only available for PDF output. . However, It could 
always   be the case  that the webpage has not been updated. It is would be 
helpful, if you could provide an example fo file and output file.
Thanasis
 
 From: joe...@gmail.com
 Date: Tue, 8 Apr 2014 14:42:54 -0400
 Subject: Bookmarks, metadata stripped in postscript output
 To: fop-users@xmlgraphics.apache.org
 
 Hi all,
 
 Using FOP trunk, I noticed that when running the postscript output
 through Adobe Distiller (or opening the .ps file on the Mac
 Preview.app), the resulting file lacks the bookmarks and metadata that
 I provided in my original .fo file's fo:declarations/x:xmpmeta and
 fo:bookmark-tree.  I haven't worked with postscript files much at all,
 and I'm definitely new to the postscript generated by FOP, but is this
 to be expected?
 
 Thanks,
 Joe
 
 p.s. Trunk is really working well for me - breezing through files that
 1.1 froze on.  I'm curious: Is there a plan to make a new stable
 release anytime soon?
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 
  

RE: Problem with text generated in Pdf using FOP

2014-03-21 Thread A Gian
I am not really familiar with DocBook, but I think you need to provide more 
information about the issue (ex fop configuration file , fo file and pdf 
output) to make it easier for people to reproduce  it, and  help you.
Thanasis  
 
Date: Fri, 21 Mar 2014 12:04:25 +0530
Subject: Problem with text generated in Pdf using FOP
From: anmolgupta11...@gmail.com
To: fop-users@xmlgraphics.apache.org

Hi,
I am using Docbook 5 and Fop 1.1 to generate my pdfs. So the problem that i am 
facing is as follows:I have included a common file in all my pdfs. But in some 
of them(not all pdfs) the text crosses footer section.
Earlier i thought it might be the xsl stylesheet issue, but it is not happening 
in all the pdfs and i also check with the docbook forum. It seems FOP utility 
is going somewhere wrong for few pdfs. 
Is there a way to fix this issue which might be more generic and not particular 
to the a particular pdf,
Thanks and Regards,Anmol  

RE: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread A Gian






Yes Registar man is correct !
 if your output is pdf, you can't use the renderer/tif  I mentioned earlier. 
However, you can remove the pdf image compression by using something similar to 
( according to  what your ultimate goal is ) : renderer 
mime=application/pdf  filterList type=image
valuenull/value  /filterList/renderer  /renderers  By using 
it on a example pdf with a   simple tif (with LZW comp), the pdf's size went up 
from  40 kb  to more than 600kb.Thanasis
 
 Date: Tue, 28 Jan 2014 12:52:12 +0100
 From: szea...@gmail.com
 To: fop-users@xmlgraphics.apache.org
 Subject: Re: Changes in pdf tiff compression configuration has no effect on 
 size of pdf generated
 
 Hi!
 
 Some more information from how to compress images in PDF can see here: 
 http://xmlgraphics.apache.org/fop/1.1/configuration.html#pdf-renderer
 
 Bye, Szeak
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 


  

RE: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-28 Thread A Gian
Ignore my previous message I haven't seen your last email when posted.
Thanasis

 
Date: Tue, 28 Jan 2014 14:10:35 +0100
Subject: Re: Changes in pdf tiff compression configuration has no effect on 
size of pdf generated
From: valentina.cu...@tp.rs
To: fop-users@xmlgraphics.apache.org

Thanks!
I wasn't exactly sure what should be configured in the pdf rendering settings. 
(The goal is to have no compression applied to tiff images which are included 
in pdf output), so I tried some possible changes, listed below.

My raw images are about 200KB.The generated pdf file (images - tiff, png + a 
bit of text) is 3MB.
The good thing is that now the images are not compressed (I'm assuming that 
occurs since the pdf is now larger, the effect comes from here: filterList 
type=imagevaluenull/value/filterList

However, the interesting part is that the pdf file is now much larger than the 
size of the original images. Is this an expected effect?

=== Current configuration ===

renderer mime=application/pdf  filterList!-- provides 
compression using zlib flate (default is on) --valueflate/value
  !-- encodes binary data into printable ascii characters (default 
off) This provides about a 4:5 expansion of data size --
!-- valueascii-85/value --
  !-- encodes binary data with hex representation (default off)
 This filter is not recommended as it doubles the data size --!-- 
valueascii-hex/value --
  /filterList

=== ATTEMPTED CONFIGURATION ===
renderer mime=application/pdf  filterList
 valueflate/value
  /filterList
  filterList type=image
valuenull/value
  /filterList



Could you let me know if there are any other settings I could try


2014-01-28 Registar Man szea...@gmail.com

Hi!



The image/tiff renderer configuration settings only works when you generate 
tiff output not pdf.

For PDF rendering settings you must configure in the pdf renderer section.



Bye, Csaba



-

To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org

For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org




  

RE: Changes in pdf tiff compression configuration has no effect on size of pdf generated

2014-01-26 Thread A Gian






Hello,
Which Fop-version are you using  (!.0 1,1 trunk etc)? Can you provide the 
configuration and  xsl-fo file you  have been using so far  to generate the 
pdf? Have you  tried out this setting 
http://xmlgraphics.apache.org/fop/1.1/output.html#bitmap ? The more information 
you provide the easier would be for people to help you out.
Thanks,
Thanasis

Date: Sat, 25 Jan 2014 16:55:22 +0100
Subject: Changes in pdf tiff compression configuration has no effect on size of 
pdf generated
From: valentina.cu...@tp.rs
To: fop-users@xmlgraphics.apache.org

Hi,

I am trying to remove PDF compression of tiff images. I tried to change all the 
PDF compression settings for generating PDF with tiff images. Changes in 
configuration file did not have any effect on size of the PDF. What should I do?

Thanks,Valentina

  

RE: External-Graphics PNG Output

2013-12-04 Thread A Gian
Hello Chris,
which fop version  are you  using  ?  1.1? Also, if you could provide all the 
necessary resources in order to reproduce the problem (such as  fo file, images 
etc ) it would be easier for other people to help you.
Thanasis 
 
From: chris.cartli...@adgistics.com
Date: Wed, 4 Dec 2013 12:04:47 +
Subject: External-Graphics  PNG Output
To: fop-users@xmlgraphics.apache.org

Hi Guys,
 I have a simple fo document that includes a PDF as an external-graphic. When 
this is rendered as a PDF the quality is great as you would expect. However, 
when I run this through the standard Bitmap renderer to produce a PNG the 
quality is awful and the image is pixelated..
 Any idea? 
 







This
 message and any attachments transmitted with it are confidential and 
intended solely for the use of the addressee(s). If you are not the 
addressee, you may not disseminate, distribute or copy this message and 
you should destroy it and kindly notify the sender by return.  All 
opinions and conclusions in this message are solely those of the author 
and should be understood as neither given nor endorsed by Adgistics 
Limited unless specifically stated. Whilst we take reasonable 
precautions to ensure this message is free of viruses, opening and using
 this message is at the risk of the recipient.


Adgistics Limited: Registered in England and Wales, Company Number: 
3859657, Registered Office 5 Copper Row, Tower Bridge Piazza, London SE1
 2LH. Vat Registered Number: 752019256.
  

RE: [PATCH] Re: Incorrect leaders at FOP example

2013-11-14 Thread A Gian



It seems to me that Alexey's patch is the correct way to solve the issue 
(adding text-align=justify is also mentioned in  FOP's frequent asked 
questions http://xmlgraphics.apache.org/fop/faq.html#leader-expansion   ).  
From: sti...@att.net
To: fop-users@xmlgraphics.apache.org
CC: ognjen.d.blagoje...@gmail.com; fop-...@xmlgraphics.apache.org
Subject: [PATCH] Re: Incorrect leaders at FOP example
Date: Thu, 14 Nov 2013 11:16:24 -0800

[CC'ed fop-dev - please review/commit the patch]
 
Hi Ognjen,
 
On Thursday, November 14, 2013 09:09:21 AM Ognjen Blagojevic wrote:
 Alexey,
 
 On 13.11.2013 21:46, Alexey Neyman wrote:
  On Wednesday, November 13, 2013 03:21:47 am Ognjen Blagojevic wrote:
  I need to create leaders for TOC. I started with researching FOP
  examples (examples/fo/basic/leaders.fo), but the generated PDF doesn't
  contain expected results.
 
 (...)
 
  Are my expectations too high?
  
  Hard to say, since you didn't attach neither sample FO code, nor the
  resulting PDF. Leaders work for me with 1.1 on multiple Java versions,
  1.6.x and 1.7.x.
 Thank you for taking look at this.
 
 I was testing with unmodified leader.fo example which is part of the FOP
 distro. Here is FO file based on that example, and the resulting PDF. I
 used FOP 1.1, Oracle JDK 1.7.0_40-b43 on Windows 7 64-bit (also other
 FOP versions and OSes, but the result is always the same).
 
It seems the leader.fo example lacks the text-align-last=justify property on 
the enclosing block. Because of that, FOP assumes the same alignment (start) 
on the line containing the leader and does not extend the leader to the end 
boundary of the reference area. See the attached diff - this makes the leaders 
work fine.
 
FOP developers, could someone review/commit the attached diff?
 
Regards,
Alexey.
 
 
  Here's an example fo:leader I am using:
fo:leader padding-left=4pt padding-right=4pt

  leader-pattern=dots leader-pattern-width=3pt
  leader-alignment=reference-area
  keep-with-next.within-line=always/
 
 The only difference I notice to FO file I attached are attributes
 keep-with-next.within-line, padding-left and padding-right. Adding them
 to attached example does not solve the problem in the resulting PDF.
 
 -Ognjen

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
  

RE: force-page-count=even dropping data

2013-10-20 Thread A Gian
you need to create an account in  apache jira and then following  the   
https://issues.apache.org/jira/browse/FOP-1976 link click  the plus symbol in 
the attachment section. After that, you just need to select the file you want 
to upload and add a brief description. If you do not have any objections I can 
do it for you.
Thanasis  
Date: Sun, 20 Oct 2013 07:05:16 -0600
From: rsarg...@xmission.com
To: fop-users@xmlgraphics.apache.org
Subject: Re: force-page-count=even dropping data

I followed the jira link but I did not see a place where I could attach 
this much smaller fo. Please advise or forward.
 
I did notice that this fo works correctly in FOP 1.0 (ubuntu package) 
placing the table alone on the fourth page, but fop1.1rc1(.local-edits) 
does not.
 
 
 
 
On 10/11/2013 08:32 AM, Pascal Sancho wrote:
 Hi,

 This seems to be related to open issue [1].
  From what I read in comments, there is a lake of test file, so your
 xsl-fo should help.

 [1] https://issues.apache.org/jira/browse/FOP-1976

 2013/10/9 Rob Sargent rsarg...@xmission.com:
 Running the attached, admittedly rather large, fo through fop 1.1 drops the
 tabular found beginning at line 135.

 Simply changing the force-page-count value on line 61 from even to
 no-force will then generate the tabular data.

 I believe it requires at least 3 pages to get into this situation.  A
 skeletal one page attempt failed to produce the (un)desired affect. I have
 not yet tried 5 or greater pages of content.

 I suspect it may also require that the fourth page have only the tabular
 data, but my tests are inconclusive.


 I would really appreciate confirmation or contradiction from the group.

 Thanks

 rjs







 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


 

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org