惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
腾讯CDC
A
About on SuperTechFans
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
D
DataBreaches.Net
D
Docker
宝玉的分享
宝玉的分享
量子位
Microsoft Azure Blog
Microsoft Azure Blog
Martin Fowler
Martin Fowler
博客园 - 三生石上(FineUI控件)
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
V2EX
Last Week in AI
Last Week in AI
H
Help Net Security
Hugging Face - Blog
Hugging Face - Blog
M
MIT News - Artificial intelligence

Martin Owens activity

Martin Owens deleted project branch average-color-divide at Inkscape / inkscape Fix divide-by-zero crash when using calligraphy tool (!7923) · Merge requests · Inkscape / inkscape · GitLab Add selection file to bypass Windows command length limits (correction) (865df7a5) · Commits · Inkscape / inkscape · GitLab Draft: Fix AppImage crashing during save on older distros (!7922) · Merge requests · Inkscape / inkscape · GitLab e71fa7f8e0858aab87b7fc0814a30a8c88da9b43 to fe225a6b9e1042c7221d95173be22a02b3725337 · Martin Owens / inkscape · GitLab 403 Forbidden on Inkscape web server (#693) · Issues · Inkscape / inkscape-web · GitLab 403 Forbidden on Inkscape web server (#13509) · Issues · Inkscape / Inbox · GitLab Add selection file to bypass Windows command length limits (correction) (!7917) · 合并请求 · Inkscape / inkscape · GitLab Non-vertical axonometric axis implementation (!7912) · Merge requests · Inkscape / inkscape · GitLab Update split mode on tab switch (!7915) · Merge requests · Inkscape / inkscape · GitLab inset/offset as app functions so they can be used from CLI (!7914) · Merge requests · Inkscape / inkscape · GitLab Performace regresion in last month (#5879) · Issues · Inkscape / inkscape · GitLab [Regression] Right-aligned text has a new gap in 1.4.4 (#6130) · Issues · Inkscape / inkscape · GitLab [Regression] Right-aligned text has a new gap in 1.4.4 (#13498) · Issues · Inkscape / Inbox · GitLab c503804e014994d611de1b225bee8158c06448a8 to a4588d8ead1e7049b90c5a126962746ed286ab17 · Inkscape / inkscape-web · GitLab Validate the extensions of signature file uploads (a4588d8e) · 提交 · Inkscape / inkscape-web · GitLab Allow color conversions using static arrays instead of just vectors (e71fa7f8) · 提交 · Martin Owens / inkscape · GitLab Speed up ungroup on thousands of items (!7908) · Merge requests · Inkscape / inkscape · GitLab Incorrect handling of FontMatrix and transformation matrices with internal PDF import (#4845) · Issues · Inkscape / inkscape · GitLab Handling edge case of negative fonts in PDF (59040229) · 提交 · Inkscape / inkscape · GitLab Handling edge case of negative fonts in PDF (!7911) · 合并请求 · Inkscape / inkscape · GitLab Allow color conversions using static arrays instead of just vectors (33e65d1b) · Commits · Martin Owens / inkscape · GitLab Allow color conversions using static arrays instead of just vectors (9be5f867) · Commits · Martin Owens / inkscape · GitLab a9672ea1dff483b5b3aa8c6b5d88cd223001bef5 to 512a5e57602ac52e1d35782a7dcebae04262b2b8 · Martin Owens / inkscape · GitLab Add selection file to bypass Windows command length limits (!7905) · 合并请求 · Inkscape / inkscape · GitLab Revert Pango label changes (1.4.x) (!7907) · 合并请求 · Inkscape / inkscape · GitLab Crash on selecting a `<text>` object without a `<tspan>` inside (#5462) · Issues · Inkscape / inkscape · GitLab Fix breakage with Ubuntu 26.04 CI (!7904) · 合并请求 · Inkscape / inkscape · GitLab c673fdd5148253276826d4eda3951daaefb82607 to 356b31383ba324396a225686613236484305533d · Martin Owens / inkscape · GitLab Revert Text tool cursor changes (1.4.x) (!7903) · 合并请求 · Inkscape / inkscape · GitLab
PDFs produced by CapyPDF exporter are not compatible with...
Martin Owens · 2026-06-25 · via Martin Owens activity

PDFs produced by CapyPDF exporter are not compatible with LuaLaTex

#### Summary: LuaTex cannot include PDFs produced with the CapyPDF exporter. It seems to be more than just the PDF-2.0 compatibility (which is not officially supported by LuaTex); when I convert the exported PDF to [QDF Mode](https://qpdf.readthedocs.io/en/stable/qdf.html) with qpdf, the resulting file *can* be included by LuaLaTex, albeit with a warning about the version mismatch. **Note:** This isn't really an Inkscape problem, more of a CapyPDF/LuaTex compatibility thing. All of the test documents produced as part of CapyPDF's test suite fail with the same issue, with the exception of the `pdfx3` test (which is PDF 1.3). I'm mostly just documenting it here because I think it's worth trying to make it compatible, particularly given how often people use Inkscape in conjunction with LaTeX. This problem is specific to the LuaTex build engine, including the version on Overleaf. It fails with the error message: ``` (pdf inclusion): reading image failed ``` I wanted to look at the PDF structure in more detail, so I converted it to a text-friendly format with `qpdf -qdf blank.pdf blankq.pdf`. Surprisingly, this version does work with LuaTex, though it does have a warning about the version: ``` PDF inclusion: found PDF version '2.0', but at most version '1.7' allowed ``` Building with `pdflatex` gives a similar warning message, but ultimately behaves: ``` pdfTeX warning: PDF inclusion: found PDF version <2.0>, but at most v ersion <1.7> allowed ``` #### Steps to reproduce: - Save a PDF from Inkscape 1.5 (any graphics, even a blank page) - Include it as a figure in a latex document, as in the following minimal example: ```tex \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics{blank.pdf} \end{document} ``` - Try to compile a PDF using LuaTex as the build engine (e.g. `lualatex sample.tex`) Sample attachments: - [blank.pdf](/uploads/98f7d1f153dcbb7b464a45434cd75cab/blank.pdf) - [blankq.pdf](/uploads/394e6f3a605c34beedf60953efac52d5/blankq.pdf)

issue