Giter Site home page Giter Site logo

Comments (5)

TeXhackse avatar TeXhackse commented on September 16, 2024

@evamvid which compiler did you use?

Actually the included PDF has to be PDF/A compliant to be included directly or at least have embedded fonts.
LaTeX and also pdfx cannot edit the fonts in the pdf image you included. So pdfx is not breaking it, it's just not touching it.

from tuda_latex_templates.

evamvid avatar evamvid commented on September 16, 2024

I'm using LuaLatex. I guess I just assumed that since the included pdf still had to be rendered, pdfx would also package the fonts like it does for all of the others ones.

Any tips on getting the included PDF to be PDF/A compliant? Everything I found online amounted to converting it to ps and back, which seemed to just make it into an image and lose the text elements. Is there a better way to do it?

edit: I should clarify, all of the fonts are embedded; I did that with ghostscript. I think it's something about the way that they are embedded that's PDF/A noncompliant and causing the issue.

from tuda_latex_templates.

georg-jung avatar georg-jung commented on September 16, 2024

You could give simple converters like this one https://tools.pdf24.org/de/pdf-in-pdfa a try. Not sure if the conversions by these converters have any relevant downsides, but they tend to be simple and work.

from tuda_latex_templates.

TeXhackse avatar TeXhackse commented on September 16, 2024

If i remember correctly ghostscript cannot embed CID fonts …
Would have to look that up.

There is a bunch of pdf printers which don't convert it into an image but keep the text elements and fix that. Might be the easiest which I'd try first.

Beside this there are converters free and non free, like mentioned before. With the online ones one should always pay attention to their policies.

Anything else depends a bit on the structure of the file. The most general solutions here are only included in pdf editors which are not free and depend on you OS. For everything else I'd need more information.

from tuda_latex_templates.

evamvid avatar evamvid commented on September 16, 2024

Thanks for the advice! I ended up using LibreOffice Draw to open the PDF and save to PDFA. I had some issues with LO doing the classic thing it does with Word documents too, where it can't load fonts or whatever and distorts everything loading its own font, but after I installed the fonts that were embedded and flushed the font cache, I was able to save it as a PDF/A, and now the include means that the whole document successfully saves as PDF/A too.

Thanks for the help!

from tuda_latex_templates.

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.