From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86163 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: issue with font in typing environment Date: Sun, 2 Feb 2014 10:53:42 +0100 Message-ID: <223B4711-43A8-451B-93A0-02EB93BEAEBE@gmail.com> References: <52EE02C5.3040502@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391334837 15577 80.91.229.3 (2 Feb 2014 09:53:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Feb 2014 09:53:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 02 10:54:06 2014 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 1W9tkb-0001Hg-S3 for gctc-ntg-context-518@m.gmane.org; Sun, 02 Feb 2014 10:54:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08CEA101E7; Sun, 2 Feb 2014 10:54:05 +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 ZWJ92W+U24K3; Sun, 2 Feb 2014 10:54:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C6482101E2; Sun, 2 Feb 2014 10:54:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 061BA101E2 for ; Sun, 2 Feb 2014 10:54:02 +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 c86Os4k--tE5 for ; Sun, 2 Feb 2014 10:54:00 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 3A790101E1 for ; Sun, 2 Feb 2014 10:54:00 +0100 (CET) Original-Received: from mail-ee0-x233.google.com (mail-ee0-x233.google.com [IPv6:2a00:1450:4013:c00::233]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s129rms8024506 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 2 Feb 2014 10:53:58 +0100 Original-Received: by mail-ee0-f51.google.com with SMTP id b57so3105064eek.10 for ; Sun, 02 Feb 2014 01:53:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=qsNH0tSURse6Mq97wRsCGIbMNZ5zmHedy7Al+EY00Qc=; b=N+ZME6urCdxtTaBnzwbAwwuvCVGlGYCPTypUgtUodj00K6bFHlS2gjAEsEb5AW36r5 Xy/mTWRq5SV62yx5CxggfZCwRXWiOtV11m7D0nORcGFYcsAo7JztjlGd0ZjLn9L52Srq ECq0Qhhjfg7VmS8EMlaYOpB4Pboj23egocVKFKLQGXEfGetJgSZbFukK3pNh8i9qctJS o0tnobyJ2xMwUY3Nn6hte4r2mcbreGQm4NqxKveFZQ49NUBhhRXoe8xj7phKceekILzR REiA+LLirsCb2U9CdVLLfqjS4tyv0ooPSdvn0HMnNfES3sjjcPvUKKf+XtxLPOjzfPPr mWaA== X-Received: by 10.14.69.200 with SMTP id n48mr1037738eed.54.1391334829560; Sun, 02 Feb 2014 01:53:49 -0800 (PST) Original-Received: from keima.localdomain (x2f22eac.dyn.telefonica.de. [2.242.46.172]) by mx.google.com with ESMTPSA id m9sm46709174eeh.3.2014.02.02.01.53.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Feb 2014 01:53:47 -0800 (PST) In-Reply-To: <52EE02C5.3040502@gmx.es> X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::233; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07LllRMpr - 5992032f1b92 - 20140202 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:86163 Archived-At: Am 02.02.2014 um 09:33 schrieb Pablo Rodriguez : > Dear list, > > I converted the monospace fonts of txfonts > (http://www.ctan.org/tex-archive/fonts/txfonts/pfb) from pbf to otf > using FontForge. They work fine (http://www.ousia.tk/ryfonts.zip). > > But the issue is shown in the following sample (beta from 2014.02.01 14:22): > > \definefontfamily[mainface][mono][ryt1xtt][bf=ryt1xbtt] > \setupbodyfont[mainface] > \definetyping[TeXcode][option=TEX] > \starttext > \starttyping > \ConTeXt\ is > \stoptyping > \startTeXcode > \ConTeXt\ is > \stopTeXcode > \stoptext > > If option=TEX is enabled, there is no space after the backslash. > > I have checked the font and it seems to work fine, so it might be a bug. I can reproduce the problem with the type1 fonts: \starttypescript[serif][txfonts] \setups[font:fallback:serif] \definefontsynonym [Serif] [file:t1xtt.afm] [features=complete] \definefontsynonym [SerifBold] [file:t1xbtt.afm] [features=complete] \definefontsynonym [SerifCaps] [file:t1xttsc.afm] [features=complete] \stoptypescript \starttypescript[mono][txfonts] \setups[font:fallback:mono] \definefontsynonym [Mono] [file:t1xtt.afm] [features=none] \definefontsynonym [MonoBold] [file:t1xbtt.afm] [features=none] \stoptypescript \definetypeface [mainface] [rm] [serif] [txfonts] [default] \definetypeface [mainface] [tt] [mono] [txfonts] [default] \setupbodyfont[mainface] \starttext Regular, {\bf Bold} and {\sc Smallcaps}. \starttyping[option=tex] \CONTEXT\ is wonderful! \stoptyping \stoptext Even though this is something that should be fixed using a different font in truetype/opentype format solves your problem as well. The following two fonts are similar to the monospaced font of the txfonts package: - http://www.fontsquirrel.com/fonts/Luxi-Mono - http://www.fontsquirrel.com/fonts/pt-mono Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________