[dvipdfmx] Spurious spaces in copied text with PK fonts

Shunsaku Hirata shunsaku.hirata74 at gmail.com
Sat Feb 20 14:44:19 CET 2021


The copy-paste behavior depends on the PDF application
you are using. I could not reproduce the problem in Acrobat
Reader DC (2021.001.20138).
I also tested with pdftotext (version 0.86.1) and found no
problems.

Thanks,
Shunsaku Hirata

2021年2月19日(金) 20:18 Igor Liferenko <igor.liferenko at gmail.com>:
>
> Hi,
>
> If character "y" is in PK font, the text "xyz" after copying is pasted
> as "x y z".
> The same is if all thee characters are in PK font. If all three are in
> Type1 font,
> the text is pasted as "xyz".
>
> This is test.tex:
>
>     \font\my=cmtt10 x{\my y}z \bye
>
> Run "tex" on it and then
>
>     T1FONTS=/tmp dvipdfmx test
>
> and then copy-paste the text.
>
> Regards,
> Igor



More information about the dvipdfmx mailing list.