bug-lilypond
[Top][All Lists]
Advanced

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

Re: Garbage copied from PDF when using certain fonts


From: Werner LEMBERG
Subject: Re: Garbage copied from PDF when using certain fonts
Date: Sat, 21 Aug 2021 07:54:25 +0000 (UTC)

>> I've looked up the cairo bug tracker but couldn't find something
>> related to copy-and-paste of CID-keyed fonts.  Masamichi-san, could
>> you submit an issue there so that this gets fixed eventually?  I
>> guess this would be beneficial for other projects, too.
> 
> 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?  


    Werner



reply via email to

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