DO NOT REPLY [Bug 51977] a created long pdf document is not readable
https://issues.apache.org/bugzilla/show_bug.cgi?id=51977 Glenn Adams changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution||INVALID --- Comment #6 from Glenn Adams 2012-04-01 15:39:27 UTC --- resolved invalid due to lack of information (FO input file) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 51977] a created long pdf document is not readable
https://issues.apache.org/bugzilla/show_bug.cgi?id=51977 --- Comment #5 from abdelsalam.ghaza...@rle.de 2012-03-12 07:56:15 UTC --- I solved the problem by down scaling the pdf size to 5080mm. With the following 2 lines the pdf is scaled down to 5080mm trans.addTranscodingHint(PDFTranscoder.KEY_MAX_WIDTH, new Float(14400)); trans.addTranscodingHint(PDFTranscoder.KEY_MAX_HEIGHT, new Float(14400)); The problem is that fop doesn't support the pdf version 1.6. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 51977] a created long pdf document is not readable
https://issues.apache.org/bugzilla/show_bug.cgi?id=51977 --- Comment #4 from Luis Bernardo 2012-03-07 23:24:59 UTC --- this is odd... the PDF appears as a white sheet in Adobe Reader (Mac 10.1.2), but the content is visible in Preview (Mac OS X viewer) and in Evince (Linux) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 51977] a created long pdf document is not readable
https://issues.apache.org/bugzilla/show_bug.cgi?id=51977 --- Comment #3 from Luis Bernardo 2012-03-07 16:07:49 UTC --- what viewer are you using? I can open the file with evince and see the contents without problem (it does take a bit to load though). -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 51977] a created long pdf document is not readable
https://issues.apache.org/bugzilla/show_bug.cgi?id=51977 --- Comment #2 from abdelsalam.ghaza...@rle.de 2011-10-06 13:18:39 UTC --- (In reply to comment #1) > Can you please attach a XSL-FO, there is nothing in PDF that demonstrate any > issue. > A reproducible test-case will help. i'm creating the pdf file from a svg file by using fop 0.95 (PDFTranscoder) in java. therefore ther is no XSL-FO file. here is my function: public void savePDF(Document document, String filename, boolean embedFonts, final File fontsDir) throws Exception, LegendProgramException { if (document == null) { LegendProgramException svgEx = new LegendProgramException("Exception text.", (short) 62); svgEx.setFilename(filename); throw svgEx; } if (filename.endsWith(".svg")) { filename = filename.substring(0, filename.length() - 3) + "pdf"; } // Configure the transcoder PDFTranscoder trans = new PDFTranscoder(); trans.addTranscodingHint(PDFTranscoder.KEY_PIXEL_UNIT_TO_MILLIMETER, new Float(25.4f / (float) utils.getDpi())); // embedding the fonts if (embedFonts) { this.embededFonts(trans, fontsDir, filename); } TranscoderInput input = new TranscoderInput((Document) document); OutputStream ostream = new FileOutputStream(filename); TranscoderOutput output = new TranscoderOutput(ostream); trans.transcode(input, output); ostream.flush(); ostream.close(); } -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 51977] a created long pdf document is not readable
https://issues.apache.org/bugzilla/show_bug.cgi?id=51977 Pascal Sancho changed: What|Removed |Added Status|NEW |NEEDINFO OS/Version||All --- Comment #1 from Pascal Sancho 2011-10-06 13:09:33 UTC --- Can you please attach a XSL-FO, there is nothing in PDF that demonstrate any issue. A reproducible test-case will help. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.