[NTG-context] Re: How to use and not embed the PdfBase14 fonts?

2005-02-02 Thread Stefan Wachter
Hi Hans,
after a lot of experiments I could generate a PDF document where the 
built-in Helvetica font is used. Yet, there are some open questions:

1. The \loadmapfile makro seems not to work. I tried lots of variants. 
Only direct use of the pdfTex makro \pdfmapfile was successful.

2. In the praeambel I specify the enconding to be ec. Yet, in the map 
file I had to define a mapping for an 8r encoded font!

3. Texexec shows some warnings during the run. Maybe they are related to 
the second question. The warnings are:

Warning: pdfetex (file ec-urw-courier.map): cannot open font map file
Warning: pdfetex (file ec-urw-helvetica.map): cannot open font map file
Warning: pdfetex (file ec-urw-times.map): cannot open font map file
Can you please have a short look on these questions?
Best regards,
--Stefan
Here is my test document:
\enableregime[il1]
\setupoutput[pdftex]
\usetypescript[adobekb][ec]
\usetypescript[postscript][ec]
\setupbodyfont[postscript,sans,12pt]
\mainlanguage[de]
\setupheadertexts[]
\pdfoptionpdfminorversion 4
\starttext
\pdfmapfile{=embed.map}%
This is a test.
\stoptext
And here is the map file embed.map:
%phvb8t Helvetica-Bold TeXBase1Encoding ReEncodeFont ec.enc
%phvbo8t Helvetica-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 Helvetica-BoldOblique TeXBase1Encoding ReEncodeFont ec.enc
%uhvr8t Helvetica TeXBase1Encoding ReEncodeFont ec.enc
%uhvro8t Helvetica-Oblique TeXBase1Encoding ReEncodeFont ec.enc
phvr8r Helvetica TeXBase1Encoding ReEncodeFont 8r.enc
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: How to use and not embed the PdfBase14 fonts?

2005-02-01 Thread Stefan Wachter
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)