Re: font problems

2020-10-18 Thread Werner LEMBERG
> If I understand correctly, LilyPond needs to find the HaranoAji > font, but Ghostscript does not need to find it. OK. > In Texinfo PDF building, you don't need Japanese fonts if only the > included figure PDFs use the Japanese fonts. Yes. > If you want to use Japanese characters in the text

Re: font problems

2020-10-18 Thread Masamichi Hosoda
>>> For Japanese fonts, I suggest HaranoAji. >>> It is the default Japanese font from TeX Live 2020. >>> >>> https://www.ctan.org/pkg/haranoaji >> >> OK, thanks for the suggestion. > > After some thinking I'm not sure whether HaranoAji is the best > solution. Given that both LilyPond and ghosts

Re: font problems

2020-10-18 Thread Werner LEMBERG
>>> [for Japanese] → Source Han Serif >> >> For Japanese fonts, I suggest HaranoAji. >> It is the default Japanese font from TeX Live 2020. >> >> https://www.ctan.org/pkg/haranoaji > > OK, thanks for the suggestion. After some thinking I'm not sure whether HaranoAji is the best s

Re: font problems

2020-10-18 Thread Jonas Hahnfeld
Am Sonntag, den 18.10.2020, 06:53 +0200 schrieb Werner LEMBERG: > > > * Reduce the number of extra fonts as much as possible to not > > > increase   the size of the documentation additionally.  [Not much > > > a problem I   think since most fonts will be subsetted by > > > ghostscript.] > > > > I

Re: font problems

2020-10-17 Thread Werner LEMBERG
>> * Reduce the number of extra fonts as much as possible to not >> increase   the size of the documentation additionally.  [Not much a >> problem I   think since most fonts will be subsetted by >> ghostscript.] > > I'd prefer to focus on fonts that are widely available. DejaVu and > Libertine a

Re: font problems

2020-10-17 Thread Werner LEMBERG
>> [for Japanese] → Source Han Serif > > For Japanese fonts, I suggest HaranoAji. > It is the default Japanese font from TeX Live 2020. > > https://www.ctan.org/pkg/haranoaji OK, thanks for the suggestion. Werner

Re: font problems

2020-10-17 Thread Jonas Hahnfeld
Am Samstag, den 17.10.2020, 11:58 +0200 schrieb Werner LEMBERG: > Folks, > > some time ago I reported font problems in the documentation (this is, > using fonts that are either not optimal, or not freely available). > > The basic question is which route we should go. > >

Re: font problems

2020-10-17 Thread Masamichi Hosoda
> * Documentation/snippets/utf-8.ly: > > [for Japanese] → Source Han Serif For Japanese fonts, I suggest HaranoAji. It is the default Japanese font from TeX Live 2020. https://www.ctan.org/pkg/haranoaji

Re: font problems

2020-10-17 Thread Werner LEMBERG
Folks, some time ago I reported font problems in the documentation (this is, using fonts that are either not optimal, or not freely available). The basic question is which route we should go. * Reduce the number of extra fonts as much as possible to not increase the size of the

Re: font problems

2020-09-10 Thread Werner LEMBERG
>> OK. Could you please send me the list of available fonts in the >> docker image? > > Get it with > $ docker run --rm -ti > registry.gitlab.com/lilypond/lilypond/ci/ubuntu-16.04:20200829 $cmd > > Attached is the full output of fc-list, Thanks a lot! I think that we can easily adjust the

Re: font problems

2020-09-07 Thread Jonas Hahnfeld
Am Montag, den 07.09.2020, 10:16 +0200 schrieb Werner LEMBERG: > > We're talking about different objectives here: CI is concerned > > *that* something can be built, but the *what* is discarded on > > success. > > Understood now, thanks. However, I still think it simplifies > debugging if the righ

Re: font problems

2020-09-07 Thread Werner LEMBERG
> We're talking about different objectives here: CI is concerned > *that* something can be built, but the *what* is discarded on > success. Understood now, thanks. However, I still think it simplifies debugging if the right fonts *are* in the docker image. > So everything added but not needed

Re: font problems

2020-09-06 Thread Jonas Hahnfeld
Am Sonntag, den 06.09.2020, 22:02 +0200 schrieb Werner LEMBERG: > > Am Sonntag, den 06.09.2020, 17:52 +0200 schrieb Werner LEMBERG: > >> To make good doc builds of LilyPond it would be important IMHO to > >> have all necessary fonts included in the docker images. > > > > Are these really important

Re: font problems

2020-09-06 Thread Werner LEMBERG
> Am Sonntag, den 06.09.2020, 17:52 +0200 schrieb Werner LEMBERG: >> To make good doc builds of LilyPond it would be important IMHO to >> have all necessary fonts included in the docker images. > > Are these really important to ensure that the documentation is > buildable? No, but I consider it

Re: font problems

2020-09-06 Thread Jonas Hahnfeld
Am Sonntag, den 06.09.2020, 17:52 +0200 schrieb Werner LEMBERG: > To make good doc builds of LilyPond it would be important IMHO to have > all necessary fonts included in the docker images. Are these really important to ensure that the documentation is buildable? The result is used nowhere (except

font problems

2020-09-06 Thread Werner LEMBERG
To make good doc builds of LilyPond it would be important IMHO to have all necessary fonts included in the docker images. Here's a list of 'foreign' fonts (or font families) that are not correctly set up currently. In particular, I think we should avoid non-free fonts for demonstration purposes,

Re: Oops! Another Revised Patch for MacOS font problems

2005-06-07 Thread Han-Wen Nienhuys
Matthias Neeracher wrote: Just my luck! My previous path used an API that changed in 2.5.28 so lilypond would segfault. This one should finally work. Here is a revised patch, based on the discussion we've had the last couple of days. Basically, it does the same thing as the fontforge based

Oops! Another Revised Patch for MacOS font problems

2005-06-07 Thread Matthias Neeracher
Just my luck! My previous path used an API that changed in 2.5.28 so lilypond would segfault. This one should finally work. Here is a revised patch, based on the discussion we've had the last couple of days. Basically, it does the same thing as the fontforge based patch, but now is based on

Revised Patch for MacOS font problems

2005-06-06 Thread Matthias Neeracher
Here is a revised patch, based on the discussion we've had the last couple of days. Basically, it does the same thing as the fontforge based patch, but now is based on fondu. Although fondu is platform independent, my patch is preprocessor bracketed to only compile on MacOS X, because some

Re: Proposed patch (Was: Font problems with 2.5.27 on MacOS)

2005-06-05 Thread Han-Wen Nienhuys
Matthias Neeracher wrote: On Jun 5, 2005, at 3:02 PM, Han-Wen Nienhuys wrote: Matthias Neeracher wrote: AFAIK, a .dfont is an archive of several TTFs, and should be possible to extract the right TTF font from the .dfont directly. Actually, we're not just dealing with dfonts here. Verdana,

Re: Proposed patch (Was: Font problems with 2.5.27 on MacOS)

2005-06-05 Thread Matthias Neeracher
On Jun 5, 2005, at 3:02 PM, Han-Wen Nienhuys wrote:Matthias Neeracher wrote: AFAIK, a .dfont is an archive of several TTFs, and should be possible to extract the right TTF font from the .dfont directly. Actually, we're not just dealing with dfonts here. Verdana, for instance, is a tradtional MacOS

Re: Proposed patch (Was: Font problems with 2.5.27 on MacOS)

2005-06-05 Thread Han-Wen Nienhuys
Matthias Neeracher wrote: Actually, we're not just dealing with dfonts here. Verdana, for instance, is a tradtional MacOS font, as far as I can tell. Also, I think that some font files may have the pfa font already embedded, so going through the ttf version may entail a loss of quality. Gotit

Re: Proposed patch (Was: Font problems with 2.5.27 on MacOS)

2005-06-05 Thread Han-Wen Nienhuys
Matthias Neeracher wrote: AFAIK, a .dfont is an archive of several TTFs, and should be possible to extract the right TTF font from the .dfont directly. Actually, we're not just dealing with dfonts here. Verdana, for instance, is a tradtional MacOS font, as far as I can tell. Also, I think th

Re: Proposed patch (Was: Font problems with 2.5.27 on MacOS)

2005-06-05 Thread Matthias Neeracher
On Jun 5, 2005, at 2:13 PM, Han-Wen Nienhuys wrote:Matthias Neeracher wrote: Yes,  I guess that's best. I'd be grateful if you could find out  how we can properly embed a dfont file. I know that there are  utilities for extracting TTFs from dfonts. I think I found a solution that is reasonably gene

Re: Proposed patch (Was: Font problems with 2.5.27 on MacOS)

2005-06-05 Thread Han-Wen Nienhuys
Matthias Neeracher wrote: Yes, I guess that's best. I'd be grateful if you could find out how we can properly embed a dfont file. I know that there are utilities for extracting TTFs from dfonts. I think I found a solution that is reasonably general: Why not pass all unknown font files to

Proposed patch (Was: Font problems with 2.5.27 on MacOS)

2005-06-05 Thread Matthias Neeracher
On Jun 3, 2005, at 2:08 AM, Han-Wen Nienhuys wrote: Matthias Neeracher wrote: It seems the changes in font.scm were harmful to MacOS X. On processing, I get: warning: don't know how to embed "Verdana"="/Library/Fonts/Verdana" and in the resulting PDF file, the chord names look weird (I b

Re: Font problems with 2.5.27 on MacOS

2005-06-03 Thread Han-Wen Nienhuys
Matthias Neeracher wrote: It seems the changes in font.scm were harmful to MacOS X. On processing, I get: warning: don't know how to embed "Verdana"="/Library/Fonts/Verdana" and in the resulting PDF file, the chord names look weird (I believe it's Verdana substituted with Courier). This s

Font problems with 2.5.27 on MacOS

2005-06-02 Thread Matthias Neeracher
It seems the changes in font.scm were harmful to MacOS X. On processing, I get: warning: don't know how to embed "Verdana"="/Library/Fonts/Verdana" and in the resulting PDF file, the chord names look weird (I believe it's Verdana substituted with Courier). This seems to be related with pan