From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85112 Path: news.gmane.org!not-for-mail From: Lars Huttar Newsgroups: gmane.comp.tex.context Subject: Re: installing a true-type font: can't find ttf2afm Date: Tue, 05 Nov 2013 13:55:32 -0500 Message-ID: <52793F24.3070804@sil.org> References: <5277FBB4.4080107@sil.org> <527815CB.2040808@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1383677742 14732 80.91.229.3 (5 Nov 2013 18:55:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2013 18:55:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 05 19:55:47 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vdlmw-0004Cu-8q for gctc-ntg-context-518@m.gmane.org; Tue, 05 Nov 2013 19:55:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7969D10228; Tue, 5 Nov 2013 19:55:41 +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 7fdm03Nk93Mr; Tue, 5 Nov 2013 19:55:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 950F9101EF; Tue, 5 Nov 2013 19:55:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A03AC101EF for ; Tue, 5 Nov 2013 19:55:38 +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 SBH3W+fTLrae for ; Tue, 5 Nov 2013 19:55:37 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 3D0DD101E3 for ; Tue, 5 Nov 2013 19:55:37 +0100 (CET) Original-Received: from mail-qa0-f50.google.com (mail-qa0-f50.google.com [209.85.216.50]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rA5ItYxB013443 for ; Tue, 5 Nov 2013 19:55:36 +0100 Original-Received: by mail-qa0-f50.google.com with SMTP id f11so1286228qae.9 for ; Tue, 05 Nov 2013 10:55:34 -0800 (PST) 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:content-type :content-transfer-encoding; bh=ki8qEI9nqjSXZGUGAJ0/wYYEl+Kx3l2aY2M+2hGO938=; b=UMHYc8Rx8yQV7MKZYtIYlHCpVpmTzhJIG+OpLcPqkxAzB7vxQ8h7+0MfH2qGO9OZI+ g8Mr8whLAJYKNVfMmLD3A/Q2stWpluucqZC8S1a0DtL3vZ9xvPOOovTrex4V8P4GXNvt LrZ8+xhH4g5Ir46/HcW0dXA5SQjq2DyHNkIyB756Z4U5l5cFu8zBn9eiuGq58GkjWXEt ZPYoY4A5Cd04tiXZpA0BEmS3j/D0sewRHSM99+oPlOespNQ+s56lM+iGzP/La48qJG5n hSgLYz+Ppo30rkN2bMWb2FDeekjk368vrznDe0xl/9nR3GlOQiSBQB//iqc0FfnhRJRl nMoQ== X-Gm-Message-State: ALoCoQmxGq/feBKAYkDW855A/84bdynnII/1yvmk7NSHRwmYA17ZPhneSSCYEUajrhnzv2B+JbtD X-Received: by 10.49.0.208 with SMTP id 16mr31893111qeg.25.1383677733787; Tue, 05 Nov 2013 10:55:33 -0800 (PST) Original-Received: from [172.22.10.212] ([162.40.29.3]) by mx.google.com with ESMTPSA id u3sm61377656qej.8.2013.11.05.10.55.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Nov 2013 10:55:33 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.50; 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: 0WKJSTySM - 85dc3f72deab - 20131105 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85112 Archived-At: On 11/4/2013 4:56 PM, Mojca Miklavec wrote: > On Mon, Nov 4, 2013 at 10:46 PM, Lars Huttar wrote: >> On 11/4/2013 3:34 PM, Mojca Miklavec wrote: >>> - you can find Gentium at http://www.ctan.org/pkg/gentium-tug (also in >>> TeX Live and in the ConTeXt distribution) >> Thank you ... that was key information I didn't have. >> I was instead downloading the TTF files from sil.org. > That TTF should work as well. The only difference is that you might > need slightly different commands to set it up (there were recent > changes/improvements in that, other users should tell you how exactly > that can be done). I will look for that, because it turns out that I still need to use a TTF font. Gentium Plus does not include bold and bold-italic weights, and Gentium Basic doesn't include all the characters ranges I need. We have a customized version of Gentium Basic with bold weight, with an extra character added, and it's a TTF. We had it working with mkii but not yet with mkiv. >> When you say "out of the box", I think you're referring to the >> gentium-tug package box, not the ConTeXt box... in other words, I should >> not expect Gentium to work just because I installed ConTeXt; I have to >> also install gentium-tug, right? > The font is installed by default when installing the ConTeXt > distribution. I thought it was also installed by default with the > ConTeXt scheme in TeX Live, but apparently I was wrong. I can fix > this. The scheme already contains a bunch of nice fonts and Gentium > could/probably should be among them. > Just to confirm the above: After installing TeX Live context scheme on Linux, Gentium was not in my names.tma. And when I tried to use \setmainfont[Gentium], I got errors, 'simplefonts > font ''gentium'' not found'. After installing the gentium-tug package (sudo /usr/local/bin/tlmgr install gentium-tug), and compiling a .tex file using \setmainfont[Gentium], the errors went away, and my names.tma now includes several variants of Gentium. At no point did I run mtxrun (knowingly). On the other hand, on Windows, I had installed TeX Live context scheme as well, and have not installed gentium-tug. But I did install Gentium as an OS font (using TTF files). I then ran mtxrun --generate (as suggested by Hans), and after that, gentium* showed up in names.tma, and I was then able to successfully compile a .tex file using \setmainfont[Gentium] with mkiv context. (But that didn't work before I ran mtxrun --generate.) Just a couple of data points in case they're relevant. Lars ___________________________________________________________________________________ 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 ___________________________________________________________________________________