From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47405 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: Problem of space in font names Date: Sat, 14 Feb 2009 09:02:29 +0100 Message-ID: <6faad9f00902140002o5513c739w9318358073ff543e@mail.gmail.com> References: <6048c4180902131305t21b8b8b1l5e0bf3032a54842d@mail.gmail.com> <49960FCC.10703@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: ger.gmane.org 1234598687 9856 80.91.229.12 (14 Feb 2009 08:04:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2009 08:04:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 14 09:06:01 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LYFXF-0005Jf-DQ for gctc-ntg-context-518@m.gmane.org; Sat, 14 Feb 2009 09:06:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C8C4C1FC0D; Sat, 14 Feb 2009 09:04:36 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09211-02-2; Sat, 14 Feb 2009 09:03:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 326C21FC14; Sat, 14 Feb 2009 09:03:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5AD7E1FC14 for ; Sat, 14 Feb 2009 09:03:20 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09211-02 for ; Sat, 14 Feb 2009 09:02:31 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by ronja.ntg.nl (Postfix) with ESMTP id 1A6BE1FC11 for ; Sat, 14 Feb 2009 09:02:31 +0100 (CET) Original-Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by filter4-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1E82Udg002730 for ; Sat, 14 Feb 2009 09:02:30 +0100 Original-Received: by bwz9 with SMTP id 9so2316838bwz.2 for ; Sat, 14 Feb 2009 00:02:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=kJRgiLSKngQlNUyEVwz/dMz/Su4XxF557FsmSNGeOyA=; b=X9mX+oKD4AEntxG3CmWFv0WI/nMZApigRi74wstRLeDHrUKvF0+YYMe4xt5ImRbuy8 nKKGfXufJKzx6azFNRb4pHznd88rBuiIwnpmdOVqdEvjfNb2YfbGasDakm0yVsrMOYvc oQ3cxeCzYdjUIwIbkRNE9Ifqb9+skA3QNec1g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IzkIrY7MuUcw+3DhGh42Jd+Mc3oiR/7iXom4aOdIcy2GJalHb6Z4ldUjlYVmStptBj cYVPowgciv+m8sspZrIQKQvlWwA5mAB2ObczZOMeHTgT2Toa2YJmYzoNKuCsiPP16eJm nXEeCnirWi9Ftl9fTs5He5KhXFxGlzplUf9cY= Original-Received: by 10.180.224.13 with SMTP id w13mr1043350bkg.40.1234598550027; Sat, 14 Feb 2009 00:02:30 -0800 (PST) In-Reply-To: <49960FCC.10703@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.213; 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: 179867949 - 230b58608edc X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47405 Archived-At: On Sat, Feb 14, 2009 at 1:26 AM, Hans Hagen wrote: > Mehdi Omidali wrote: >> >> Hi, >> I have noticed that luatex can not handle fonts with space in their >> names. I haven't had this problem in the past but now it happens in >> the latest context minimal both on windows and linux. > > spaces are always tricky ... in mkiv just omit the spaces (internally all > font names are stripped from spaces and special characters and treated > lowercase), so "Abc Def-GhI" becomes "abcdefghi" anyway Hello Hans, I agree that spaces are tricky, but XeTeX does require those spaces for example\footnote{Yes, yes, I know what you wanted to repy about XeTeX. I would rename the font as well, but on the other hand being able to use the same definition for bothe engines is only a benefit.}. As long as the syntax is clear: [file:Some Name With Spaces] this should be accepted in my opinion. If you store font names without spaces and dashes in database, it might make sense to strip the name in a similar manner here before trying to access the database and ask it to give back the font. Mojca ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________