Werner LEMBERG wrote: >> What is the prerequisite for gererating a pdf file with chinese >> characters can be copied and pasted? > > `ToUnicode' dictionaries for all (sub)fonts within the PDF file. > >> I found when I use the dvipdfmx, both the type1 chinese character >> and truetype chinese character can be copied and pasted; when I use >> the pdflatex to work with TrueType fonts, I can't copy and paster >> them, why? > > dvipdfmx generates ToUnicode dictionaries automatically, but pdftex > doesn't do that (yet). Instead, you have to use Vladimir Volovich's > `cmap.sty', providing proper mapping files for all subfonts of an > encoding. Below you can find a sample cmap file (c1017.cmap) for > subfont 17 of the C10 encoding (GB 2312) -- it is incomplete and > contains just the value for a single character. Because dvipdfmx > works just fine I was always too lazy to write proper scripts which > create such cmap files automatically from SFD files. Volunteers > welcome. > It seems that Unicode.sty is very regular and cmap files will be easy to generated. Maybe there is no need to generate cmap files if just using utf8 fonts with cmap.sty?
_______________________________________________ Cjk maillist - [email protected] http://lists.ffii.org/mailman/listinfo/cjk
