Hi Wolfgang,

On Dec 14, 2007 6:24 PM, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
2007/12/14, Hans Hagen <pragma@wxs.nl>:
> Zhichu Chen wrote:
> > Hi Wolfgang,
> >
> > On Dec 13, 2007 7:17 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com>
> > wrote:
> >
> >> 2007/12/13, Zhichu Chen <zhichu.chen@gmail.com >:
> >>> 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
> >> pdftex
> >>> 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
> >> 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.
No offense but xdvipdfmx has some problem with the graphics. I'm kind of one of the managers of the Chinese TeX Society and we have a forum called CTeX forum, and there're a lot of posts complaining that xdvipdfmx will cut part of their graphics. For instance, if they draw a picture with metapost, xdvipdfmx will only show the first quadrant of it. I guess it's confused about the boundingbox and the accordinate.


Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________



--
Best Regards
Chen
----------------------------------------------------------------

         Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
        No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
            tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                              | www.sinap.ac.cn
----------------------------------------------------------------