[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Garbage copied from PDF when using certain fonts
From: |
Masamichi Hosoda |
Subject: |
Re: Garbage copied from PDF when using certain fonts |
Date: |
Sun, 05 Sep 2021 15:27:38 +0900 (JST) |
>> In my experiment, Cairo without LilyPond does not generate garbled
>> characters. It seems to be a LilyPond issue instead of a Cairo
>> issue. Here's a python-cairo sample that works fine. [...]
>
> I can conform that this small script generates a PDF where
> copy-and-paste works as expected (I have cairo version 1.16.0
> installed on my GNU/Linux system). Looking into the uncompressed
> version of PDF (created with `pdftk`) I see that it contains proper
> ToUnicode cmaps for the two fonts.
>
> Does `-dbackend=cairo` pass markup strings directly to Cairo?
If I understand correctly, the cairo backend in LilyPond is passing
already garbled characters to the cairo library.
I created
https://gitlab.com/lilypond/lilypond/-/issues/6173
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Garbage copied from PDF when using certain fonts,
Masamichi Hosoda <=