[NTG-pdftex] Error with \pdfglyphtounicode when surrogates areinvolved.

Ross Moore ross.moore at mq.edu.au
Wed May 31 05:28:45 CEST 2017


Hi Karl, Akira and others.

On May 31, 2017, at 7:19 AM, Karl Berry <karl at freefriends.org<mailto:karl at freefriends.org>> wrote:

   Is the only documentation on this by reading the source file?
   tounicode.c

As far as I know yes. -k

OK.
Reading it led me to try with spaces separating the groups of 4 Hex digits.

  \pdfglyphtounicode{Z}{D835 DC81}% MATH bold-italic-Z U+1D481 (U+D835 U+DC81)

This worked!

So it really was just an instance of needing some documentation
to tell what is the supported syntax.


Cheers

Ross


Dr Ross Moore
Mathematics Dept | 12 Wally’s Walk, 734
Macquarie University, NSW 2109, Australia
T: +61 2 9850 8955  |  F: +61 2 9850 8114
M:+61 407 288 255  |  E: ross.moore at mq.edu.au<mailto:ross.moore at mq.edu.au>

http://www.maths.mq.edu.au


[cid:image001.png at 01D030BE.D37A46F0]<http://mq.edu.au/>


CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.

This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-pdftex/attachments/20170531/0612f0cf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <http://mailman.ntg.nl/pipermail/ntg-pdftex/attachments/20170531/0612f0cf/attachment-0001.png>


More information about the ntg-pdftex mailing list