VietTUG.org - old forum - threads' archive

thread_id = 1329, contains 1329
id = 1329, parent = 0, thread = 1329, catid = 7, locked = 0, moved = 0,
userid = kyanh, ip = 222.252.245.239, time = 2006/03/02 (1141236718) ,
subject = gói: cmap, hits = 464, karma = 0+0-,
URL: ftp://tug.ctan.org/pub/tex-archive/macr … b/cmap.zip
http://ctan.org/tex-archive/macros/latex/contrib/cmap/

( gói này có sẵn trong vnmik 2.1 )
The cmap package is intended to make the PDF files generated by pdflatex "searchable and copyable" in acrobat reader and other compliant PDF viewers.

Just put the line \usepackage{cmap} at the beginning of your preamble, and it will pre-load the needed CMap translations for the fonts used in the document, provided that there exists the file <encoding>.cmap for the font encoding.

Current version of the CMap package includes CMap files for the following LaTeX font encodings: T1, T2A, T2B, T2C, T5.

It works for Type 1 fonts, and also for Type 3 fonts (including the PK fonts which are preloaded as Type 3 fonts into PDF) with recent versions of pdftex.

The main limitation currently is inability to work with virtual fonts, and this is because of limitation of pdftex, and may be resolved in a future versions of pdftex.