[Top][All Lists]

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

Re: NotoSansCJKjp-Regular cannot be loaded

From: Masamichi Hosoda
Subject: Re: NotoSansCJKjp-Regular cannot be loaded
Date: Sun, 03 Jan 2021 12:59:52 +0900 (JST)

>> ```
>> Layout output to `./1a/lily-d0aeef0b.eps'...
>> fatal error: Font NotoSansCJKjp-Regular cannot be loaded via Ghostscript 
>> because it is an OpenType/CFF Collection (OTC) font.
>> ```

> /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc: Noto Sans CJK 
> JP:style=Regular

This file contains NotoSansCJKjp-Regular
but it is an OpenType/CFF Collection (OTF) font.

LilyPond can handle OTC fonts but Ghostscript cannot.

If you use LilyPond without `--dgs-load-fonts`,
OTC fonts don't raise the error because LilyPond processes them.
Instead, with `--dgs-load-fonts`,
LilyPond does not process font files
and passes through the file name to Ghostscript.
But Ghostscript cannot handle the OTC fonts.

Another solution is to not use OTC fonts.

Non-OTC version of NotoSansCJKjp-Regular is contained
by `NotoSansCJKjp-Regular.otf`.

Note: NotoSansJP-Regular and NotoSansCJKjp-Regular are similar
but different fonts.

Unfortunately, Debian/Ubuntu does not seem to have a package
that contains `NotoSansCJKjp-Regular.otf`.

reply via email to

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