From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94490 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Problem with Cambria (in Windows) Date: Tue, 19 Apr 2016 14:43:25 +0200 Message-ID: <571627ED.8010008@gmail.com> References: <5714CBD1.8020901@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2485070586599946708==" X-Trace: ger.gmane.org 1461069846 6286 80.91.229.3 (19 Apr 2016 12:44:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2016 12:44:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 19 14:43:53 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1asV0T-0008Li-KU for gctc-ntg-context-518@m.gmane.org; Tue, 19 Apr 2016 14:43:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 467D5A8F6; Tue, 19 Apr 2016 14:43:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tKOMhc56fprz; Tue, 19 Apr 2016 14:43:37 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id CD234A923; Tue, 19 Apr 2016 14:43:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D2CBFA8FF for ; Tue, 19 Apr 2016 14:43:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vrfy4M_CGsqI for ; Tue, 19 Apr 2016 14:43:35 +0200 (CEST) Original-Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 49486A8F6 for ; Tue, 19 Apr 2016 14:43:25 +0200 (CEST) Original-Received: by mail-wm0-f44.google.com with SMTP id v188so160476027wme.1 for ; Tue, 19 Apr 2016 05:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=vddCuL440OKgKrNge2i+AfrSMjFnq3DEcFZI7PikIZE=; b=Mdl06ImDBxJlZ9YnVkn2q7Sj7guS5PaEqhodYHAYgkwyEI1dssjpQlNgPu+B35Zpph yTrzrTvPdxUF2ILOhpBhSuXS38LiC6OClYNN5KrRR2ejyyTcozW5l07f90SW21gE8gcD u8Uxttq51yYsn4VxiOehTGGHx/Qr5jKuyDK772Bprb5c9TqTYR0PSLMdXrTAVgTwt6C9 LYw+PRXzmUAc8qtj085ytAz3qOQ3cMgEK7mK8igdAdQA7hls74vL/4OmqJsr2CFNa5F7 ghkaWEyzQStiFVAMe/5/FkTGiuSql+C2MzjNyEiNVhrQFuvcWLy0iQSEYdmcirx1yGEt PNww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=vddCuL440OKgKrNge2i+AfrSMjFnq3DEcFZI7PikIZE=; b=fvssvMNO93brWFp+oLcV+CrCsg97qIjDzDgcdO9iIKM2uW5Z6COq5rItvlRBiXO+Dv 6d2vfK3zwcw2/cmZtuZwHvK+d6ozAsFWRG1ziORwrAMLzQpHYzw/vSsnhJvmzu4+Wx5p YKSoIfILveHlLE2+q6qdA/6QoRsumU6Vyn0ODI4dDG4cWnMR2rhE1D1p0bYx93oKrQSU pYc2zvNeXuY7Vnwp0qT7JEG00m8PTRakr8LT69McrSEsYEkUALyMw9C18kUcLuv3vc00 YcvSSrso/rGIwBAbpbkR1Jejmn1hPvCZDanVBnqmSwBAItD6RBpVhf5eVVoR9dCL4x+D yqPQ== X-Gm-Message-State: AOPr4FVGaR1kxoAA1rYKiMcfnJ1BbxSlr5VyLsdRZe1Emr6DCEUVj9Y7xpphElGCHIlEUA== X-Received: by 10.194.231.196 with SMTP id ti4mr3289013wjc.41.1461069804932; Tue, 19 Apr 2016 05:43:24 -0700 (PDT) Original-Received: from keima.localdomain (x2f2a146.dyn.telefonica.de. [2.242.161.70]) by smtp.gmail.com with ESMTPSA id d131sm4168964wmd.12.2016.04.19.05.43.23 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 05:43:24 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94490 Archived-At: This is a multi-part message in MIME format. --===============2485070586599946708== Content-Type: multipart/alternative; boundary="------------060301070803090904000203" This is a multi-part message in MIME format. --------------060301070803090904000203 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Mari Voipio > 19. April 2016 um 08:09 > Hi Wolfgang, > > here's what I get: > > > c:\context>mtxrun -script font --list --all cambria* > > cambria cambriabolditalic c:/windows/fonts/cambriaz.ttf > cambriabold cambriabold c:/windows/fonts/cambriab.ttf > cambriabolditalic cambriabolditalic c:/windows/fonts/cambriaz.ttf > cambriaitalic cambriaitalic c:/windows/fonts/cambriai.ttf > cambriamath cambriamath c:/windows/fonts/cambria.ttc index: > 2 > cambriamathnormal cambriamath c:/windows/fonts/cambria.ttc index: > 2 > cambriamathregular cambriamath c:/windows/fonts/cambria.ttc index: > 2 > cambrianormal cambriaitalic c:/windows/fonts/cambriai.ttf > > > Doesn't look good, does it. Windows Fonts shows Cambria Regular (and I > can use it in e.g. Word) and then bold, italic and bold italic, but it > seems like the regular is gone from the list above. I may have a > problem... 1. You can try to reload the font database with "mtxrun --script fonts --reload --force" and try it again. 2. You can write your own typescripts for cambria (the existing ones rely on normalized names to support various versions of cambria which use different file names). 3. You can use the \definefontfamily command to load the fonts. %% begin example \definefontfamily [manuals] [rm] [Cambria] \definefontfamily [manuals] [ss] [Calibri] [scale=0.95] \definefontfamily [manuals] [tt] [Courier] [scale=0.90] \definefontfamily [manuals] [mm] [Cambria Math] \setupbodyfont[manuals,10pt] \starttext \input tufte \stoptext %% end example Wolfgang --------------060301070803090904000203 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
19= .=20 April 2016 um 08:09
Hi Wolfgang,

her= e's what I get:


c:\context>mtxrun -script font --list --all=20 cambria*

cambria cambriabolditalic =20 c:/windows/fonts/cambriaz.ttf
cambriabold cambriabold =20 c:/windows/fonts/cambriab.ttf
cambriabolditalic =20 cambriabolditalic c:/windows/fonts/cambriaz.ttf
cambriaitalic =20 cambriaitalic c:/windows/fonts/cambriai.ttf
cambriamath =20 cambriamath c:/windows/fonts/cambria.ttc index:
2
c= ambriamathnormal cambriamath c:/windows/fonts/cambria.ttc index:
2
c= ambriamathregular cambriamath c:/windows/fonts/cambria.ttc index:
2
ca= mbrianormal cambriaitalic c:/windows/fonts/cambriai.ttf


Does= n't look good, does it. Windows Fonts shows Cambria Regular (and I
can=20 use it in e.g. Word) and then bold, italic and bold italic, but it
see= ms like the regular is gone from the list above. I may have a
problem...=
1. You can try to reload the font database with "mtxrun --script fonts=20 --reload --force"
=C2=A0=C2=A0 and try it again.

2. You can write your own typescripts for cambria (the existing ones=20 rely on normalized
=C2=A0=C2=A0 names to support various versions of cambria which use diffe= rent file names).

3. You can use the \definefontfamily command to load the fonts.

%% begin example
\definefontfamily [manuals] [rm] [Cambria]
\definefontfamily [manuals] [ss] [Calibri] [scale=3D0.95]
\definefontfamily [manuals] [tt] [Courier] [scale=3D0.90]
\definefontfamily [manuals] [mm] [Cambria Math]

\setupbodyfont[manuals,10pt]

\starttext

\input tufte

\stoptext
%% end example

Wolfgang


--------------060301070803090904000203-- --===============2485070586599946708== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============2485070586599946708==--