>> 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

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to