diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-29 22:31:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-29 22:31:38 +0000 |
commit | a3fa78717ac6b690577c7f51f2a0d8ee947c0198 (patch) | |
tree | 646fbafe2e25c19af0deca8b46c7e32ef446b532 /Master/texmf-dist | |
parent | cbd0c9d5ad3299c4a474bb472f7dc205fb8c2bcc (diff) |
cmap (29jan21)
git-svn-id: svn://tug.org/texlive/trunk@57550 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/cmap/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cmap/cmap.sty | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/cmap/README b/Master/texmf-dist/doc/latex/cmap/README index c5f6c21c348..3a012e5b34c 100644 --- a/Master/texmf-dist/doc/latex/cmap/README +++ b/Master/texmf-dist/doc/latex/cmap/README @@ -90,3 +90,5 @@ History: allows to search hyphenated words, ignoring the hyphenation character. (this requires redefining the \defaulthyphenchar to 127). This change was inspired by discussion with Alexey Kuligin and Alexey Vikhlinin. +2021/01/29 version 1.0i: + suppress cmaps automatically generated by pdfTeX for all handled fonts diff --git a/Master/texmf-dist/tex/latex/cmap/cmap.sty b/Master/texmf-dist/tex/latex/cmap/cmap.sty index 87a0361d20b..f77cc99d61e 100644 --- a/Master/texmf-dist/tex/latex/cmap/cmap.sty +++ b/Master/texmf-dist/tex/latex/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 |