[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Garbage copied from PDF when using certain fonts
From: |
Huanyu Liu |
Subject: |
Garbage copied from PDF when using certain fonts |
Date: |
Sat, 14 Aug 2021 17:10:52 +0800 |
Hello LilyPond developers,
When using certain fonts (in my case, Noto CJK, both pan-CJK and subset
versions), the output looks right but when copied from the generated PDF file,
everything becomes garbage. For example:
\version "2.22.0"
\markup {
\override #'(font-name . "Noto Serif CJK SC")
{ English 中文 にほんご }
}
The output looks right, but when copied it becomes "&OHMJTI ╚倁 מ؆ׇ".
If I use Noto Sans CJK SC, it will be "&OHMJTI ╈乄 מ؆ׇ" (different from the
previous one). Noto Serif JP (not pan-CJK) then "&OHMJTI ╚倀 מ؆ׇ". (It
seems that LilyPond is smart when selecting the language depending on your
system environment, so we may have to use the subset version to select
explicitly.)
Other fonts that I have used so far don't have any problems.
It seems to be all about CID. Maybe related to Issue #6058?
Best regards,
Huanyu Liu
- Garbage copied from PDF when using certain fonts,
Huanyu Liu <=
- Garbage copied from PDF when using certain fonts, Huanyu Liu, 2021/08/14
- Re: Garbage copied from PDF when using certain fonts, Knut Petersen, 2021/08/16
- Re: Garbage copied from PDF when using certain fonts, Huanyu Liu, 2021/08/16
- Re: Garbage copied from PDF when using certain fonts, Werner LEMBERG, 2021/08/16
- Re: Garbage copied from PDF when using certain fonts, Masamichi Hosoda, 2021/08/17
- Re: Garbage copied from PDF when using certain fonts, Werner LEMBERG, 2021/08/20
- Re: Garbage copied from PDF when using certain fonts, Masamichi Hosoda, 2021/08/20