ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Emil Hedevang <emilhedevang@gmail.com>
Subject: Re: More problems installing OpenType fonts
Date: Fri, 23 Sep 2005 11:30:18 +0000 (UTC)	[thread overview]
Message-ID: <loom.20050923T120807-681@post.gmane.org> (raw)
In-Reply-To: <20050923091405.26816@mail.comp.lancs.ac.uk>

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.0000000 units.
I had to round some depths by 2.5000000 units.
I had to round some heights by 16.0000000 units.
I had to round some depths by 2.5000000 units.

[~/antykwa] otftotfm -e texnansi -f liga -f kern \
AntykwaTorunska-Italic.otf ati >> at.map
I had to round some heights by 16.0000000 units.
I had to round some depths by 2.5000000 units.
I had to round some heights by 16.0000000 units.
I had to round some depths by 2.5000000 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

  reply	other threads:[~2005-09-23 11:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-22  9:20 Emil Hedevang
2005-09-23  9:14 ` Adam Lindsay
2005-09-23 11:30   ` Emil Hedevang [this message]
2005-09-23 12:01     ` Adam Lindsay

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=loom.20050923T120807-681@post.gmane.org \
    --to=emilhedevang@gmail.com \
    --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).