Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Embedding Times, Helvetica, and NewCenturySchlbk fonts

32 views
Skip to first unread message

Sukomal Modak

unread,
Oct 15, 2003, 7:54:02 PM10/15/03
to
Dear Friends,

I need to embed all the fonts in my pdf document created with TeX.
None of GhostView, ps2pdf, and Adobe Distiller can embed all the
fonts, even though all three programs can include majority of them.
Especially, Times, Helvetica, NewCenturySchlbk, and Symbol fonts are
of my main concern.

Can you please give me a pointer on how I can embed all the fonts in
my pdf file?

I am using plain TeX, MikTeX 2.3 on PC, GhostView 4.4, GhostScript
8.0, Acrobat Distiller 6.0, and Acrobat Reader 6.0. I want Type 1
postscript font only (high quality printing only). I ran LaTeX -->
dvips. Then I tried three different ways to create the pdf file.

1. Using GhostView 4.4: After opening the ps file in GhostView -->
File menu --> Convert --> Device=Pdfwrite-->Properties, in the
Properties window, I choose "Embed All Fonts=Yes". This does include
some fonts. Some fonts are missing. The missing fonts are displayed as
"-" or blank when the file is viewed in Adobe Acrobat. In the Adobe
Acrobat program, I can find the embedded fonts in the Document. Most
of the embedded fonts have names like Fx~c3c, Fs~c23, etc. Probably
they are CM fonts. I found out that Times, Helvetica,
NewCenturySchlbk, and Symbol fonts are not embedded, but they are
substituted. However, I do not know which fonts were not substituted
at all, as some symbols are missing in the documents.

2. ps2pdf: ps2pdf creates the pdf file which does embed some of the
fonts. I do not know how to control to embed all the fonts in this
way. Moreover, the file created in this way is much smaller than
created using procedure 1 (5Mb as opposed to 21Mb). The missing
symbols in procedure 1 are displayed. Most of the embedded fonts have
names like Fx, Fs, Ft, etc. Times, Helvetica, NewCenturySchlbk and
Symbol are not embedded.

3. Adobe Distiller 6.0: I can control font embedding here and can
control the Always Embedded list. I have included the entire Font list
(whatever is available in my machine) to the Always Embedded list.
Still the program does not embed all the fonts. Specially Times,
Helvetica, and NewCenturySchlbk fonts are not embedded. But Symbol
fonts are embedded. The missing symbols in pdf created in Procedure 1
are not missing here. Moreover, the file created in this way (with or
without Font Subsetting) is also much smaller than created using
procedure 1 (5Mb as opposed to 21Mb).
MT-Symbol-Italic is replaced by Courier and Courier is embedded.

I have gone through a lot of Google search in this group and in the
internet in general. I came to know that Adobe Distiller would be the
best suited program for creating pdf files. I want to use Adobe
Distiller, unless you have a better suggestion. In the following, I am
including the message from Adobe Distiller, i.e. the log file. (I have
deleted the repeated lines.) Then I am including the Font information
as obtained from Document Properties from the Adobe Acrobat program.
Also I am giving the font related lines from my TeX file.

Any kind suggestion will be highly appreciated.

With regards,
--
Sukomal Modak


Message from Adobe Distiller:
=============================
%%[ Warning: Times-Roman not found, using Font Substitution. Font
cannot be embedded.]%%
%%[ Warning: Times-Bold not found, using Font Substitution. Font
cannot be embedded.]%%
%%[ Warning: Times-Italic not found, using Font Substitution. Font
cannot be embedded.]%%
%%[ Warning: Times-BoldItalic not found, using Font Substitution. Font
cannot be embedded.]%%

%%[ Warning: Helvetica not found, using Font Substitution. Font cannot
be embedded.]%%
%%[ Warning: Helvetica-Oblique not found, using Font Substitution.
Font cannot be embedded.]%%
%%[ Warning: Helvetica-BoldOblique not found, using Font Substitution.
Font cannot be embedded.]%%

%%[ Warning: Helvetica-Narrow not found, using Font Substitution. Font
cannot be embedded.]%%
%%[ Warning: Helvetica-Narrow-Oblique not found, using Font
Substitution. Font cannot be embedded.]%%

%%[ Warning: NewCenturySchlbk-Roman not found, using Font
Substitution. Font cannot be embedded.]%%
%%[ Warning: NewCenturySchlbk-Italic not found, using Font
Substitution. Font cannot be embedded.]%%
%%[ Warning: NewCenturySchlbk-BoldItalic not found, using Font
Substitution. Font cannot be embedded.]%%

MT-Symbol-Italic not found, using Courier.


Adobe Acrobat, Document Properties (Info)
=========================================
Times-Roman T1, Custom --> TimeNewRomanPSMT, TT
Times-Bold T1, Custom --> TimeNewRomanPS-BoldMT, TT
Times-Italic T1, Custom --> TimeNewRomanPS-ItalicMT, TT
Times-BoldItalic T1, Ansi --> TimeNewRomanPS-BoldItalicMT, TT

Helvetica T1, Ansi --> ArialMT, TT
Helvetica-Oblique T1, Ansi --> Arial-ItalicMT, TT
Helvetica-BoldOblique T1, Ansi --> Arial-BoldItalicMT, TT

Helvetica-Narrow T1, Ansi --> Adobe Sans MM, T1
Helvetica-Narrow-Oblique T1, Ansi --> Adobe Sans MM, T1

NewCenturySchlbk-Roman T1, Ansi --> Adobe Serif MM, T1
NewCenturySchlbk-Italic T1, Ansi --> Adobe Serif MM, T1
NewCenturySchlbk-BoldItalic T1, Ansi --> Adobe Serif MM, T1

T12 Type 3, Custom --> T13, Type 3 (Not embedded)

All TimesNewRoman fonts are embedded
All CM fonts (CMMI10, CMR7, CMMI7, CMSY7) are embedded
All Arial-Narrow fonts are embedded
Symbol, Symbol-NormalItalic, SymbolPropBT, SymbolPropBT-NormalItalic
fonts are embedded
NewCenturySchlbk-NormalItalic T1, Ansi --> Embedded

Font Related TeX Statements used in the document:
=================================================
\font\fone=ptmr at 10pt % `Times-Roman'
\font\ff=ptmr at 6pt % `Times-Roman'
\font\ftia=ptmr at 18pt % `Times-Roman'
\font\ftib=ptmr at 48pt % `Times-Roman'
\font\ftic=ptmr at 12pt % `Times-Roman'
\font\fsmall=ptmr at 9pt % `Times-Roman'
\font\fsc=ptmr at 10pt % `Times-Roman'
\font\fsi=ptmr at 10pt % `Times-Roman'
\font\bf=ptmb at 10pt % `Times-Bold'
\font\it=ptmri at 10pt % `Times-Italic'
\font\sa=ptmbi at 10pt % `Times-BoldItalic'
\font\fsma=ptmr at 8pt % `Times-Roman'
\font\fnote=ptmr at 8pt % `Times-Roman'
\font\ftable=ptmr at 8pt % `Times-Roman'
\font\ftables=ptmr at 6pt % `Times-Roman'
\font\sit=ptmri at 8pt % `Times-Italic'
\font\sits=ptmri at 6pt % `Times-Italic'
\font\ftpd=ptmr at 24pt % `Times-Roman'
\font\ftpn=ptmr at 48pt % `Times-Roman'
\font\sf=ptmri at 8pt % `Times-Italic'

\font\sb=phvron at 10pt % `Helvetica-NarrowOblique'
\font\sc=phvbon at 10pt % `Helvetica-NarrowBoldOblique'
\font\sd=phvrrn at 10pt % `Helvetica-Narrow'
\font\se=phvbrn at 10pt % `Helvetica-NarrowBold'
\font\sbs=phvro at 9pt % `Helvetica-Oblique'
\font\ssb=phvron at 8pt % `Helvetica-NarrowOblique'

\fone % default font

kreutzer

unread,
Oct 16, 2003, 5:50:21 AM10/16/03
to
Sukoma...@yahoo.com (Sukomal Modak) wrote in message news:<11547c12.03101...@posting.google.com>...

> Dear Friends,
>
> I need to embed all the fonts in my pdf document created with TeX.
> None of GhostView, ps2pdf, and Adobe Distiller can embed all the
> fonts, even though all three programs can include majority of them.
> Especially, Times, Helvetica, NewCenturySchlbk, and Symbol fonts are
> of my main concern.
>
> Can you please give me a pointer on how I can embed all the fonts in
> my pdf file?

Recently, I had the same problem. Get a recent distribution
(teTeX 2.0 if you use unix, I am not sure about Windows) and
use -Pdownload35 in the dvips command line. This will include
the base "Laserwriter" fonts in the postscript file. ps2pdf
will then pick it up and include it in the pdf.

I also had a hard time finding the solution, googl'ing for
download35 gives more details.

Hope this helps,

Kreutzer

Patrick TJ McPhee

unread,
Oct 16, 2003, 10:34:41 AM10/16/03
to
In article <11547c12.03101...@posting.google.com>,
Sukomal Modak <Sukoma...@yahoo.com> wrote:

% 2. ps2pdf: ps2pdf creates the pdf file which does embed some of the
% fonts. I do not know how to control to embed all the fonts in this
% way. Moreover, the file created in this way is much smaller than

I believe ps2pdf14 will always embed all fonts.
--

Patrick TJ McPhee
East York Canada
pt...@interlog.com

Lars Madsen

unread,
Oct 16, 2003, 10:55:46 AM10/16/03
to

Patrick TJ McPhee wrote:
> In article <11547c12.03101...@posting.google.com>,
> Sukomal Modak <Sukoma...@yahoo.com> wrote:
>
> % 2. ps2pdf: ps2pdf creates the pdf file which does embed some of the
> % fonts. I do not know how to control to embed all the fonts in this
> % way. Moreover, the file created in this way is much smaller than
>
> I believe ps2pdf14 will always embed all fonts.

I have the same problem as the original poster.

I just tried ps2pdf14 to see if it embeds the times fonts, but Acrobat Reader (5
for linux) reports that it's using it's own Times fonts (TimesNewRoman) and
pdffonts (comes with xpdf) also states that the times fonts aren't embedded.

In order for ps2pdf14 to embed the base25 fonts shouldn't they be in the PS file
in the first place?


--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
AMSMATH Intro: http://www.ams.org/tex/short-math-guide.html
LaTeX Intro: http://people.ee.ethz.ch/~oetiker/lshort/lshort.pdf
Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
Superb Class: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
Remember to post minimal working examples.

Patrick TJ McPhee

unread,
Oct 17, 2003, 10:37:57 AM10/17/03
to
In article <3F8EB172...@RTFSIGNATUREimf.au.dk>,
Lars Madsen <dal...@RTFSIGNATUREimf.au.dk> wrote:

% I just tried ps2pdf14 to see if it embeds the times fonts, but Acrobat
% Reader (5
% for linux) reports that it's using it's own Times fonts (TimesNewRoman) and
% pdffonts (comes with xpdf) also states that the times fonts aren't embedded.

I just created a file called xxx.tex:

\font\x=ptmr8r

\x

The Time Traveller (for so it will be convenient to speak of him) was
expounding a recondite matter to us. His grey eyes shone and twinkled, and his
usually pale face was flushed and animated. The fire burned brightly, and the
soft radiance of the incandescent lights in the lilies of silver caught the
bubbles that flashed and passed in our glasses. Our chairs, being his patents,
embraced and caressed us rather than submitted to be sat upon, and there was
that luxurious after-dinner atmosphere when thought roams gracefully free of
the trammels of precision. And he put it to us in this way---marking the
points with a lean forefinger---as we sat and lazily admired his earnestness
over this new paradox (as we thought it) and his fecundity.


\bye

converted it to ps

tex xxx
dvips -o xxx.ps xxx

converted it to pdf using ps2pdf with GNU ghostscript 7.05 and checked the
fonts

ps2pdf xxx.ps
pdffonts xxx.pdf

name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
Times-Roman Type 1 no no no 9 0
QTCZNR+CMR10 Type 1C yes yes no 12 0

converted it to pdf using ps2pdf14 with the same version of gs

ps2pdf14 xxx.ps
pdffonts xxx.pdf

name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
KMQUHZ+Times-Roman Type 1C yes yes no 10 0
BKDUKI+CMR10 Type 1C yes yes no 13 0

and finally tried those conversions again using AFPL Ghostscript 8.00,
and found that the fonts were not embedded with that version. I also found
that it used Courier in place of CMR10, so there might be something
wrong with that ghostscript. I never finished installing it for some
reason.

The fonts don't have to be embedded in the PS file as long as ghostscript
knows where to get them from.

Lars Madsen

unread,
Oct 17, 2003, 11:12:09 AM10/17/03
to

Hmm interesting. I installed the AFPL GS 8.00 because some of our users has some
problems with times, mathptm and an combination of the fl ligature and
$\bar{X}_\cdot$

using latex+dvips+ps2pdf the X were placed above the _\cdot in the PDF file.

using ps2pdf14 fixed that. But perhaps I'd better install GNU GS as well.

Doesn't anyone have any pointers as to how one reconfigures dvips so it will
embed the times fonts?

Of course I could just install TeX Live 2003 (using teTeX 2) and use
-Pdownload35, but I want to besure that there are no more unexpected surprises
in the Windows version of TL 2003.

Thanks for testing with both systems.

Dan Luecking

unread,
Oct 17, 2003, 11:58:58 AM10/17/03
to
On Fri, 17 Oct 2003 17:12:09 +0200, Lars Madsen
<dal...@RTFSIGNATUREimf.au.dk> wrote:

>
>Of course I could just install TeX Live 2003 (using teTeX 2) and use
>-Pdownload35, but I want to besure that there are no more unexpected surprises
>in the Windows version of TL 2003.

You don't have to install TL2003 to use a few files from it. This
would seem to require only config.download35 and any .map file it
references.

Perhaps someone could post the contents (if short)?


Dan

--
Dan Luecking Department of Mathematical Sciences
University of Arkansas Fayetteville, Arkansas 72701
luecking at uark dot edu

Lars Madsen

unread,
Oct 17, 2003, 1:48:07 PM10/17/03
to

Dan Luecking wrote:
> On Fri, 17 Oct 2003 17:12:09 +0200, Lars Madsen
> <dal...@RTFSIGNATUREimf.au.dk> wrote:
>
>
>>Of course I could just install TeX Live 2003 (using teTeX 2) and use
>>-Pdownload35, but I want to besure that there are no more unexpected surprises
>>in the Windows version of TL 2003.
>
>
> You don't have to install TL2003 to use a few files from it. This
> would seem to require only config.download35 and any .map file it
> references.
>
> Perhaps someone could post the contents (if short)?
>
>
> Dan
>

hmm, good idea. I'll try this. Hopefully no extra fonts need to be installed.

Robin Fairbairns

unread,
Oct 17, 2003, 7:03:39 PM10/17/03
to
Lars Madsen <dal...@RTFSIGNATUREimf.au.dk> writes:

>Dan Luecking wrote:
>> You don't have to install TL2003 to use a few files from it. This
>> would seem to require only config.download35 and any .map file it
>> references.
>>
>> Perhaps someone could post the contents (if short)?

config.download35 merely says

p +download35.map

:-}

>hmm, good idea. I'll try this. Hopefully no extra fonts need to be installed.

not if you have the urw free fonts already.

roughly speaking, the map file is derived from the ordinary one by a
series of transformations like

ptmr8r Times-Roman " TeXBase1Encoding ReEncodeFont " <8r.enc

becoming

ptmr8r NimbusRomNo9L-Regu " TeXBase1Encoding ReEncodeFont " <8r.enc <utmr8a.pfb

the tetex updmap utility now does this for you automagically.
--
Robin (the partially spineless) Fairbairns, Cambridge

Lars Madsen

unread,
Oct 17, 2003, 7:50:27 PM10/17/03
to

>
> config.download35 merely says
>
> p +download35.map
>
> :-}
>
>
>>hmm, good idea. I'll try this. Hopefully no extra fonts need to be installed.
>
>
> not if you have the urw free fonts already.
>
> roughly speaking, the map file is derived from the ordinary one by a
> series of transformations like
>
> ptmr8r Times-Roman " TeXBase1Encoding ReEncodeFont " <8r.enc
>
> becoming
>
> ptmr8r NimbusRomNo9L-Regu " TeXBase1Encoding ReEncodeFont " <8r.enc <utmr8a.pfb
>
> the tetex updmap utility now does this for you automagically.

So I understand. But I'm not the one having to use it (I stopped using times
long ago) but others do. So basically all I need is the download35.map file
(since the free urw fonts are already on the TeX Live 7 CD)

Michael Shell

unread,
Oct 19, 2003, 4:34:33 AM10/19/03
to Sukomal Modak
On 15 Oct 2003 16:54:02 -0700

Sukoma...@yahoo.com (Sukomal Modak) wrote:

> I need to embed all the fonts in my pdf document created with TeX.
> None of GhostView, ps2pdf, and Adobe Distiller can embed all the
> fonts, even though all three programs can include majority of them.
> Especially, Times, Helvetica, NewCenturySchlbk, and Symbol fonts are
> of my main concern.
>
> Can you please give me a pointer on how I can embed all the fonts in
> my pdf file?


Sukomal,

The fonts you are mentioning are members of what are called the
"base 14" fonts. Be sure you have the GhostScript fonts installed
on your system - they are provided in a different .tar.gz file
under UNIX, but with MS Windows the .exe has it all:

http://www.cs.wisc.edu/~ghost/doc/AFPL/get811.htm


Go through my testflow diagnostic:

http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/testflow/

for a nice discussion on this issue, among others. I know it is a
long read, but it should tell you what you need to do. I have not
yet updated it for GhostScript 8.0, but the 7.05 ps2pdf parameters
should work under 8.0, unless the GhostScript developers have made
another change to the embedding rules. I certainly hope Patrick's
result was do to the fact that he did not finish installing the
GS fonts or that his ps2pdf did not invoke all the required
parameters. You can read the command line options below and set
them in your GUI GSview interface if you do not use a command
line interface:

gs -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=letter
-dPDFSETTINGS=/printer -dCompatibilityLevel=1.3 -dMaxSubsetPct=100
-dSubsetFonts=true -dEmbedAllFonts=true -sOutputFile=myfile.pdf myfile.ps


You do not need, and should not use PDF level 1.4 as it is not yet
fully supported under GhostScript, and many folks still use
applications that cannot read it anyway. Do not use level 1.2 as
it will not embed the base 14. Use level 1.3.


And please let me/us know if the above advice works for you,

Mike Shell

George N. White III

unread,
Oct 19, 2003, 8:56:45 AM10/19/03
to
On Sun, 19 Oct 2003, Michael Shell wrote:

> On 15 Oct 2003 16:54:02 -0700
> Sukoma...@yahoo.com (Sukomal Modak) wrote:
>
> > I need to embed all the fonts in my pdf document created with TeX.
> > None of GhostView, ps2pdf, and Adobe Distiller can embed all the
> > fonts, even though all three programs can include majority of them.
> > Especially, Times, Helvetica, NewCenturySchlbk, and Symbol fonts are
> > of my main concern.

> [...]


> gs -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=letter
> -dPDFSETTINGS=/printer -dCompatibilityLevel=1.3 -dMaxSubsetPct=100
> -dSubsetFonts=true -dEmbedAllFonts=true -sOutputFile=myfile.pdf myfile.ps

Good advice.

It is worth noting that if you configure dvips to use the URW fonts under
their original names, rather than aliasing them to the Adobe fonts, then
you will greatly reduce the chances that they get replaced with different
fonts during conversion to pdf, or while viewing or printing. It is also
more fair to the original authors of the URW fonts to give them credit
this way than to pretend that they are something else. My understanding
is that the URW designs are original, but with the scaling was adjusted to
approximate the Adobe fonts. Finally, there are differences between the
URW fonts, the Adobe fonts (which have themselves changed with the
replacement of Helvetica by Arial). The most glaring difference is for
characters like "{}()[]|/\" between Helvetica-Oblique and Arial-Italic.
They are slanted in H-O (and in the URW clone of H-O), but upright in A-I.

--
George N. White III <aa...@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia, Canada

Patrick TJ McPhee

unread,
Oct 19, 2003, 5:29:19 PM10/19/03
to
In article <20031019043433...@michaelshell.org>,
Michael Shell <ne...@michaelshell.org> wrote:


% gs -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=letter
% -dPDFSETTINGS=/printer -dCompatibilityLevel=1.3 -dMaxSubsetPct=100
% -dSubsetFonts=true -dEmbedAllFonts=true -sOutputFile=myfile.pdf myfile.ps

For the record, this does work as expected with my AFPL gs 8.0
installation. There does seem to be a difference in behaviour between
gs 7.05 and gs 8.0. In 7.05, ps2pdf13 will embed all fonts on its
own, but in 8.0, you need to pass -dPDFSETTINGS=/printer as an
additional option.

The problem I didn't understand (courier being substituted for cmr10)
did turn out to be due to incomplete configuration...

Michael Shell

unread,
Oct 19, 2003, 9:47:37 PM10/19/03
to
On Sun, 19 Oct 2003 12:56:45 GMT
"George N. White III" <aa...@chebucto.ns.ca> wrote:


> It is worth noting that if you configure dvips to use the URW
> fonts under their original names, rather than aliasing them
> to the Adobe fonts, then you will greatly reduce the chances
> that they get replaced with different fonts during conversion
> to pdf, or while viewing or printing.


I wonder if the dvips maintainers would consider making this
the default in future releases of the free LaTeX systems or
is it too much of a deviance from Adobe's "standards".

I should have also mentioned that Acrobat Reader will substitute
the base fonts if it recognizes their names even if the PDF
document has its own embedded set. This is another reason
subsetting is a good idea - as the subsets are given unique
names which Acrobat Reader will not recognize.

> Finally, there are differences between the URW fonts, the Adobe
> fonts (which have themselves changed with the replacement of
> Helvetica by Arial).


Yet another reason we should rally around the URW fonts as the
standard set of base PostScript fonts. Legally, Adobe may have
the exclusive control of this, but their standard could become
unworkable from a practical standpoint if they don't quit
changing it so much - and for other than technical reasons.


On Sun, 19 Oct 2003 23:29:19 +0200 (MEST)
pt...@interlog.com (Patrick TJ McPhee) wrote:

> For the record, this does work as expected with my AFPL gs 8.0
> installation. There does seem to be a difference in behaviour between
> gs 7.05 and gs 8.0. In 7.05, ps2pdf13 will embed all fonts on its
> own, but in 8.0, you need to pass -dPDFSETTINGS=/printer as an
> additional option.


Thanks for telling us this; I am really glad to hear this.
There was some talk awhile back in the GS developers' list about
changing the behavior of embedding the base 14. But, I don't remember
in what direction they were going (or even if it has been finalized
by now.) The change probably was that which you mentioned above.

I just wonder how many ways the user is going to have to request
that all fonts are embedded before all fonts are actually embedded.
(e.g., what next, "YesReallyReallyEmbedThemAll"?!)

As it stands now, the settings are very counterintuitive and the
GhostScript documentation on the subject needs to be updated:

http://www.cs.wisc.edu/~ghost/doc/AFPL/8.00/Ps2pdf.htm

It is also interesting to point out that the 1996 Adobe Distiller
Parameters Guide states that the base 14 fonts would never be embedded,
even if listed by the user in the AlwaysEmbed array:

http://www.cs.ualberta.ca/doc/Software_manuals/Acrobat3/help/distparm.pdf

But the 1999 release of this document:

http://partners.adobe.com/asn/acrobat/docs/distparm.pdf

does not seem to mention this restriction.


Finally, Sukomal, I tried to CC you on my last post, but your mailbox
was over quota. Do let us know via a post if you get it to work.


Mike


0 new messages