> 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. [...]
Confirmed. > It seems to be all about CID. Maybe related to Issue #6058? Yes and no. The fix for #6058 was to make CID fonts display correctly at all. AFAICS, to make copy and paste work for CID fonts it is necessary to add a ToUnicode map. We don't do that currently. [This is probably worth an entry in our issues database.] Masamichi-san, please correct me if I am wrong. As a temporary solution, use a TTF version of this Noto font. For testing purposes, I've downloaded the font in question from https://gitlab.erudit.org/erudit/portail/eruditorg/-/blob/master/eruditorg/static/fonts/Noto/NotoSerifCJKsc-Regular.ttf This makes copy and paste work just fine. Another advantage is that the output file is only 0.2MByte (probably due to good subsetting capabilities of ghostscript 9.54 on my GNU/Linux box); using the CID-keyed font the output file is 1.1 MByte. Werner _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond