[pdftex] Multiple references to image fails.

George N. White III gnwiii at gmail.com
Sat Jun 14 20:58:13 CEST 2008


On Sat, Jun 14, 2008 at 12:26 PM, Heiko Oberdiek
<oberdiek at uni-freiburg.de> wrote:

> On Sat, Jun 14, 2008 at 10:33:59AM -0400, John Culleton wrote:
>
>> On Saturday 14 June 2008 08:40:01 am Akira Kakuto wrote:
>
>> > tex (or latex) + dvipdfmx -V 5 test: 2211 bytes
>
>> Yes indeed.  However I am using functions such as bookmarks etc. that
>> require pdftex.
>
> hyperref also supports dvipdfm(x) with bookmarks.

Perhaps more accurately: "if your TeX system does not
support bookmarks with hyperref and dvipdfm(x), then
your system is not working properly".

Short documents probably aren't a good test, as the size
is dominated by fonts.

My test suite formats story.tex with context, pdftex, and xetex
(source converted to utf-8 format and Charis SIL fonts):

$ ls -l *story.pdf
-rw-r--r-- 1 gwhite bod 68937 2007-11-11 11:35 cont-story.pdf
-rw-r--r-- 1 gwhite bod 76419 2008-05-12 18:18 story.pdf
-rw-r--r-- 1 gwhite bod 38722 2008-05-12 18:13 x-story.pdf

The differences are likely in the fonts:

$ pdffonts cont-story.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
DKSPBK+LMRoman12-Regular             Type 1            yes yes yes      4  0
DUHQUV+LMRoman12-Bold                Type 1            yes yes yes      5  0
YVOIVI+LMRoman12-Oblique             Type 1            yes yes yes      6  0

$ pdffonts story.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
KCJNXG+LMRoman10-Bold                Type 1            yes yes no       4  0
GSPSWJ+LMRomanSlant10-Regular        Type 1            yes yes no       5  0
TRINMK+LMRoman10-Regular             Type 1            yes yes no       6  0

$ pdffonts x-story.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
BARAMO+CharisSIL-Bold                CID TrueType      yes yes yes      5  0
EKOQYZ+CharisSIL-Italic              CID TrueType      yes yes yes      7  0
GCZUAD+CharisSIL                     CID TrueType      yes yes yes      9  0

I updated the context run:

$ ls -l cont-story.pdf
-rw-r--r-- 1 gwhite bod 70256 2008-06-14 15:08 cont-story.pdf

$ pdffonts cont-story.pdfname                                 type
         emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
DKSPBK+LMRoman12-Regular             Type 1            yes yes yes      4  0
DUHQUV+LMRoman12-Bold                Type 1            yes yes yes      5  0
BFTHNQ+LMRomanSlant12-Regular        Type 1            yes yes yes      6  0

Using "Times" fonts:

$ ls -l cont-story.pdf
-rw-r--r-- 1 gwhite bod 27841 2008-06-14 15:21 cont-story.pdf
$ pdffonts cont-story.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
QKWWRX+NimbusRomNo9L-Regu            Type 1            yes yes yes      4  0
GAGMEC+NimbusRomNo9L-Medi            Type 1            yes yes yes      5  0
UGVJCH+NimbusRomNo9L-ReguItal        Type 1            yes yes yes      6  0

Using TeX Gyre Termes fonts:
$ ls -l cont-story.pdf
-rw-r--r-- 1 gwhite bod 76091 2008-06-14 15:28 cont-story.pdf
$ pdffonts cont-story.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
OJIUEC+TeXGyreTermes-Regular         Type 1            yes yes yes      4  0
ZLYWTG+TeXGyreTermes-Bold            Type 1            yes yes yes      5  0
CRMJSW+TeXGyreTermes-Italic          Type 1            yes yes yes      6  0

I conclude that there are big differences between fonts, but I'm not
convinced such differences should be significant in a book-length
document.   Back in the days of floppy disks, and because I work
in remote sensing so it is pretty much obligatory to have images
in documents, using the Adobe base fonts (so they did not get
embedded) was sometimes necessary to get a 1.4mb pdf, but
one of the big problems back then was printer drivers that put
bitmaps of rasterized glyphs into pages.

-- 
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia


More information about the pdftex mailing list