GithubHelp home page GithubHelp logo

PDF/A-3 support, validation fails about birt HOT 11 OPEN

hvbtup avatar hvbtup commented on September 8, 2024
PDF/A-3 support, validation fails

from birt.

Comments (11)

merks avatar merks commented on September 8, 2024 1

Here are reports that show for which things there are major updates:

I don't generally add them if there is no explicit request. Shall I add this one?

https://repo1.maven.org/maven2/com/github/librepdf/openpdf/2.0.2/

It's actually only a month newer. We won't know what if anything is broken until we try to use it...

from birt.

merks avatar merks commented on September 8, 2024 1

I’ll handle it tomorrow. Nothing else is required.

from birt.

merks avatar merks commented on September 8, 2024

FYI, generally BIRT is always using the latest dependencies, here in tabular format:

https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/table.html

So currently this version:

image

Orbit updates to the latest version available from Maven Central semi-automatically...

To see what's definitely there now, you can use the Repository Explorer in advanced mode:

image

from birt.

hvbtup avatar hvbtup commented on September 8, 2024

Hmm, that answers my first question. At least in theory, because I get the same error from a PDF generated with a BIRT release that still uses OpenPDF 1.3.0.

from birt.

speckyspooky avatar speckyspooky commented on September 8, 2024

The latest version of openPDF is version 2.0.2 but I don't know whether the release containce the fix.
Or if there an option to set the CIDSet then of course we can add a new user property.

from birt.

merks avatar merks commented on September 8, 2024

Orbit doesn’t generally update to new major versions because they are assumed to break API. But it could provide both.

from birt.

speckyspooky avatar speckyspooky commented on September 8, 2024

Yes, I request the change to the newer version.
Please let me know when I can support to open a ticket for Orbit.

from birt.

hvbtup avatar hvbtup commented on September 8, 2024

I didn't find a clear explanation about the differences between the 1.3.x, 1.4.x and 2.0.x releases of OpenPDF, except that the require Java 8, Java 11 and Java 17. Since BIRT itself now requires Java 17, we should use 2.0.x.

@speckyspooky Probably, if you are going to add support for PDF/A-3 in the PDF emitter, then for PDF/A-3 (opposed to PDF/A-1), you need to call the new API font.setIncludeCidSet(false); for each font. The documentation says

/**
 * Indicates if a CIDSet stream should be included in the document for {@link TrueTypeFontUnicode}.
 * When set to <CODE>true</CODE>, a CIDSet stream will be included in the document.
 * When set to <CODE>false</CODE>, and {@link PdfWriter#getPDFXConformance()} does not require it,
 * no CIDSet stream will be included.
 *
 * @param includeCidSet new value of {@link BaseFont#includeCidSet}
 */

Not sure about PDF/A-2, but I think it should work like PDF/A-3.

from birt.

merks avatar merks commented on September 8, 2024

If you re-resolve the target platform (Help -> Perform Setup Tasks...) today it will contain the 2.0.2 version. It does not cause any compile errors.

I'm currently investigating this issue which blocks publishing any new master builds:

#1819

from birt.

merks avatar merks commented on September 8, 2024

FYI, my local Tycho build with 2.0.2 was successful.

from birt.

merks avatar merks commented on September 8, 2024

The latest nightly build is using 2.0.2:

image

from birt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.