Chris Bowditch (JIRA | 24 Jun 15:31 2016
Picon

[jira] [Commented] (FOP-2525) [PATCH] Memory leak present when using Truetype Collection (.ttc)


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

Chris Bowditch commented on FOP-2525:
-------------------------------------

If you aren't using the Complex Scripts feature then you can work around this problem by disabling Complex
Scripts, see: http://xmlgraphics.apache.org/fop/trunk/complexscripts.html#Disabling-complex-scripts

> [PATCH] Memory leak present when using Truetype Collection (.ttc)
> -----------------------------------------------------------------
>
>                 Key: FOP-2525
>                 URL: https://issues.apache.org/jira/browse/FOP-2525
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: At least Mac and Linux, both Oracle VM and OpenJDK
>            Reporter: Jeremy Smith
>            Priority: Minor
>         Attachments: FOP-2525.patch, FOP_patch_heap-usage.png
>
>
> When a TrueType Collection file is used to specify custom fonts, and a long-running FopFactory is used to
create FOP instances to process many FO input documents, millions of
org.apache.fop.complexscripts.fonts.GlyphPositioningTable$PairValues and
org.apache.fop.complexscripts.fonts.GlyphPositioningTable$Values instances get created which
are never collected.  Thus the heap continues to grow, leading to eventual GC thrashing or crash.
(Continue reading)

simon steiner (JIRA | 24 Jun 15:12 2016
Picon

[jira] [Commented] (FOP-2614) Image missing on change IPD


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

simon steiner commented on FOP-2614:
------------------------------------

Added http://svn.apache.org/viewvc?view=revision&revision=1750085

> Image missing on change IPD
> ---------------------------
>
>                 Key: FOP-2614
>                 URL: https://issues.apache.org/jira/browse/FOP-2614
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: simon steiner
>            Assignee: simon steiner
>             Fix For: trunk
>
>         Attachments: grey.png, test.fo
>
>
> test.fo out.pdf

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

simon steiner (JIRA | 24 Jun 15:12 2016
Picon

[jira] [Closed] (FOP-2614) Image missing on change IPD


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

simon steiner closed FOP-2614.
------------------------------
    Resolution: Fixed

> Image missing on change IPD
> ---------------------------
>
>                 Key: FOP-2614
>                 URL: https://issues.apache.org/jira/browse/FOP-2614
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: simon steiner
>            Assignee: simon steiner
>             Fix For: trunk
>
>         Attachments: grey.png, test.fo
>
>
> test.fo out.pdf

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

(Continue reading)

simon steiner (JIRA | 24 Jun 15:07 2016
Picon

[jira] [Updated] (FOP-2614) Image missing on change IPD


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

simon steiner updated FOP-2614:
-------------------------------
    Description: test.fo out.pdf

> Image missing on change IPD
> ---------------------------
>
>                 Key: FOP-2614
>                 URL: https://issues.apache.org/jira/browse/FOP-2614
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: simon steiner
>            Assignee: simon steiner
>             Fix For: trunk
>
>         Attachments: grey.png, test.fo
>
>
> test.fo out.pdf

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

(Continue reading)

simon steiner (JIRA | 24 Jun 15:07 2016
Picon

[jira] [Updated] (FOP-2614) Image missing on change IPD


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

simon steiner updated FOP-2614:
-------------------------------
    Attachment: test.fo
                grey.png

> Image missing on change IPD
> ---------------------------
>
>                 Key: FOP-2614
>                 URL: https://issues.apache.org/jira/browse/FOP-2614
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: simon steiner
>            Assignee: simon steiner
>             Fix For: trunk
>
>         Attachments: grey.png, test.fo
>
>

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

(Continue reading)

simon steiner (JIRA | 24 Jun 15:07 2016
Picon

[jira] [Created] (FOP-2614) Image missing on change IPD

simon steiner created FOP-2614:
----------------------------------

             Summary: Image missing on change IPD
                 Key: FOP-2614
                 URL: https://issues.apache.org/jira/browse/FOP-2614
             Project: FOP
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: simon steiner
            Assignee: simon steiner
             Fix For: trunk
         Attachments: grey.png, test.fo

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

Radu Coravu (JIRA | 24 Jun 15:03 2016
Picon

[jira] [Commented] (FOP-2364) Keep-with-next integer value: Illegal value for breakClass: 75


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

Radu Coravu commented on FOP-2364:
----------------------------------

+1, one of our clients encountered this as well.

> Keep-with-next integer value: Illegal value for breakClass: 75
> --------------------------------------------------------------
>
>                 Key: FOP-2364
>                 URL: https://issues.apache.org/jira/browse/FOP-2364
>             Project: FOP
>          Issue Type: Bug
>          Components: layout/unqualified
>    Affects Versions: trunk
>            Reporter: Matthias Reischenbacher
>         Attachments: illegal_break_class_75.xml
>
>
> The attached sample FO file causes an IllegalArgumentException: Illegal value for breakClass: 75.
> It seems to be related to the integer value within the keep-with-next property.

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

(Continue reading)

Andrea Bruehlmann (JIRA | 24 Jun 14:58 2016
Picon

[jira] [Commented] (FOP-2437) Devanagari diacritic position


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

Andrea Bruehlmann commented on FOP-2437:
----------------------------------------

I have the same problem with Nepali content with the font AnnapurnaSILNepal.

> Devanagari diacritic position
> -----------------------------
>
>                 Key: FOP-2437
>                 URL: https://issues.apache.org/jira/browse/FOP-2437
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: MacOS 10.8.5
>            Reporter: Raymond Budd
>         Attachments: fop-config.xml, hindi-sample.fo, result.pdf
>
>
> Diacritics are occasionally shifted left or right when rendered using Mangal font. The diacritic in the
first line is written, but partially covered. In the last line, the Chandrabindu is written after the
letter. 

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

Philipp Schneider (JIRA | 24 Jun 07:18 2016
Picon

[jira] [Comment Edited] (FOP-2525) [PATCH] Memory leak present when using Truetype Collection (.ttc)


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

Philipp Schneider edited comment on FOP-2525 at 6/24/16 5:17 AM:
-----------------------------------------------------------------

We updated to FOP 2.1 and have the same issue. We are using ttf-Fonts. How long will it take to integrate this
patch in trunk or the next release?

was (Author: philipp <at> philippschneider.at):
We updated to FOP 2.1 and have the same issue. How long will it take to integrate this patch in trunk or the next release?

> [PATCH] Memory leak present when using Truetype Collection (.ttc)
> -----------------------------------------------------------------
>
>                 Key: FOP-2525
>                 URL: https://issues.apache.org/jira/browse/FOP-2525
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: At least Mac and Linux, both Oracle VM and OpenJDK
>            Reporter: Jeremy Smith
>            Priority: Minor
>         Attachments: FOP-2525.patch, FOP_patch_heap-usage.png
>
>
> When a TrueType Collection file is used to specify custom fonts, and a long-running FopFactory is used to
create FOP instances to process many FO input documents, millions of
(Continue reading)

Philipp Schneider (JIRA | 24 Jun 07:17 2016
Picon

[jira] [Commented] (FOP-2525) [PATCH] Memory leak present when using Truetype Collection (.ttc)


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

Philipp Schneider commented on FOP-2525:
----------------------------------------

We updated to FOP 2.1 and have the same issue. How long will it take to integrate this patch in trunk or the next release?

> [PATCH] Memory leak present when using Truetype Collection (.ttc)
> -----------------------------------------------------------------
>
>                 Key: FOP-2525
>                 URL: https://issues.apache.org/jira/browse/FOP-2525
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: At least Mac and Linux, both Oracle VM and OpenJDK
>            Reporter: Jeremy Smith
>            Priority: Minor
>         Attachments: FOP-2525.patch, FOP_patch_heap-usage.png
>
>
> When a TrueType Collection file is used to specify custom fonts, and a long-running FopFactory is used to
create FOP instances to process many FO input documents, millions of
org.apache.fop.complexscripts.fonts.GlyphPositioningTable$PairValues and
org.apache.fop.complexscripts.fonts.GlyphPositioningTable$Values instances get created which
are never collected.  Thus the heap continues to grow, leading to eventual GC thrashing or crash.
> When the same fonts are used, but extracted from the TTC file, the issue does not occur, and the instances of
(Continue reading)

Jakub Gwóźdź (JIRA | 23 Jun 14:16 2016
Picon

[jira] [Created] (FOP-2613) afp:resource-level="print-file" ignored for SVGs in AFP files

Jakub Gwóźdź created FOP-2613:
---------------------------------

             Summary: afp:resource-level="print-file" ignored for SVGs in AFP files
                 Key: FOP-2613
                 URL: https://issues.apache.org/jira/browse/FOP-2613
             Project: FOP
          Issue Type: Bug
          Components: image/svg
    Affects Versions: 2.1
            Reporter: Jakub Gwóźdź

The workaround on
org.apache.fop.render.afp.AFPImageHandlerSVG#setDefaultToInlineResourceLevel causes all GOCA
SVGs to be INLINE, as it is called from

{code:title=/org/apache/fop/render/afp/AFPImageHandlerSVG.java:85|borderStyle=solid}
        AFPDataObjectInfo info = createDataObjectInfo();
        assert (info instanceof AFPGraphicsObjectInfo);
        AFPGraphicsObjectInfo graphicsObjectInfo = (AFPGraphicsObjectInfo) info;
        AFPResourceInfo resourceInfo = graphicsObjectInfo.getResourceInfo();
        setDefaultToInlineResourceLevel(graphicsObjectInfo);
{code}

and since "info" is a freshly created object here and not read from original tag, it always has
resourceInfo.levelChanged() set to false.

my code is:
{code:xml}
<fo:external-graphic background="transparent" height="0.4in"
(Continue reading)


Gmane