Compare commits

..

2 commits

Author SHA1 Message Date
0612070b66 Merge branch 'hotfix/0.9.1' 2025-10-02 13:40:42 +00:00
778e2d79d7 various small fixes
- pdftools: `mkpdfa` invocation
- pdftools: `PDFA_def.ps` location
- use sRGB by default for better compatibility
2025-10-02 13:40:28 +00:00
3 changed files with 8 additions and 5 deletions

View file

@ -5,7 +5,7 @@
% Define an ICC profile :
-/ICCProfile (srgb.icc) % Customise
+/ICCProfile (/usr/local/share/autodoc/compatibleWithAdobeRGB1998.icc) % Customise
+/ICCProfile (/usr/local/share/autodoc/sRGB.icc) % Customise
def
[/_objdef {icc_PDFA} /type /stream /OBJ pdfmark

View file

@ -26,7 +26,7 @@ pdftools_mkpdfa = gs \
-dPDFACompatibilityPolicy=1 \
--permit-file-read=/usr/local/share/autodoc/ \
-sOutputFile=$(3) \
/opt/pdfa/PDFA_def.ps \
/usr/local/share/autodoc/PDFA_def.ps \
$(2)
############
@ -35,12 +35,12 @@ pdftools_mkpdfa = gs \
# convert PDF to PDF/A-2B
%_pdfa2.pdf: %.pdf
$(call convert_pdfa,2,$<,$@)
$(call pdftools_mkpdfa,2,$<,$@)
# convert PDF to PDF/A-3B
%_pdfa3.pdf: %.pdf
$(call convert_pdfa,3,$<,$@)
$(call pdftools_mkpdfa,3,$<,$@)
# convert PDF to PDF/A (default variant 3B)
%_pdfa.pdf: %.pdf
$(call convert_pdfa,3,$<,$@)
$(call pdftools_mkpdfa,3,$<,$@)

BIN
src/usr/local/share/autodoc/sRGB.icc (Stored with Git LFS) Normal file

Binary file not shown.