[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#178717: tetex-bin: pdftex/pdflatex fails to subset embedded CJK TrueType font



On 28.01.03 Chung-chieh Shan (ken@digitas.harvard.edu) wrote:

Hello,

> At http://www.eecs.harvard.edu/~ccshan/debbugs/pdflatex/ is a
> document containing some CJK characters.  The output of pdflatex
> when run on "bug.tex" is the PDF file "bug.pdf".  This PDF file
> contains the following fonts, as listed by the "pdffonts" command:
> 
> name                                 type         emb sub uni object ID
> ------------------------------------ ------------ --- --- --- ---------
> UBZQKZ+URWPalladioL-Roma             Type 1       yes yes no       6  0
> bsmi05                               TrueType     yes no  no       9  0
> bsmi01                               TrueType     yes no  no      12  0
> bsmi03                               TrueType     yes no  no      15  0
> 
> As this table shows, the CJK fonts bsmi* are embedded (as desired)
> but not subsetted (undesired).  This seems to contradict the
> documentation; for instance, page 15 of pdftexman.pdf.gz states
> that "in general this [encoding] option is highly preferred and is
> required when subsetting a TrueType font", and the encoding is
> indeed specified in /etc/texmf/dvips/arphic.map (cjk-latex package).
> 
I've forwarded that bug to upstream. We've got a first response. The
most important answer: These fonts are in reality included as subset.
You'll notice that the ttf is much bigger than the resulting pdf
file. I can't check this, but if you add another letter to you
document, which is not yet contained the pdf will still grow in size.
The bug was forwarded to ntg-pdftex <at> ntg.nl and I guess this is a
bug in pdftex, cause is does subsetting but does not declare this
correctly in the pdf file.

Regards,
  Hilmar
-- 
sigmentation fault



Reply to: