[NTG-context] Re: More problems installing OpenType fonts

2005-09-23 Thread Emil Hedevang
Adam Lindsay atl at comp.lancs.ac.uk writes:

 I wrote that article and am pretty baffled by the problems you
 have. (I just did a test run of the same command, running an
 identical texfont, identical otftotfm version) The ConTeXt
 installation looks fine.  There are two discrepancies that I see
 here, though: otftotfm is running updmap in the interim. That
 shouldn't disturb things, but it might point to you getting the
 binary from somewhere other than gwTeX.

It should be a regular teTeX installation, as I followed the
instructions from http://wiki.contextgarden.net/TeTeX_3.0_installation.

 your entire TeX tree is in your local directory, which makes me
 wonder how you installed the whole machinery.

I installed teTeX using --prefix=$HOME/Local/teTeX in the
configuration phase. The correct executables seem to be found.

[~/antykwa] which texfont texexec otftotfm
/Users/Emil/local/tetex/bin/texfont
/Users/Emil/local/tetex/bin/texexec
/Users/Emil/local/bin/otftotfm

 I also wonder which version of the Antykwa Torunska fonts you are
 trying to convert: they have been updated a few times since the
 article.

I downloaded them a few day ago from the page suggested in the
article.

I have tested otftotfm, and it seems to work:

~/antykwa] otftotfm -e texnansi -f liga -f kern \
AntykwaTorunska-Regular.otf atr  at.map
I had to round some heights by 16.000 units.
I had to round some depths by 2.500 units.
I had to round some heights by 16.000 units.
I had to round some depths by 2.500 units.

[~/antykwa] otftotfm -e texnansi -f liga -f kern \
AntykwaTorunska-Italic.otf ati  at.map
I had to round some heights by 16.000 units.
I had to round some depths by 2.500 units.
I had to round some heights by 16.000 units.
I had to round some depths by 2.500 units.

[~/antykwa] cat at.map
atr--base AntykwaTorunska-Regular AutoEnc_ftx5tb6harlftkfpx5qbirtnvh
ReEncodeFont [a_ftx5tb.enc AntykwaTorunska-Regular.pfb
ati--base AntykwaTorunska-Italic AutoEnc_ftx5tb6harlftkfpx5qbirtnvh 
ReEncodeFont [a_ftx5tb.enc AntykwaTorunska-Italic.pfb

[~/antykwa] pdfetex testfont
This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2C 7.5.5)
 \write18 enabled.
entering extended mode
(/Users/Emil/local/tetex/share/texmf-dist/tex/plain/base/testfont.tex

Name of the font to test = atr
Now type a test command (\help for help):)
*\pdfoutput=1 \pdfmapfile{+at.map} \table\vfill\init

Name of the font to test = ati
Now type a test command (\help for help):
*\table\bye
[1{/Users/Emil/.texmf-var/fonts/map/pdftex/updmap/pdftex.map}{at.map}] [2]{a_ft
x5tb.enc}/Users/Emil/local/tetex/share/texmf-local/fonts/type1/public/torunska
/AntykwaTorunska-Italic.pfb/Users/Emil/local/tetex/share/texmf-dist/fonts/typ
e1/bluesky/cm/cmtt10.pfb/Users/Emil/local/tetex/share/texmf-local/fonts/type1
/public/torunska/AntykwaTorunska-Regular.pfb/Users/Emil/local/tetex/share/tex
mf-dist/fonts/type1/bluesky/cm/cmti10.pfb/Users/Emil/local/tetex/share/texmf-
dist/fonts/type1/bluesky/cm/cmr10.pfb/Users/Emil/local/tetex/share/texmf-dist
/fonts/type1/bluesky/cm/cmr7.pfb
Output written on testfont.pdf (2 pages, 160577 bytes).
Transcript written on testfont.log.

[~/antykwa] ls -1
AntykwaTorunska-Italic.otf
AntykwaTorunska-Regular.otf
a_ftx5tb.enc
at.map
ati--base.tfm
ati.map
ati.tfm
ati.vf
atr--base.tfm
atr.map
atr.tfm
atr.vf
testfont.log
testfont.pdf

The result can be found at http://home.imf.au.dk/emil/testfont.pdf

Emil Hedevang

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: More problems installing OpenType fonts

2005-09-23 Thread Adam Lindsay
Emil Hedevang said this at Fri, 23 Sep 2005 11:30:18 +:

I have tested otftotfm, and it seems to work:

You're right... this is why it's so baffling: all the pieces seem to work.

After running texfont (with the --lcdf option), there should be a
texfont.map left over in the current directory. Clearly texfont is
having trouble parsing that file. Could you send me (off-list) that
resulting file after a fresh run on Antykwa Torunska?

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context