You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by franck FIMBEL <ff...@gmail.com> on 2020/03/26 17:32:35 UTC

Xmp properties non-compact values representation only for PDF/A

Hi
Currently its seems that FOP output XMP properties like dc:language in
a non compact representation (including Bag and li elements) only when
rendering pdf/a but it outputs a compact representation in standard
pdf rendering.
dc.setCompact(pdfaMode.getPart() != 3); in PdfMetadata class line 149

Is there any specific reason to keep the compact representation for
PDF ? If so, could it be a pdf rendering parameter ?

Thanks

-- 
Franck

Re: Xmp properties non-compact values representation only for PDF/A

Posted by Chris Bowditch <bo...@hotmail.com>.
Hi,

Isn't  a compact representation preferable as it helps keep the file 
size down?

Thanks,

Chris

On 26/03/2020 17:32, franck FIMBEL wrote:
> Hi
> Currently its seems that FOP output XMP properties like dc:language in
> a non compact representation (including Bag and li elements) only when
> rendering pdf/a but it outputs a compact representation in standard
> pdf rendering.
> dc.setCompact(pdfaMode.getPart() != 3); in PdfMetadata class line 149
>
> Is there any specific reason to keep the compact representation for
> PDF ? If so, could it be a pdf rendering parameter ?
>
> Thanks
>