lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5947 Add `-df


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: Thu, 30 Apr 2020 07:40:13 -0000

Patch on countdown for May 2nd


[issues:#5947] Add -dfont-ps-resdir option to embed fonts to PDFs later

Status: Started
Created: Tue Apr 28, 2020 12:42 PM UTC by Masamichi Hosoda
Last Updated: Wed Apr 29, 2020 07:38 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]