[jira] [Created] (FOP-2240) [PATCH] PDF docs missing xconf encryption
simon steiner created FOP-2240: -- Summary: [PATCH] PDF docs missing xconf encryption Key: FOP-2240 URL: https://issues.apache.org/jira/browse/FOP-2240 Project: Fop Issue Type: Bug Reporter: simon steiner Attachments: pdfdoc.patch xconf info not in http://xmlgraphics.apache.org/fop/trunk/pdfencryption.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FOP-2240) [PATCH] PDF docs missing xconf encryption
[ https://issues.apache.org/jira/browse/FOP-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2240: --- Attachment: pdfdoc.patch [PATCH] PDF docs missing xconf encryption - Key: FOP-2240 URL: https://issues.apache.org/jira/browse/FOP-2240 Project: Fop Issue Type: Bug Reporter: simon steiner Attachments: pdfdoc.patch xconf info not in http://xmlgraphics.apache.org/fop/trunk/pdfencryption.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FOP-2240) [PATCH] PDF docs missing xconf encryption
[ https://issues.apache.org/jira/browse/FOP-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13637964#comment-13637964 ] Chris Bowditch commented on FOP-2240: - Hi Simon, Thanks for the patch. What about encryption-length? Did you check that could be specified in the fop.xconf file. Thanks, Chris [PATCH] PDF docs missing xconf encryption - Key: FOP-2240 URL: https://issues.apache.org/jira/browse/FOP-2240 Project: Fop Issue Type: Bug Reporter: simon steiner Attachments: pdfdoc.patch xconf info not in http://xmlgraphics.apache.org/fop/trunk/pdfencryption.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FOP-2240) [PATCH] PDF docs missing xconf encryption
[ https://issues.apache.org/jira/browse/FOP-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2240: --- Attachment: (was: pdfdoc.patch) [PATCH] PDF docs missing xconf encryption - Key: FOP-2240 URL: https://issues.apache.org/jira/browse/FOP-2240 Project: Fop Issue Type: Bug Reporter: simon steiner Attachments: pdfdoc.patch xconf info not in http://xmlgraphics.apache.org/fop/trunk/pdfencryption.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FOP-2240) [PATCH] PDF docs missing xconf encryption
[ https://issues.apache.org/jira/browse/FOP-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2240: --- Attachment: pdfdoc.patch add encrypt length [PATCH] PDF docs missing xconf encryption - Key: FOP-2240 URL: https://issues.apache.org/jira/browse/FOP-2240 Project: Fop Issue Type: Bug Reporter: simon steiner Attachments: pdfdoc.patch xconf info not in http://xmlgraphics.apache.org/fop/trunk/pdfencryption.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FOP-2240) [PATCH] PDF docs missing xconf encryption
[ https://issues.apache.org/jira/browse/FOP-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638010#comment-13638010 ] Chris Bowditch commented on FOP-2240: - Thanks Simon. Committed in rev 1470514 [PATCH] PDF docs missing xconf encryption - Key: FOP-2240 URL: https://issues.apache.org/jira/browse/FOP-2240 Project: Fop Issue Type: Bug Reporter: simon steiner Attachments: pdfdoc.patch xconf info not in http://xmlgraphics.apache.org/fop/trunk/pdfencryption.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (FOP-2240) [PATCH] PDF docs missing xconf encryption
[ https://issues.apache.org/jira/browse/FOP-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Bowditch resolved FOP-2240. - Resolution: Fixed Assignee: Chris Bowditch [PATCH] PDF docs missing xconf encryption - Key: FOP-2240 URL: https://issues.apache.org/jira/browse/FOP-2240 Project: Fop Issue Type: Bug Reporter: simon steiner Assignee: Chris Bowditch Attachments: pdfdoc.patch xconf info not in http://xmlgraphics.apache.org/fop/trunk/pdfencryption.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (FOP-2210) [PATCH] Complex script IF to output missing glyphs
[ https://issues.apache.org/jira/browse/FOP-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Bowditch reassigned FOP-2210: --- Assignee: Chris Bowditch [PATCH] Complex script IF to output missing glyphs -- Key: FOP-2210 URL: https://issues.apache.org/jira/browse/FOP-2210 Project: Fop Issue Type: Bug Reporter: simon steiner Assignee: Chris Bowditch Attachments: csspeedtrunk.patch, fop.xconf, test.fo fop test.fo -c fop.xconf -if application/pdf expected.if.xml fop -c fop.xconf -ifin expected.if.xml out.pdf -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FOP-2239) Soft hyphens appear in mid line in PDF output
[ https://issues.apache.org/jira/browse/FOP-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638034#comment-13638034 ] Seifeddine Dridi commented on FOP-2239: --- Try using x002D instead of 0xAD Soft hyphens appear in mid line in PDF output - Key: FOP-2239 URL: https://issues.apache.org/jira/browse/FOP-2239 Project: Fop Issue Type: Bug Components: pdf Affects Versions: 1.1, trunk Environment: $ java -version java version 1.7.0_17 Java(TM) SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) Reporter: Mark Craig Attachments: simple.fo, simple.pdf When producing PDF, soft hyphens show up in mid line when followed by punctuation characters such as ., ], and . In the test case that I will attach to this issue: fo:blockfo:inline font-size=0.9em.#xAD;.#xAD;/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD; .#xAD;/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;]/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;\/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;a/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;Z/fo:inline/fo:block looks like this in the PDF: .-. . . . .-] .\ .- .a .Z The generation does not display any errors: $ fop simple.fo simple.pdf Rendered page #1. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FOP-2239) Soft hyphens appear in mid line in PDF output
[ https://issues.apache.org/jira/browse/FOP-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638047#comment-13638047 ] Seifeddine Dridi commented on FOP-2239: --- Well x002D is not the unicode value of the soft hyphen character...There is actually a file charlist.xml in src/codegen/fonts which contains a big list of unicode characters. After searching for the word hyphen I can only find this line map adobe-name=hyphen win-ansi=0x002D unicode=0x002D/ Soft hyphens appear in mid line in PDF output - Key: FOP-2239 URL: https://issues.apache.org/jira/browse/FOP-2239 Project: Fop Issue Type: Bug Components: pdf Affects Versions: 1.1, trunk Environment: $ java -version java version 1.7.0_17 Java(TM) SE Runtime Environment (build 1.7.0_17-b02) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode) Reporter: Mark Craig Attachments: simple.fo, simple.pdf When producing PDF, soft hyphens show up in mid line when followed by punctuation characters such as ., ], and . In the test case that I will attach to this issue: fo:blockfo:inline font-size=0.9em.#xAD;.#xAD;/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD; .#xAD;/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;]/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;\/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;a/fo:inline/fo:block fo:blockfo:inline font-size=0.9em.#xAD;Z/fo:inline/fo:block looks like this in the PDF: .-. . . . .-] .\ .- .a .Z The generation does not display any errors: $ fop simple.fo simple.pdf Rendered page #1. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FOP-2210) [PATCH] Complex script IF to output missing glyphs
[ https://issues.apache.org/jira/browse/FOP-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638052#comment-13638052 ] Chris Bowditch commented on FOP-2210: - Hi Simon, Thanks for your patch. There is no unit test present and it is recommended that you provide one. Also there are some checkstyle warnings, whilst not directly introduced by your changes, should be resolved since you change the line on which they occur, e.g. AddWord method in TextArea has a checkstyle warning about spaces after the brackets. You added a new parameter, which didn't cause the warning but as you are changing the same line I must insist you also resolve the checkstyle warning. Thanks, Chris [PATCH] Complex script IF to output missing glyphs -- Key: FOP-2210 URL: https://issues.apache.org/jira/browse/FOP-2210 Project: Fop Issue Type: Bug Reporter: simon steiner Assignee: Chris Bowditch Attachments: csspeedtrunk.patch, fop.xconf, test.fo fop test.fo -c fop.xconf -if application/pdf expected.if.xml fop -c fop.xconf -ifin expected.if.xml out.pdf -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (FOP-2228) [PATCH] PDF page missing from Postscript output
[ https://issues.apache.org/jira/browse/FOP-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Bowditch reassigned FOP-2228: --- Assignee: Chris Bowditch [PATCH] PDF page missing from Postscript output --- Key: FOP-2228 URL: https://issues.apache.org/jira/browse/FOP-2228 Project: Fop Issue Type: Bug Reporter: simon steiner Assignee: Chris Bowditch Attachments: new.pdf, pdfmissing.patch, test.fo PDF is missing from output fop test.fo -ps out.ps -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (FOP-2228) [PATCH] PDF page missing from Postscript output
[ https://issues.apache.org/jira/browse/FOP-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Bowditch resolved FOP-2228. - Resolution: Fixed [PATCH] PDF page missing from Postscript output --- Key: FOP-2228 URL: https://issues.apache.org/jira/browse/FOP-2228 Project: Fop Issue Type: Bug Reporter: simon steiner Assignee: Chris Bowditch Attachments: new.pdf, pdfmissing.patch, test.fo PDF is missing from output fop test.fo -ps out.ps -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Assigned] (FOP-2210) [PATCH] Complex script IF to output missing glyphs
Glenn, Can you give your opinion about the approach used by Simon? As I mentioned before (in a private message), the IF - PS/PDF route does not work in your original CS patch (for the languages that CS targets) due to the mapped sequences. Simon's approach works but requires keeping the original sequences alongside the mapped ones. I think it is a good approach but I would like to know if you have a better suggestion before we apply the patch. Thanks, Luis On 4/22/13 3:23 PM, Chris Bowditch (JIRA) wrote: [ https://issues.apache.org/jira/browse/FOP-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Bowditch reassigned FOP-2210: --- Assignee: Chris Bowditch [PATCH] Complex script IF to output missing glyphs -- Key: FOP-2210 URL: https://issues.apache.org/jira/browse/FOP-2210 Project: Fop Issue Type: Bug Reporter: simon steiner Assignee: Chris Bowditch Attachments: csspeedtrunk.patch, fop.xconf, test.fo fop test.fo -c fop.xconf -if application/pdf expected.if.xml fop -c fop.xconf -ifin expected.if.xml out.pdf -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Assigned] (FOP-2210) [PATCH] Complex script IF to output missing glyphs
I'm presently at W3C WG meetings this week, but I'll try to get on my schedule. I'm not sure what the IF-PS/PDF problem is, since the IF-PDF path is clearly working from my tests. On Mon, Apr 22, 2013 at 4:27 PM, Luis Bernardo lmpmberna...@gmail.comwrote: Glenn, Can you give your opinion about the approach used by Simon? As I mentioned before (in a private message), the IF - PS/PDF route does not work in your original CS patch (for the languages that CS targets) due to the mapped sequences. Simon's approach works but requires keeping the original sequences alongside the mapped ones. I think it is a good approach but I would like to know if you have a better suggestion before we apply the patch. Thanks, Luis On 4/22/13 3:23 PM, Chris Bowditch (JIRA) wrote: [ https://issues.apache.org/**jira/browse/FOP-2210?page=com.** atlassian.jira.plugin.system.**issuetabpanels:all-tabpanelhttps://issues.apache.org/jira/browse/FOP-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] Chris Bowditch reassigned FOP-2210: --**- Assignee: Chris Bowditch [PATCH] Complex script IF to output missing glyphs --** Key: FOP-2210 URL: https://issues.apache.org/**jira/browse/FOP-2210https://issues.apache.org/jira/browse/FOP-2210 Project: Fop Issue Type: Bug Reporter: simon steiner Assignee: Chris Bowditch Attachments: csspeedtrunk.patch, fop.xconf, test.fo fop test.fo -c fop.xconf -if application/pdf expected.if.xml fop -c fop.xconf -ifin expected.if.xml out.pdf -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/** software/jira http://www.atlassian.com/software/jira
Re: [jira] [Assigned] (FOP-2210) [PATCH] Complex script IF to output missing glyphs
Ah, I reread your earlier (private) message. I see the problem has to do with the use of synthesized PUA mappings. Here, the problem really is that the font should always have a CMAP entry that maps to every glyph that can be produced by the GSUB process. However, not all fonts do this, so in the case in point, we have to synthesize some mapping, from which we have to turn to PUA assignments. This works when we generate PDF since we generate a subset font that contains the synthesized mappings. However, I can see that if this is going to IF instead of PDF/PS, then we need to find a way to recreate those synthesized mappings. I think this information is really font-specific, and should not be tied to specific text nodes though. So if Simon's fix uses text nodes, then that is probably not the best approach. On Mon, Apr 22, 2013 at 10:45 PM, Glenn Adams gl...@skynav.com wrote: I'm presently at W3C WG meetings this week, but I'll try to get on my schedule. I'm not sure what the IF-PS/PDF problem is, since the IF-PDF path is clearly working from my tests. On Mon, Apr 22, 2013 at 4:27 PM, Luis Bernardo lmpmberna...@gmail.comwrote: Glenn, Can you give your opinion about the approach used by Simon? As I mentioned before (in a private message), the IF - PS/PDF route does not work in your original CS patch (for the languages that CS targets) due to the mapped sequences. Simon's approach works but requires keeping the original sequences alongside the mapped ones. I think it is a good approach but I would like to know if you have a better suggestion before we apply the patch. Thanks, Luis On 4/22/13 3:23 PM, Chris Bowditch (JIRA) wrote: [ https://issues.apache.org/**jira/browse/FOP-2210?page=com.** atlassian.jira.plugin.system.**issuetabpanels:all-tabpanelhttps://issues.apache.org/jira/browse/FOP-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] Chris Bowditch reassigned FOP-2210: --**- Assignee: Chris Bowditch [PATCH] Complex script IF to output missing glyphs --** Key: FOP-2210 URL: https://issues.apache.org/**jira/browse/FOP-2210https://issues.apache.org/jira/browse/FOP-2210 Project: Fop Issue Type: Bug Reporter: simon steiner Assignee: Chris Bowditch Attachments: csspeedtrunk.patch, fop.xconf, test.fo fop test.fo -c fop.xconf -if application/pdf expected.if.xml fop -c fop.xconf -ifin expected.if.xml out.pdf -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/** software/jira http://www.atlassian.com/software/jira