From mboxrd@z Thu Jan 1 00:00:00 1970
X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67111
Path: news.gmane.org!not-for-mail
From: mathew
Newsgroups: gmane.comp.tex.context
Subject: Re: (RSFS) font installation
Date: Thu, 17 Mar 2011 21:42:38 -0500
Message-ID:
References: <4D80C291.5090707@gmx.de>
<4D81CECD.5020405@gmx.de>
<4D823CA6.6060404@gmx.de>
Reply-To: mailing list for ConTeXt users
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Trace: dough.gmane.org 1300416187 16471 80.91.229.12 (18 Mar 2011 02:43:07 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Fri, 18 Mar 2011 02:43:07 +0000 (UTC)
To: mailing list for ConTeXt users
Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 18 03:43:03 2011
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 1Q0PeY-0005wo-L6
for gctc-ntg-context-518@m.gmane.org; Fri, 18 Mar 2011 03:43:02 +0100
Original-Received: from localhost (localhost [127.0.0.1])
by balder.ntg.nl (Postfix) with ESMTP id 57FDCCAAEE;
Fri, 18 Mar 2011 03:42:58 +0100 (CET)
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 4WcL21ag7Bk4; Fri, 18 Mar 2011 03:42:55 +0100 (CET)
Original-Received: from balder.ntg.nl (localhost [127.0.0.1])
by balder.ntg.nl (Postfix) with ESMTP id 533E2CAAE2;
Fri, 18 Mar 2011 03:42:55 +0100 (CET)
Original-Received: from localhost (localhost [127.0.0.1])
by balder.ntg.nl (Postfix) with ESMTP id 5C4A1CAAE2
for ; Fri, 18 Mar 2011 03:42:54 +0100 (CET)
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 jSbpPM1oeQQg for ;
Fri, 18 Mar 2011 03:42:40 +0100 (CET)
Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net
[192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 1A76FCAAE1
for ; Fri, 18 Mar 2011 03:42:40 +0100 (CET)
Original-Received: from mail-yi0-f41.google.com (mail-yi0-f41.google.com
[209.85.218.41])
by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP
id p2I2gfHL028906
for ; Fri, 18 Mar 2011 03:42:42 +0100
Original-Received: by yib2 with SMTP id 2so1825758yib.14
for ; Thu, 17 Mar 2011 19:42:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
h=domainkey-signature:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id:references:to
:x-mailer; bh=9mQmd36PAcBTSxOqlyJQ10hhGrBrO5735UReMg0TEjU=;
b=McEqFRFGkRjkKYdcIiXA8h0v4WXspHceCxZbGRq9cJ42VHRPWGyo5qLJUwAGh2E5m1
fOkiX5/jkVro6XjNjY+R5Xy6yMzi2vnC98NgSHbaLGKaAJQDEvted0xpNuBK47yC+nw7
DCew7QBxnV6RzHw4kvkhB6cqoxQPonOSu9nvw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=sender:content-type:mime-version:subject:from:in-reply-to:date
:content-transfer-encoding:message-id:references:to:x-mailer;
b=AaQ2fzCiZ34KYSWL2ggR4QrVRqrwYH+QxFKaYf97Wbp1z9ZAhungOLd83CNu/+7tIb
6U8A6Nrl6X9hsU30WBiHqVOYrCv7B4hAcX7qyXcByu1znMFlBWrmsQ39RVxPMMQUm7Un
FHV3osJIAVqexKjD5T4DNsU2ooy1CqejqELC8=
Original-Received: by 10.236.197.35 with SMTP id s23mr729570yhn.57.1300416161379;
Thu, 17 Mar 2011 19:42:41 -0700 (PDT)
Original-Received: from [10.0.1.11] (cpe-66-25-174-43.austin.res.rr.com [66.25.174.43])
by mx.google.com with ESMTPS id f9sm1591334yhc.4.2011.03.17.19.42.39
(version=TLSv1/SSLv3 cipher=OTHER);
Thu, 17 Mar 2011 19:42:40 -0700 (PDT)
In-Reply-To: <4D823CA6.6060404@gmx.de>
X-Mailer: Apple Mail (2.1082)
X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN)
X-CanIt-Geo: ip=209.85.218.41; country=US; region=CA; city=Mountain View;
postalcode=94043; latitude=37.4192; longitude=-122.0574;
metrocode=807; areacode=650;
http://maps.google.com/maps?q=37.4192,-122.0574&z=6
X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default,
base:default)
X-Canit-Stats-ID: 0cEkqGG5v - 6facf78d7ded - 20110318
X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71
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:67111
Archived-At:
On Mar 17, 2011, at 11:53, Stefan M=FCller wrote:
> Yes, I thought so. I just asked, because I couldn't find an environment v=
ariable with that name. Even after "setuptex.bat" typing "echo %OSFONTDIR%"=
did only print "%OSFONTDIR%" and not a list of paths, as I expected.
There are defaults baked into the binaries. If you don't set the environmen=
t variable, you get the built-in defaults. That's generally how things work=
on Unix.
On Mar 17, 2011, at 11:53, Stefan M=FCller wrote:
> (2A) Put .afm files to C:\Windows\Fonts
> (2B) Put the complete rsfs (containing the .afm and all the other stuff) =
directory to texmf-fonts\fonts
Right... From the point of view of ConTeXt/LuaTeX use, there's no need for =
the fonts to be installed in Windows; you just need to have all the files s=
omewhere that OSFONTDIR (or the default font paths) will point. The font ou=
tlines will be embedded into the PDF by default, so the OS doesn't need to =
have access to them.
> - In both versions, step (1) seems to be mandatory. I would expect, that =
the rsfs directory in texmf-fonts\fonts should be enough, as mtxrun clearly=
searches there and all the files are there, too. I don't understand the pr=
oblem here.
Hmm, that *would* explain my problem with getting GhostScript's Type 1 font=
s working... I must investigate further!
> - If the .pfm and .pfb files are sufficient for Windows, why does mtxrun =
specifically search for .afm files and not also for .pfm?
Probably because mtxrun (and the rest of ConTeXt and LuaTeX) are written fo=
r Unix and ported to Windows, and Unix uses .afm files for metrics. (Except=
OS X, which is different for historical reasons.)
That and .afm files are much easier to work with because they're text files.
But it might not be a bad idea for LuaTeX to automatically perform a pfm2af=
m conversion and cache the converted files when necessary, and probably not=
that hard to code. On the other hand, Type 1 fonts are legacy at this poin=
t, so it might not be worth it.
mathew
___________________________________________________________________________=
________
If your question is of interest to others as well, please add an entry to t=
he Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont=
ext
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________=
________