Taco Hoekwater wrote:
Wolfgang Schuster wrote:
Hi Hans,
you showed a while ago how the actualtext function of pdf works and i have a module where i would use it but letters outside of ascii appear wrong when i copy the text
\starttext text \pdfliteral{/Span <> BDC}Meier\pdfliteral{EMC} text \stoptext
Is /ActualText supposed to be in PDFDoc Encoding?
nopdfcompression \def\pdfactualtext#1#2% {\pdfliteral direct{/Span <> BDC}#1\pdfliteral direct{EMC}} \starttext text \pdfactualtext{Meier}{Müller} text \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------