summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cmap/cmap.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-01-30 03:00:54 +0000
committerNorbert Preining <norbert@preining.info>2021-01-30 03:00:54 +0000
commit431a21790bcbf7d842f7a3d5e6e3eaef4ae823af (patch)
tree5ae95f1f34bf81d03294fc88ed5cab6eb0e25a88 /macros/latex/contrib/cmap/cmap.sty
parentbc31a53b31d92ddf5db3e7df811734a0141f8b3f (diff)
CTAN sync 202101300300
Diffstat (limited to 'macros/latex/contrib/cmap/cmap.sty')
-rw-r--r--macros/latex/contrib/cmap/cmap.sty5
1 files changed, 3 insertions, 2 deletions
diff --git a/macros/latex/contrib/cmap/cmap.sty b/macros/latex/contrib/cmap/cmap.sty
index 87a0361d20..f77cc99d61 100644
--- a/macros/latex/contrib/cmap/cmap.sty
+++ b/macros/latex/contrib/cmap/cmap.sty
@@ -1,4 +1,4 @@
-% Copyright (c) 2003-2008 Vladimir Volovich <vvv@vsu.ru>
+% Copyright (c) 2003-2021 Vladimir Volovich <vvv@vsu.ru>
% cmap package -- download CMap files into PDF
% to make "search" and "copy-and-paste" functions work properly
% You may distribute and/or modify this program under the terms of LPPL
@@ -11,7 +11,7 @@
% Werner Lemberg
% Oleg Katsitadze
-\ProvidesPackage{cmap}[2008/03/06 v1.0h CMap support: searchable PDF]
+\ProvidesPackage{cmap}[2021/01/29 v1.0i CMap support: searchable PDF]
\DeclareOption{resetfonts}{%
\@for\reserved@a:=%
@@ -62,6 +62,7 @@
%attr {/Type /CIDFile}
file {\reserved@f}%
\expandafter\xdef\csname cmap@set@\cmap@f@encoding\endcsname{%
+ \pdfnobuiltintounicode\noexpand\font@name
\noexpand\expandafter\pdffontattr\noexpand\font@name{/ToUnicode \the\pdflastobj\space 0 R}}%
}{%
\global\expandafter\let\csname cmap@set@\cmap@f@encoding\endcsname\empty