[XeTeX] Copy and paste of oldstyle numbers of the latin modern font

Albert Kapune akapune at kapune.org
Mon May 5 17:41:53 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ulrike Fischer schrieb am 05.05.2008 11:57 folgendes:

> Hello,
> 
> if I run the following document and try to copy & paste from the pdf I
> get:
> 
> test .....
> .
> 
> \documentclass{article}
> \usepackage{fontspec}
> \setmainfont[Numbers=OldStyle]{Latin Modern Roman}
> 
> \begin{document}%
> test 12345 
> \end{document}
> 
> Is there something one can do to correct this?
> 
> 
> This is XeTeX, Version 3.1415926-2.2-0.998.1 (MiKTeX 2.7)
> This is xdvipdfmx-0.6 svn 663 by Jonathan Kew and Jin-Hwan Cho
> 

If I compile that example it is shown as
	test 12345
by Acrobat 8. When I copy that string into WORD 2003 it is presented as
	test kVkVkVkVkV
(where each kV combination is a ligature in Arial Unicode).

WORD’s UTf-8 analysis identifies these ligatures as F731, F732, F733,
F734, and F735, respectively. All of them are no valid unicode characters.

Kind regards
Albert

- --
Dr. Albert Kapune
Brunnenstrasse 1
D-59514 Welver-Nateln
Telefon: (02384) 911012
Telefax: (02384) 911011

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)

iD8DBQFIHyrBaFEIN1wdycARAmqaAJ9C9myLuQA57UHqF1hSf55GSH9w6wCgkD/k
oOr7BcyMJikO/M6E9a5WUkM=
=fZRz
-----END PGP SIGNATURE-----


More information about the XeTeX mailing list