[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
- Garbage copied from PDF when using certain fonts, (continued)
- 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
- Re: Garbage copied from PDF when using certain fonts,
Werner LEMBERG <=
Re: Garbage copied from PDF when using certain fonts, Huanyu Liu, 2021/08/14