From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61301 Path: news.gmane.org!not-for-mail From: John Magolske Newsgroups: gmane.comp.tex.context Subject: Re: Postscript Type1 fonts & MK IV Date: Sat, 28 Aug 2010 23:50:38 -0700 Message-ID: <20100829065038.GA1363@s70206.gridserver.com> References: <20100827231615.GB28544@s70206.gridserver.com> <4C78C92A.80708@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283064548 31019 80.91.229.12 (29 Aug 2010 06:49:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Aug 2010 06:49:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 29 08:49:07 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OpbhS-0001rl-Q0 for gctc-ntg-context-518@m.gmane.org; Sun, 29 Aug 2010 08:49:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91A6FCA6AF; Sun, 29 Aug 2010 08:49:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jE26JiGa03SV; Sun, 29 Aug 2010 08:49:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 03CA9CA68D; Sun, 29 Aug 2010 08:49:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 841BDCA68D for ; Sun, 29 Aug 2010 08:49:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Gp6hiINpdvQW for ; Sun, 29 Aug 2010 08:48:59 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id DAC02CA56B for ; Sun, 29 Aug 2010 08:48:59 +0200 (CEST) Original-Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7T6mvpF008716 for ; Sun, 29 Aug 2010 08:48:59 +0200 Original-Received: from localhost (adsl-70-231-232-152.dsl.snfc21.sbcglobal.net [70.231.232.152]) by smtp.webfaction.com (Postfix) with ESMTP id CA6563226A0 for ; Sun, 29 Aug 2010 01:48:55 -0500 (CDT) Content-Disposition: inline In-Reply-To: <4C78C92A.80708@wxs.nl> User-Agent: Mutt/1.5.19 (2009-01-05) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.55.86.74; country=US; region=TX; city=Houston; postalcode=77002; latitude=29.7523; longitude=-95.3670; metrocode=618; areacode=713; http://maps.google.com/maps?q=29.7523,-95.3670&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eD06MVPM - 950b91039e9f - 20100829 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:61301 Archived-At: * Hans Hagen [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 ___________________________________________________________________________________