Luis Bernardo | 27 Jan 10:29 2015
Picon

Re: [jira] [Updated] (FOP-2441) pdf:embedded-file extension is broken, gives NullPointerException


It is not linked. Anyone can create a Jira account. Glenn has admin 
rights for the FOP project in Jira and he needs to add you as a 
developer so that you can "resolve" issues.

On 1/26/15 10:28 PM, Luca Furini wrote:
> One last question (please be patient :-) ): how is my newly created
> Jira account "linked" to the apache one? Will I have to configure
> something (once my commit access is in order)?
>
>

Thanasis Giannimaras (JIRA | 26 Jan 12:28 2015
Picon

[jira] [Commented] (FOP-2441) pdf:embedded-file extension is broken, gives NullPointerException


    [
https://issues.apache.org/jira/browse/FOP-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14291713#comment-14291713
] 

Thanasis Giannimaras commented on FOP-2441:
-------------------------------------------

Duplicate of FOP-2348   https://issues.apache.org/jira/browse/FOP-2348

> pdf:embedded-file extension is broken, gives NullPointerException
> -----------------------------------------------------------------
>
>                 Key: FOP-2441
>                 URL: https://issues.apache.org/jira/browse/FOP-2441
>             Project: Fop
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: trunk
>            Reporter: Luca Furini
>            Priority: Minor
>         Attachments: change.diff, test_attachment.fo
>
>
> The extension property pdf:embedded-file (to attach files to the pdf) is not working, and generates a NullPointerException.
> I noticed the problem while trying to write an answer to this StackOverflow question:
http://stackoverflow.com/questions/28110607/unable-to-add-an-attachment-to-a-pdf-while-using-fop 
> (the question is about a different problem, but while testing on fop-trunk I noticed this bug I'm reporting).
> Looking at the revision history, I think the implementation of this extension  has been broken since
revision [1522934].
(Continue reading)

Luca Furini (JIRA | 23 Jan 23:33 2015
Picon

[jira] [Updated] (FOP-2441) pdf:embedded-file extension is broken, gives NullPointerException


     [
https://issues.apache.org/jira/browse/FOP-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Furini updated FOP-2441:
-----------------------------
    Attachment: change.diff

Proposed patch

> pdf:embedded-file extension is broken, gives NullPointerException
> -----------------------------------------------------------------
>
>                 Key: FOP-2441
>                 URL: https://issues.apache.org/jira/browse/FOP-2441
>             Project: Fop
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: trunk
>            Reporter: Luca Furini
>            Priority: Minor
>         Attachments: change.diff, test_attachment.fo
>
>
> The extension property pdf:embedded-file (to attach files to the pdf) is not working, and generates a NullPointerException.
> I noticed the problem while trying to write an answer to this StackOverflow question:
http://stackoverflow.com/questions/28110607/unable-to-add-an-attachment-to-a-pdf-while-using-fop 
> (the question is about a different problem, but while testing on fop-trunk I noticed this bug I'm reporting).
> Looking at the revision history, I think the implementation of this extension  has been broken since
revision [1522934].
(Continue reading)

Luca Furini (JIRA | 23 Jan 23:32 2015
Picon

[jira] [Updated] (FOP-2441) pdf:embedded-file extension is broken, gives NullPointerException


     [
https://issues.apache.org/jira/browse/FOP-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Furini updated FOP-2441:
-----------------------------
    Attachment: test_attachment.fo

Simple fo file to reproduce the error

> pdf:embedded-file extension is broken, gives NullPointerException
> -----------------------------------------------------------------
>
>                 Key: FOP-2441
>                 URL: https://issues.apache.org/jira/browse/FOP-2441
>             Project: Fop
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: trunk
>            Reporter: Luca Furini
>            Priority: Minor
>         Attachments: test_attachment.fo
>
>
> The extension property pdf:embedded-file (to attach files to the pdf) is not working, and generates a NullPointerException.
> I noticed the problem while trying to write an answer to this StackOverflow question:
http://stackoverflow.com/questions/28110607/unable-to-add-an-attachment-to-a-pdf-while-using-fop 
> (the question is about a different problem, but while testing on fop-trunk I noticed this bug I'm reporting).
> Looking at the revision history, I think the implementation of this extension  has been broken since
revision [1522934].
(Continue reading)

Luca Furini (JIRA | 23 Jan 23:30 2015
Picon

[jira] [Created] (FOP-2441) pdf:embedded-file extension is broken, gives NullPointerException

Luca Furini created FOP-2441:
--------------------------------

             Summary: pdf:embedded-file extension is broken, gives NullPointerException
                 Key: FOP-2441
                 URL: https://issues.apache.org/jira/browse/FOP-2441
             Project: Fop
          Issue Type: Bug
          Components: renderer/pdf
    Affects Versions: trunk
            Reporter: Luca Furini
            Priority: Minor

The extension property pdf:embedded-file (to attach files to the pdf) is not working, and generates a NullPointerException.

I noticed the problem while trying to write an answer to this StackOverflow question:
http://stackoverflow.com/questions/28110607/unable-to-add-an-attachment-to-a-pdf-while-using-fop 
(the question is about a different problem, but while testing on fop-trunk I noticed this bug I'm reporting).

Looking at the revision history, I think the implementation of this extension  has been broken since
revision [1522934].

I'm going to attach a simple fo file showing the problem, together with a proposed patch.

I have been a fop committer for some time, followed by a looong period of just lurking the mailing list; I
tried to commit the changes myself, but I guess my long inactivity period has caused the revocation of my
commit privileges.

--
This message was sent by Atlassian JIRA
(Continue reading)

Kumar Thangavel (JIRA | 22 Jan 12:59 2015
Picon

[jira] [Commented] (FOP-2440) fo:page-number display and spacing issues in Arabic


    [
https://issues.apache.org/jira/browse/FOP-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287322#comment-14287322
] 

Kumar Thangavel commented on FOP-2440:
--------------------------------------

Thanks for the clarification Luis and Glenn. I would try not to raise any duplicate tickets in the future and
apologies for that. I would like to know if there is any plans for a new release for FOP in the near future.

> fo:page-number display and spacing issues in Arabic
> ---------------------------------------------------
>
>                 Key: FOP-2440
>                 URL: https://issues.apache.org/jira/browse/FOP-2440
>             Project: Fop
>          Issue Type: Bug
>            Reporter: Kumar Thangavel
>             Fix For: trunk
>
>         Attachments: BorderMovementSearch_20012015_sup.pdf-12.htm.pdf, fop-2440-trunk.pdf, fop-page-number-issue.xml
>
>
> Hi ,
> I am trying to render a Arabic PDF with multiple pages where Current page number and total page numbers are
defined by fo:page-number and fo:page-number-citation-last elements respectively. The PDF will
display the page number like "Page x of y". But there are couple of issues with that. 
> 1) From page 10, the page number is reversed and shows as "01". Page 12 shows as "21" 
> 2) There is no spacing between page number and the Arabic letters.
(Continue reading)

Luis Bernardo | 22 Jan 10:24 2015
Picon

Re: fop-pdf-images question regarding pdfbox Version/Patch


The patches to pdfbox 1.8.4 were deemed not necessary after changes were made to fop to not need them. So they were removed with the upgrade to 1.8.5.

We could create a branch but right now it would be the same as the commit Simon mentions.

If you have problems replacing 1.8.5 by 1.8.8 please ask in fop-users for a new branch and if there is interest from other users we will create one.

On 1/22/15 10:05 AM, Simon Steiner wrote:
<!-- /* Font Definitions */ <at> font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} <at> font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} <at> font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman",serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri",sans-serif; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} <at> page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} -->

Hi,

 

For now you can check out revision 1593155 in svn to get the older version. You should use mailing list or jira to report any issues.

 

Thanks

 

From: Kai Hofmann [mailto:powerstat <at> web.de]
Sent: 22 January 2015 08:14
To: ssteiner <at> apache.org; lbernardo <at> apache.org
Subject: fop-pdf-images question regarding pdfbox Version/Patch

 

Hello you two main commiters on the famous fop-pdf-images project,

 

ich hope it is ok to bother you directly with very special questions:

 

On 08 Mai 2014 the commit removed pdfbox 1.8.4 and installed pdfbox 1.8.5 - during this the patches for the pdfbox have vanished - are they no longer required? I ask, because I will try to use the pdfbox 1.8.8 version (because of some problems I have with 1.8.5.

 

Later in 2014 on 16 July you moved forward to pdfbox 2.0 - this version I can't bring to live yet - so I would like to make the suggestion that it would be helpful if you use branches - i.e. a branch for a fop-pdf-images version based on pdfbox 1.8.x would be very helpful, while you are wprking on the pdfbox 2.0 version in trunk.

 

Thanks and Greetings

 

  Kai Hofmann
 

-- 
Kai Hofmann           EMail: powerstat <at> web.de
Bremen/Germany        


Glenn Adams (JIRA | 22 Jan 05:44 2015
Picon

[jira] [Commented] (FOP-2440) fo:page-number display and spacing issues in Arabic


    [
https://issues.apache.org/jira/browse/FOP-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286952#comment-14286952
] 

Glenn Adams commented on FOP-2440:
----------------------------------

Kumar, may I suggest you check closed JIRA issues in the future, since, as you can see, FOP-2408 already
addressed this issue. Also, as a general rule, we only fix bugs in trunk, and not in a release branch. So
always try trunk first to see if the problem still exists.

> fo:page-number display and spacing issues in Arabic
> ---------------------------------------------------
>
>                 Key: FOP-2440
>                 URL: https://issues.apache.org/jira/browse/FOP-2440
>             Project: Fop
>          Issue Type: Bug
>            Reporter: Kumar Thangavel
>             Fix For: trunk
>
>         Attachments: BorderMovementSearch_20012015_sup.pdf-12.htm.pdf, fop-2440-trunk.pdf, fop-page-number-issue.xml
>
>
> Hi ,
> I am trying to render a Arabic PDF with multiple pages where Current page number and total page numbers are
defined by fo:page-number and fo:page-number-citation-last elements respectively. The PDF will
display the page number like "Page x of y". But there are couple of issues with that. 
> 1) From page 10, the page number is reversed and shows as "01". Page 12 shows as "21" 
> 2) There is no spacing between page number and the Arabic letters.
> I am attaching the fop.xml and PDF for your reference. 
> I am using FOP 1.1

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Luis Bernardo (JIRA | 21 Jan 23:00 2015
Picon

[jira] [Resolved] (FOP-2440) fo:page-number display and spacing issues in Arabic


     [
https://issues.apache.org/jira/browse/FOP-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luis Bernardo resolved FOP-2440.
--------------------------------
       Resolution: Duplicate
    Fix Version/s: trunk

> fo:page-number display and spacing issues in Arabic
> ---------------------------------------------------
>
>                 Key: FOP-2440
>                 URL: https://issues.apache.org/jira/browse/FOP-2440
>             Project: Fop
>          Issue Type: Bug
>            Reporter: Kumar Thangavel
>             Fix For: trunk
>
>         Attachments: BorderMovementSearch_20012015_sup.pdf-12.htm.pdf, fop-2440-trunk.pdf, fop-page-number-issue.xml
>
>
> Hi ,
> I am trying to render a Arabic PDF with multiple pages where Current page number and total page numbers are
defined by fo:page-number and fo:page-number-citation-last elements respectively. The PDF will
display the page number like "Page x of y". But there are couple of issues with that. 
> 1) From page 10, the page number is reversed and shows as "01". Page 12 shows as "21" 
> 2) There is no spacing between page number and the Arabic letters.
> I am attaching the fop.xml and PDF for your reference. 
> I am using FOP 1.1

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Luis Bernardo (JIRA | 21 Jan 22:59 2015
Picon

[jira] [Updated] (FOP-2440) fo:page-number display and spacing issues in Arabic


     [
https://issues.apache.org/jira/browse/FOP-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luis Bernardo updated FOP-2440:
-------------------------------
    Attachment: fop-2440-trunk.pdf

please try trunk.

> fo:page-number display and spacing issues in Arabic
> ---------------------------------------------------
>
>                 Key: FOP-2440
>                 URL: https://issues.apache.org/jira/browse/FOP-2440
>             Project: Fop
>          Issue Type: Bug
>            Reporter: Kumar Thangavel
>         Attachments: BorderMovementSearch_20012015_sup.pdf-12.htm.pdf, fop-2440-trunk.pdf, fop-page-number-issue.xml
>
>
> Hi ,
> I am trying to render a Arabic PDF with multiple pages where Current page number and total page numbers are
defined by fo:page-number and fo:page-number-citation-last elements respectively. The PDF will
display the page number like "Page x of y". But there are couple of issues with that. 
> 1) From page 10, the page number is reversed and shows as "01". Page 12 shows as "21" 
> 2) There is no spacing between page number and the Arabic letters.
> I am attaching the fop.xml and PDF for your reference. 
> I am using FOP 1.1

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Kumar Thangavel (JIRA | 21 Jan 18:31 2015
Picon

[jira] [Updated] (FOP-2440) fo:page-number display and spacing issues in Arabic


     [
https://issues.apache.org/jira/browse/FOP-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kumar Thangavel updated FOP-2440:
---------------------------------
    Description: 
Hi ,
I am trying to render a Arabic PDF with multiple pages where Current page number and total page numbers are
defined by fo:page-number and fo:page-number-citation-last elements respectively. The PDF will
display the page number like "Page x of y". But there are couple of issues with that. 

1) From page 10, the page number is reversed and shows as "01". Page 12 shows as "21" 
2) There is no spacing between page number and the Arabic letters.

I am attaching the fop.xml and PDF for your reference. 

I am using FOP 1.1

  was:
Hi ,
I am trying to render a Arabic PDF with multiple pages where Current page number and total page numbers are
defined by fo:page-number and fo:page-number-citation-last elements respectively. The PDF will
display the page number like "Page x of y". But there are couple of issues with that. 

1) From page 10, the page number is reversed and shows as "01". Page 12 shows as "21" 
2) There is no spacing between page number and the Arabic letters.

I am attaching the fop.xml and PDF for your reference. 

> fo:page-number display and spacing issues in Arabic
> ---------------------------------------------------
>
>                 Key: FOP-2440
>                 URL: https://issues.apache.org/jira/browse/FOP-2440
>             Project: Fop
>          Issue Type: Bug
>            Reporter: Kumar Thangavel
>         Attachments: BorderMovementSearch_20012015_sup.pdf-12.htm.pdf, fop-page-number-issue.xml
>
>
> Hi ,
> I am trying to render a Arabic PDF with multiple pages where Current page number and total page numbers are
defined by fo:page-number and fo:page-number-citation-last elements respectively. The PDF will
display the page number like "Page x of y". But there are couple of issues with that. 
> 1) From page 10, the page number is reversed and shows as "01". Page 12 shows as "21" 
> 2) There is no spacing between page number and the Arabic letters.
> I am attaching the fop.xml and PDF for your reference. 
> I am using FOP 1.1

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Gmane