|
From: | Auto mailings of changes to Lily Issues via Testlilyissues-auto |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5947 Add `-dfont-ps-resdir` option to embed fonts to PDFs later |
Date: | Sat, 02 May 2020 09:57:02 -0000 |
I've pushed to staging.
commit 2ff485fd858d55263ca46db431793943f8c993f1
Date: Mon Apr 27 23:52:53 2020 +0900
Issue5947/2: Doc: Add -dfont-ps-resdir
option to running.itely
commit 3ada4bbab00f1ad91bbf78ab4c63324b4e539d10
Date: Mon Apr 27 23:52:33 2020 +0900
Issue5947/1: Add -dfont-ps-resdir
option to embed fonts to PDFs later
[issues:#5947] Add -dfont-ps-resdir
option to embed fonts to PDFs later
Status: Fixed
Labels: Fixed_2_21_2
Created: Tue Apr 28, 2020 12:42 PM UTC by Masamichi Hosoda
Last Updated: Sat May 02, 2020 05:04 AM UTC
Owner: Masamichi Hosoda
Add -dfont-ps-resdir
option to embed fonts to PDFs later
A similar purpose option, -dfont-export-dir
exports fonts
as individual PostScript files for font embedding later.
However it cannot embed CID fonts to PDFs with Ghostscript 9.26 and later.
This -dfont-ps-resdir
option creates
a subset of PostScript resource directory
in the directory specified by the option.
The directory contains symbolic links to font files
that Ghostscript can use to embed the fonts to PDFs later.
This method can embed CID fonts, even with Ghostscript 9.26 and later.
This -dfont-ps-resdir
option skips TrueType fonts
because garbled characters occur same as -dfont-export-dir
option.
Unlike -dfont-export-dir
option,
it skips OTC (OpenType Collection/CFF) font files
because Ghostscript cannot handle them directly.
Simple usage:
$ lilypond -dfont-ps-resdir=resdir -dgs-never-embed-fonts foo.ly $ gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite \ -I resdir -I resdir/Font \ -sOutputFile=foo.embedded.pdf foo.pdf
Note:
It is better not to specify the directory
that contains the name Resource
because it has a special meaning
when specified with the -I option for Ghostscript.
http://codereview.appspot.com/577900043
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |