ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Stefan Wachter <stefan.wachter@gmx.de>
Subject: Re: How to use and not embed the PdfBase14 fonts?
Date: Tue, 01 Feb 2005 12:35:30 +0100	[thread overview]
Message-ID: <41FF6982.3060503@gmx.de> (raw)
In-Reply-To: <41FE497D.9060505@wxs.nl>

Hi Hans and Hartmut,

thanks for the information. I looked at the type-akb.tex file and found 
that the fonts phvb8t, phvbo8t, phvr8t, and phvro8t are used.

I wrote the following small map file (named embed.map):

= phvb8t Helvetica-Bold "TeXBase1Encoding ReEncodeFont" <ec.enc
= phvbo8t Helvetic-BoldOblique "TeXBase1Encoding ReEncodeFont" <ec.enc
= phvr8t Helvetica "TeXBase1Encoding ReEncodeFont" <ec.enc
= phvro8t Helvetica-Oblique "TeXBase1Encoding ReEncodeFont" <ec.enc

= uhvb8t Helvetica-Bold "TeXBase1Encoding ReEncodeFont" <ec.enc
= uhvbo8t Helvetic-BoldOblique "TeXBase1Encoding ReEncodeFont" <ec.enc
= uhvr8t Helvetica "TeXBase1Encoding ReEncodeFont" <ec.enc
= uhvro8t Helvetica-Oblique "TeXBase1Encoding ReEncodeFont" <ec.enc

(I included the mappings for the uhv... fonts just to be sure.)
I think that the space after the leading "=" is necessary because 
otherwise an error is reported by pdfeTeX.

The PDF document produced by the following input still contains an 
embedded font: NimbusSanL-Regu (comming from uhvr8a.pfb).

\enableregime[il1]

\usetypescript[adobekb][ec]
\usetypescript[postscript][ec]
\setupbodyfont[postscript,sans]

\mainlanguage[de]

\setupheadertexts[]

\setupoutput[pdftex]
\pdfoptionpdfminorversion 4
\loadmapfile[embed.map]

\starttext
This is a test.
\stoptext


This is the log:

  TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004

             executable : pdfetex
                 format : cont-en
              inputfile : font
                 output : standard
              interface : en
           current mode : none
                TeX run : 1

This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
  %&-line parsing enabled.
  (/opt/texlive2004/texmf/web2c/natural.tcx)
output format initialized to DVI
entering extended mode
(./font.tex

ConTeXt  ver: 2004.11.17  fmt: 2005.1.31  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(/opt/texlive2004/texmf-dist/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
color          : palette rollover is available
system (E-TEX) : [line 1083]
system (E-TEX) : [line 1138]
)
system         : cont-old loaded
(/opt/texlive2004/texmf-dist/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/opt/texlive2004/texmf-dist/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys.rme loaded
(/opt/texlive2004/texmf-dist/tex/context/user/cont-sys.rme
fonts          : [berry] [ec] []
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex))
bodyfont       : 12pt rm is loaded
language       : patterns de->texnansi:texnansi->3->2:2 
de->ec:ec->4->2:2 fr->t
exnansi:texnansi->5->2:2 fr->ec:ec->6->2:2 es->default:default->7->2:2 
it->texn
ansi:texnansi->8->2:2 it->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 
nl->ec:e
c->11->2:2 loaded
specials       : tex,postscript,rokicki loaded
system         : font.top loaded
(./font.top)
fonts          : [adobekb] [ec] []
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [postscript] [ec] []
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex
fonts          : [postscript] [rm] [serif] [times] / ec
fonts          : [map] [ec] []
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [serif,map] [times] [name,default,ec,special]
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [serif] [default] [size]
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [postscript] [mm] [math] [times] / ec
fonts          : [map] [ec] []
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [math,map] [times] [name,default,ec,special]
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [math] [default] [size]
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [postscript] [ss] [sans] [helvetica] / ec
fonts          : [map] [ec] []
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [sans,map] [helvetica] [name,default,ec,special]
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [sans] [default] [size]
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [postscript] [tt] [mono] [courier] / ec
fonts          : [map] [ec] []
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [mono,map] [courier] [name,default,ec,special]
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
fonts          : [mono] [default] [size]
(/opt/texlive2004/texmf-dist/tex/context/base/type-syn.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-enc.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-siz.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-map.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-spe.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-exa.tex)
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex))
(/opt/texlive2004/texmf-dist/tex/context/base/type-akb.tex)
specials       : loading definition file tpd
(/opt/texlive2004/texmf-dist/tex/context/base/spec-tpd.tex
specials       : loading definition file fdf
(/opt/texlive2004/texmf-dist/tex/context/base/spec-fdf.tex <unprotect 3>
system (E-TEX) : [line 2255] \ifcsname
<protect 3>)
specials       : fdf loaded
)
specials       : fdf,tpd loaded
(./font.tuo) (./font.tuo) (./font.tuo) (./font.tuo) (./font.tuo) 
(./font.tuo)
(./font.tuo) (./font.tuo) (./font.tuo) (./font.tuo) (./font.tuo) 
(./font.tuo)
(./font.tuo)
fonts          : using map file: embed.map
fonts          : using map file: ec-urw-courier.map
fonts          : using map file: ec-urw-helvetica.map
fonts          : using map file: original-youngryu-tx.map
fonts          : using map file: ec-urw-times.map
fonts          : using map file: texnansi-public-lm.map
fonts          : using map file: original-public-csr.map
fonts          : using map file: original-public-plr.map
fonts          : using map file: original-public-lm.map
fonts          : using map file: original-ams-euler.map
fonts          : using map file: original-ams-cmr.map
fonts          : using map file: texnansi-base.map
fonts          : using map file: qx-base.map
fonts          : using map file: 8r-base.map
fonts          : using map file: ec-base.map
fonts          : using map file: ec-public-lm.map
fonts          : using map file: original-base.map
systems        : begin file font at line 18
[1.1{/opt/texlive2004/texmf-dist/fonts/map/pdftex/context/original-empty.map}{e
mbed.map}
Warning: pdfetex (file ec-urw-courier.map): cannot open font map file

Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file
{/opt/texlive2004/texmf-dist/fonts/map/pdftex/context/original-youngryu-tx.map}

Warning: pdfetex (file ec-urw-times.map): cannot open font map file
{/opt/texlive2004/texmf-dist/fonts/map/pdftex/context/texnansi-public-lm.map}{/
opt/texlive2004/texmf-dist/fonts/map/pdftex/context/original-public-csr.map}{/o
pt/texlive2004/texmf-dist/fonts/map/pdftex/context/original-public-plr.map}{/op
t/texlive2004/texmf-dist/fonts/map/pdftex/context/original-public-lm.map}{/opt/
texlive2004/texmf-dist/fonts/map/pdftex/context/original-ams-euler.map}{/opt/te
xlive2004/texmf-dist/fonts/map/pdftex/context/original-ams-cmr.map}{/opt/texliv
e2004/texmf-dist/fonts/map/pdftex/context/texnansi-base.map}{/opt/texlive2004/t
exmf-dist/fonts/map/pdftex/context/qx-base.map}{/opt/texlive2004/texmf-dist/fon
ts/map/pdftex/context/8r-base.map}{/opt/texlive2004/texmf-dist/fonts/map/pdftex
/context/ec-base.map}{/opt/texlive2004/texmf-dist/fonts/map/pdftex/context/ec-p
ublic-lm.map}{/opt/texlive2004/texmf-dist/fonts/map/pdftex/context/original-bas
e.map}]
systems        : end file font at line 20
 
){/opt/texlive2004/texmf-dist/fonts/enc/dvips/base/8r.enc}</opt/texlive2004/te
xmf-dist/fonts/type1/urw/helvetic/uhvr8a.pfb>
Output written on font.pdf (1 page, 7220 bytes).
Transcript written on font.log.

            return code : 0
               run time : 2 seconds
   sorting and checking : running texutil

  TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004

                 action : processing commands, lists and registers
                 option : sorting IJ under Y
                 option : converting high ASCII values
             input file : font.tui
            output file : font.tuo
        passed commands : 10
          remapped keys : 0
       register entries : 0 -> 0 entries 0 references
        synonym entries : 0 -> 0 entries
         embedded files : 1

         total run time : 2 seconds

  parent reply	other threads:[~2005-02-01 11:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-31 14:55 Stefan Wachter
2005-01-31 15:06 ` Hans Hagen
2005-01-31 18:29   ` Hartmut Henkel
2005-02-01 11:35   ` Stefan Wachter [this message]
2005-02-02 14:34   ` Stefan Wachter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41FF6982.3060503@gmx.de \
    --to=stefan.wachter@gmx.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).