ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to use and not embed the 14 PDF standard 14 fonts?
@ 2004-03-18 10:40 Stefan Wachter
  2004-03-19  2:11 ` Alexander Klink
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Wachter @ 2004-03-18 10:40 UTC (permalink / raw)


Hi all!

1. Does anyone know how to use the 14 PDF standard fonts (Courier, 
Helvetica, Times (each in 4 faces), Symbol, and ITC-Zapf) in ConTeXt?

2. Does anyone know how pdfTeX can be instructed not to embed them?

Thanks for your attention,
--Stefan


PS (Background): I am creating lots of small PDF documents where font 
embedding would create prohibitive large documents.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to use and not embed the 14 PDF standard 14 fonts?
  2004-03-18 10:40 How to use and not embed the 14 PDF standard 14 fonts? Stefan Wachter
@ 2004-03-19  2:11 ` Alexander Klink
  2004-03-19  3:34 ` Vit Zyka
  2004-03-23  8:00 ` Stefan Wachter
  2 siblings, 0 replies; 4+ messages in thread
From: Alexander Klink @ 2004-03-19  2:11 UTC (permalink / raw)


Hi Stefan,

On Thu, Mar 18, 2004 at 11:40:20AM +0100, Stefan Wachter wrote:
> 1. Does anyone know how to use the 14 PDF standard fonts (Courier, 
> Helvetica, Times (each in 4 faces), Symbol, and ITC-Zapf) in ConTeXt?
I once knew it, but forgot :( Once it apparently worked with
\usetypescriptfile[type-enc]
\setupbodyfont[Times]
but that was a while ago and seems to be broken when I tried it today.
I use my own typescript file for the URW version of these (actually,
there is GPLed Base35 version, which includes the 35 standard fonts
and an AFPLed Base80(!) version, which includes quite some other
standard fonts. Including Univers (which is nice, because it is the
CI font of our university) and Optima clones. I can only praise them.
Once I finish the typescript for the Base80 (I only have on for the
Base40something), I can put it up on the web as well, if list members
are interested.

> 2. Does anyone know how pdfTeX can be instructed not to embed them?
Yes, the LaTeX psnfss manual says that psnfss.map does not embed them.
So I guess changing the corresponding lines in your pdftex.map, e.g.
from:
phvb8r Helvetica-Bold "TeXBase1Encoding ReEncodeFont" <8r.enc 
to:
hvb Helvetica-Bold " TeXnANSIEncoding ReEncodeFont " <texnansi.enc

should work. But use it with caution, as George white points out
in http://article.gmane.org/gmane.comp.tex.context/13795/:

: Hans has demonstated that even the Adobe fonts don't have the same
: metrics.  It should also be noted that in practice, if you don't embed
: fonts, you will often get font substitutions in the PS rasterizer (e.g.,
: ghostscript defaults will use URW fonts where the file requests a Base35
: font, current acrobat reader will use Arial where the file requests
: Helvetica, some printers with clone interpreters (many recent HP models)
: use "clone" fonts. 

> PS (Background): I am creating lots of small PDF documents where font 
> embedding would create prohibitive large documents.
Well, try it and see if it is worth it. I for one surely would not
want to see Arial on screen or paper when I intended it to be Helvetica.

Greetings,
             Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to use and not embed the 14 PDF standard 14 fonts?
  2004-03-18 10:40 How to use and not embed the 14 PDF standard 14 fonts? Stefan Wachter
  2004-03-19  2:11 ` Alexander Klink
@ 2004-03-19  3:34 ` Vit Zyka
  2004-03-23  8:00 ` Stefan Wachter
  2 siblings, 0 replies; 4+ messages in thread
From: Vit Zyka @ 2004-03-19  3:34 UTC (permalink / raw)


> 2. Does anyone know how pdfTeX can be instructed not to embed them?

In your pdftex.map (in Web2C: ./fonts/pdftex/) you should replace each line
that is related to the font according to this template:

Font Time Roman will be embaded:
ptmr8r NimbusRomNo9L-Regu " TeXBase1Encoding ReEncodeFont " <8r.enc
<utmr8a.pfb

Font Time Roman will NOT be embaded:
ptmr8r Times-Roman " TeXBase1Encoding ReEncodeFont " <8r.enc

The same for texansi encoding:
ptmr8y NimbusRomNo9L-Regu " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
<utmr8a.pfb
ptmr8y Times-Roman " TeXnANSIEncoding ReEncodeFont " <texnansi.enc

Fortunately, now this boring work can be done (in tetex or TeXLive) by
updmap utility:
  updmap --setoption pdftexDownloadBase14 true
  updmap --setoption pdftexDownloadBase14 false

Vit Zyka

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to use and not embed the 14 PDF standard 14 fonts?
  2004-03-18 10:40 How to use and not embed the 14 PDF standard 14 fonts? Stefan Wachter
  2004-03-19  2:11 ` Alexander Klink
  2004-03-19  3:34 ` Vit Zyka
@ 2004-03-23  8:00 ` Stefan Wachter
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Wachter @ 2004-03-23  8:00 UTC (permalink / raw)


Thanks for the comments, Alex and Vit!

I now start to understand the relationships. The

updmap --setoption pdftexDownloadBase14 false

command is very useful. I managed to create PDFs without embedded fonts. 
Yet, I did not find a usable typescript that has the necessary settings. 
Therefore it would be of great help if you could attach ready to use 
typescript.

--Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-23  8:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-18 10:40 How to use and not embed the 14 PDF standard 14 fonts? Stefan Wachter
2004-03-19  2:11 ` Alexander Klink
2004-03-19  3:34 ` Vit Zyka
2004-03-23  8:00 ` Stefan Wachter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).