2007/12/14, Hans Hagen
Zhichu Chen wrote:
Hi Wolfgang,
On Dec 13, 2007 7:17 PM, Wolfgang Schuster
wrote: Hi guys,
Maybe this post has gone too far, and I've tried a bunch of methods to get my map work. Anyway, I can't. And there's something I must say, why
must embed the whole otf file? It's about 15M for my only-one-character test file and about 20M for my another only-two-characters test file, besides, embedding otf files are so so slow. I don't think I'm ready for otf yet. I tried the Song font from Adobe a few days ago with XeTeX and a older chinese example text from you and the file size with 37 pages of output was a little bit over 1 MB, the same result with luaTeX but I got more
2007/12/13, Zhichu Chen
: pdftex pages. Then XeTeX can treat otf fonts correctly? I never tried that. I convert the otf file into multiple type1 fonts (which compiles much more faster on my PC) and I got 1.7M with 60 pages with pdftex embed the subsets. And I got 440.9K with the same document and the same tfm files except I specify Adobe Reader to use SimSun and not embed any fonts. I like the later.
xetex just pipes data into dvipdfmx, and dvipdfmx can subset (this was accomplished by Chof, who lives in Korea and uses huge fonts)
But you don't have to care about this normally because this is done automatic, it is harder to prevent this ConTeXt and produce only xdv files. The file size with XeTeX should be the same as in the pdfTeX way but I found no way to prevent xdvipdfmx to embedd the fonts, I know there is a "-e" flag but I don't if this should only lead to embedd the complete font or to disable font embedding but I can't test this because my xdvipdfmx has no "-e" flag. Wolfgang