Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2368)

Issue 300280043: Remove `-dgs-load-fonts' in lilypond-book

Can't Edit
Can't Publish+Mail
Start Review
Created:
3 years, 5 months ago by trueroad
Modified:
3 years ago
Reviewers:
pkx, dak, c_sorensen, lemzwerg, trueroad, wl, pkx166h
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Issue 4882: Remove `-dgs-load-fonts' in lilypond-book Some fonts cannot use with `-dgs-load-fonts' option (also `-dgs-load-lily-fonts' option).

Patch Set 1 #

Patch Set 2 : Remove `-dgs-load-fonts' in lilypond-book #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M make/lilypond-vars.make View 1 1 chunk +0 lines, -1 line 0 comments Download
M make/lysdoc-targets.make View 1 1 chunk +1 line, -1 line 0 comments Download
M python/book_base.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31
trueroad
Remove `-dgs-load-fonts' in lilypond-book
3 years, 5 months ago (2016-06-11 08:40:12 UTC) #1
lemzwerg
LGTM – please update the title of this Rietveld issue
3 years, 5 months ago (2016-06-11 08:47:31 UTC) #2
dak
On 2016/06/11 08:40:12, trueroad wrote: > Remove `-dgs-load-fonts' in lilypond-book The problem I have with ...
3 years, 5 months ago (2016-06-11 08:56:19 UTC) #3
lemzwerg
What about creating intermediate PDFs that don't embed fonts and deleting the intermediate EPS files?
3 years, 5 months ago (2016-06-11 09:36:23 UTC) #4
trueroad
Without `--bigpdfs`, intermediate PDFs and final PDFs are embedded subsetting fonts. They are not embedded ...
3 years, 5 months ago (2016-06-11 14:08:06 UTC) #5
dak
On 2016/06/11 08:56:19, dak wrote: > On 2016/06/11 08:40:12, trueroad wrote: > > Remove `-dgs-load-fonts' ...
3 years, 5 months ago (2016-06-11 20:21:35 UTC) #6
trueroad
> Ok, so I've taken a look at log files, and I have had to ...
3 years, 5 months ago (2016-06-12 10:22:28 UTC) #7
trueroad
I came up with another idea. Remove `-dgs-load-fonts` from lilypond-book default. During LilyPond and its ...
3 years, 5 months ago (2016-06-13 14:00:57 UTC) #8
pkx166h
On 2016/06/13 14:00:57, trueroad wrote: > I came up with another idea. > > Remove ...
3 years, 5 months ago (2016-06-13 15:00:04 UTC) #9
wl_gnu.org
>> Remove `-dgs-load-fonts` from lilypond-book default. During >> LilyPond and its documents are built, `-dgs-load-lily-fonts` ...
3 years, 5 months ago (2016-06-14 04:08:06 UTC) #10
trueroad
> Mhmm. As James writes, this can easily break. My proposal never change the font ...
3 years, 5 months ago (2016-06-14 13:20:48 UTC) #11
dak
On 2016/06/14 13:20:48, trueroad wrote: > > Mhmm. As James writes, this can easily break. ...
3 years, 5 months ago (2016-06-14 13:32:09 UTC) #12
wl_gnu.org
About a month ago we discussed how to reduce the disk space necessary for builing ...
3 years, 3 months ago (2016-07-22 15:16:10 UTC) #13
wl_gnu.org
> ps2pdf -I<fontresourcedir> \ > -dNOSAFER -P \ > Fontless.pdf WithEmbeddedFonts.pdf This should rather be ...
3 years, 3 months ago (2016-07-22 15:27:10 UTC) #14
dak
Werner LEMBERG <wl@gnu.org> writes: > About a month ago we discussed how to reduce the ...
3 years, 3 months ago (2016-07-22 15:57:30 UTC) #15
wl_gnu.org
>> Comparing the `--bigpdfs' method with the fontless PDF approach as >> outlined above, the ...
3 years, 3 months ago (2016-07-22 16:06:29 UTC) #16
c_sorensen
On 7/22/16 9:35 AM, "lilypond-devel on behalf of David Kastrup" <lilypond-devel-bounces+c_sorensen=byu.edu@gnu.org on behalf of dak@gnu.org> ...
3 years, 3 months ago (2016-07-22 17:48:22 UTC) #17
pkx
hello, On 22/07/16 18:48, Carl Sorensen wrote: > > On 7/22/16 9:35 AM, "lilypond-devel on ...
3 years, 3 months ago (2016-07-22 18:35:55 UTC) #18
dak
James <pkx@gnu.org> writes: > NB> It seems that the Japanese docs are built using its ...
3 years, 3 months ago (2016-07-22 19:06:38 UTC) #19
c_sorensen
On 7/22/16 12:35 PM, "James" <pkx@gnu.org> wrote: > >jlowe@jloweDesktop ~/lilypond-git/build/input $ du -smh * | ...
3 years, 3 months ago (2016-07-22 20:02:08 UTC) #20
trueroad
On 2016/07/22 15:27:10, wl_gnu.org wrote: > > ps2pdf -I<fontresourcedir> \ > > -dNOSAFER -P \ ...
3 years, 3 months ago (2016-07-24 13:36:05 UTC) #21
wl_gnu.org
> Moreover, Ghostscript developers seem to want that `.loadfont' is > not used. > > ...
3 years, 3 months ago (2016-07-24 15:27:47 UTC) #22
trueroad
> > Unfortunately, Ghostscript (ps2pdf) discards PDF destination names. > > So remote PDF links ...
3 years, 3 months ago (2016-07-26 15:25:45 UTC) #23
wl_gnu.org
> Extracting page mode and named destinations as PDFmark from the font > less PDF. ...
3 years, 3 months ago (2016-07-26 15:48:34 UTC) #24
trueroad
> If I understand the issue correctly, your solution overcomes the last > obstacle with ...
3 years, 3 months ago (2016-08-05 13:17:21 UTC) #25
trueroad_trueroad.jp
> About a month ago we discussed how to reduce the disk space necessary > ...
3 years ago (2016-10-25 15:28:40 UTC) #26
wl_gnu.org
>> I've just tested successfully the following method, except item 1, >> which I've executed ...
3 years ago (2016-10-25 21:18:09 UTC) #27
trueroad_trueroad.jp
>>> I've just tested successfully the following method, except item 1, >>> which I've executed ...
3 years ago (2016-10-26 11:36:52 UTC) #28
wl_gnu.org
>> Do you have time to integrate this into lilypond in the near future? > ...
3 years ago (2016-10-26 11:40:14 UTC) #29
trueroad_trueroad.jp
>>> Do you have time to integrate this into lilypond in the near future? >> ...
3 years ago (2016-10-26 13:03:13 UTC) #30
wl_gnu.org
3 years ago (2016-10-26 13:10:56 UTC) #31
> At least, in order to avoid broken glyphs, we will need to change
> whether or not embedding by the font type.

OK, so the issue is not integrating `extractpdfmark' into lilypond but
adjusting lilypond's font handling to make it work.

> Moreover, we will need to change font resource directory
> depending on the font type.
> 
> i.e.
> Japanese OTF: <fontresourcedir>/CIDFont/
> Other fonts?: <fontresourcedir>

Looks sensible.

> But, I have another idea.
> It does not need the font resource directory.
> To use a PostScript file which only contains font resources.
> It is one PostScript file and includes
> 
> `%%BeginFont`
> ~
> `%%EndFont`
> 
> blocks of all necessary fonts.
> I'm trying it.

Interesting!  And thanks for trying.


    Werner
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b