From: John Magolske <listmail@b79.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Postscript Type1 fonts & MK IV
Date: Sat, 28 Aug 2010 23:50:38 -0700 [thread overview]
Message-ID: <20100829065038.GA1363@s70206.gridserver.com> (raw)
In-Reply-To: <4C78C92A.80708@wxs.nl>
* Hans Hagen <pragma@wxs.nl> [100828 15:34]:
> On 28-8-2010 1:16, John Magolske wrote:
>> I'd like to get some Postscript Type1 fonts working with MK IV
>> (installed via the minimals under Linux).
>
> put the afm files in the tree as well
>
> - either in the afm subtree (with pfb's in the type1 subtree)
> - or in the data tree (alongside pfb's)
>
> then run mtxrun --generate
Thanks -- I put a SabonLT-Roman.afm and a SabonLT-Roman.pfb into
~/.fonts and got things working.
But I'm having a heck of a time with another font family. It's a PS
Type1 font for Mac, and I've tried all sorts of things in attempting
to generate .pfb & .afm files from the original Mac PS Type1 fonts ...
fontforge, fondu, type1afm, font2afm ... on the Mac & on my Linux box.
But I can't get an afm/pfb combo that works. I've pasted the output of
a `context` command below (changed the font name here as I don't think
its license allows for converting it).
Is it inherently tricky to get Type1 PS Mac fonts working with ConTeXt
& luatex on Linux? I'm trying to avoid spending another $300 for some
fonts I already purchased but can no longer use (not on a Mac much any
more). I was able to use these *.pfb fonts with LaTeX + xetex in the
past under Linux.
Also, the SabonLT-Roman.afm file that came from Linotype has a section
titled "StartKernData", but .afm files generated using type1afm,
fontforge, font2afm, etc. have no kerning section. Would using such
.afm files cause sub-standard output with regard to kerning?
Any suggestions/clarifications much appreciated,
John
----
% context test1.tex
MTXrun | run 1: luatex --fmt="/home/john/context/tex/texmf-cache/luatex-cache
/context/de...42/formats/cont-en" --lua="/home/john/context/tex/texmf-cache
/luatex-cache/context/de...42/formats/cont-en.lui" --backend=pdf "./test1.tex
"This is LuaTeX, Version beta-0.61.0-2010072816
\write18 enabled.
(test1.tex
ConTeXt ver: 2010.08.20 00:00 MKIV fmt: 2010.8.22 int: english/english
system : cont-new loaded
(/home/john/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/john/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system : cont-fil loaded
(/home/john/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system : cont-sys.rme loaded
(/home/john/context/tex/texmf-context/tex/context/user/cont-sys.rme
(/home/john/context/tex/texmf-context/tex/context/base/type-def.mkiv)
(/home/john/context/tex/texmf-context/tex/context/base/type-lua.mkiv)
(/home/john/context/tex/texmf-context/tex/context/base/type-siz.mkiv)
(/home/john/context/tex/texmf-context/tex/context/base/type-otf.mkiv))
system : test1.top loaded
(test1.top)
fonts : preloading latin modern fonts
{/home/john/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}
{/home/john/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
{/home/john/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
bodyfont : 12pt rm is loaded
language : language en is active
load afm > reading /home/john/.fonts/SomeMacintoshPSfont.afm
load afm > unifying /home/john/.fonts/SomeMacintoshPSfont.afm
load afm > assigning private slot U+F0000 for unknown glyph name onesuperior
load afm > assigning private slot U+F0001 for unknown glyph name ffl
load afm > assigning private slot U+F0002 for unknown glyph name ffi
load afm > assigning private slot U+F0003 for unknown glyph name ff
load afm > assigning private slot U+F0004 for unknown glyph name nbspace
load afm > assigning private slot U+F0005 for unknown glyph name FL261
load afm > assigning private slot U+F0006 for unknown glyph name fi
load afm > assigning private slot U+F0007 for unknown glyph name twosuperior
load afm > assigning private slot U+F0008 for unknown glyph name threesuperior
load afm > assigning private slot U+F0009 for unknown glyph name fl
load afm > add ligatures
load afm > add tex-ligatures
load afm > add extra kerns
load afm > add tounicode data
load afm > saving: SomeMacintoshPSfont in cache
report | lua: compiling /home/john/context/tex/texmf-cache/luatex-cache/context
/de675cef24f333545b18002e92921442/fonts/afmacintoshPSfont.tma into
/home/john/context/tex/texmf-cache/luatex-cache/context/de...42/fonts/afmacintoshPSfont.tmc
define fonts > source file 'SomeMacintoshPSfont' is not found
define fonts > unable to determine font format for ''
publications : loading formatting style from bxml-apa
(/home/john/context/tex/texmf-context/tex/context/base/bxml-apa.mkiv)
systems : begin file test1.tex at line 10
pages > flushing realpage 1, userpage 1, subpage 1
systems : end file test1.tex at line 12
system : cont-err loaded
(/home/john/context/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
Type1: Could not open Type1 font: (null)) )
MTXrun | fatal error: return code: 1
--
John Magolske
http://B79.net/contact
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2010-08-29 6:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-27 23:16 John Magolske
2010-08-28 2:59 ` Wolfgang Schuster
2010-08-28 8:30 ` Hans Hagen
2010-08-29 6:50 ` John Magolske [this message]
2010-08-29 7:17 ` Taco Hoekwater
2010-08-29 8:11 ` John Magolske
2010-08-29 8:15 ` Taco Hoekwater
2010-08-29 8:23 ` Khaled Hosny
2010-08-30 6:17 ` John Magolske
2010-08-30 9:38 ` Khaled Hosny
2010-08-31 6:27 ` Postscript Type1 fonts & MK IV - [SOLVED] John Magolske
2010-08-31 7:31 ` Taco Hoekwater
2010-08-31 9:19 ` Taco Hoekwater
2010-08-31 11:20 ` Khaled Hosny
2010-08-31 15:35 ` Aditya Mahajan
2010-08-31 11:22 ` Khaled Hosny
2010-09-02 5:52 ` John Magolske
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=20100829065038.GA1363@s70206.gridserver.com \
--to=listmail@b79.net \
--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).