From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65917 Path: news.gmane.org!not-for-mail From: Ulrike Fischer Newsgroups: gmane.comp.tex.context Subject: Re: Using virtual fonts defined with lua-code Date: Wed, 9 Feb 2011 17:09:07 +0100 Message-ID: <7fm3plooxbvi$.dlg@nililand.de> References: <1wdobeyo3bvv9$.dlg@nililand.de> <4D514F77.8010207@wxs.nl> <20110208144604.GA3943@khaled-laptop> <4D516A4B.3040907@wxs.nl> <4D52970E.80408@wxs.nl> Reply-To: news3@nililand.de, 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: dough.gmane.org 1297267793 2014 80.91.229.12 (9 Feb 2011 16:09:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2011 16:09:53 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 09 17:09:49 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 1PnCc1-0001MJ-0A for gctc-ntg-context-518@m.gmane.org; Wed, 09 Feb 2011 17:09:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 45219CAA5E; Wed, 9 Feb 2011 17:09:47 +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 SDmH85X98Sqv; Wed, 9 Feb 2011 17:09:44 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53D76CAA64; Wed, 9 Feb 2011 17:09:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9036DCAA64 for ; Wed, 9 Feb 2011 17:09:42 +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 ICKXPk3a8-SK for ; Wed, 9 Feb 2011 17:09:31 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 67762CAA5E for ; Wed, 9 Feb 2011 17:09:31 +0100 (CET) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p19G9TPX032442 for ; Wed, 9 Feb 2011 17:09:30 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PnCbh-00015b-H6 for ntg-context@ntg.nl; Wed, 09 Feb 2011 17:09:29 +0100 Original-Received: from p5b2a6f95.dip.t-dialin.net ([91.42.111.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Feb 2011 17:09:29 +0100 Original-Received: from news3 by p5b2a6f95.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Feb 2011 17:09:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5b2a6f95.dip.t-dialin.net User-Agent: 40tude_Dialog/2.0.15.41de X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bE5Q9uXQ - 934d1907a14b - 20110209 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:65917 Archived-At: Am Wed, 09 Feb 2011 14:30:54 +0100 schrieb Hans Hagen: >>> \font\mine=file:luatex-fonts-demo-vf-1.lua at 12pt >> >> What are the search pathes for such virtual lua fonts? I suggested >> the file extension ".vflua" because I thought it would be senseful >> if not the search path for general .lua files is used. I wanted to >> put this virtual fonts in a dedicated location e.g. fonts/vflua/.... > > I'm not going to hard code something like that as it's a macro specific > issue. You can try (untested): > > fonts.formats.vflua = "lua" > > Paths and lookups are also a macro package issue and as khaled probably > has specific file lookup code for latex, I suppose that the lookup can > be handled there. If not, we can make the remapper extensible. > > Anyhow, "tex" with "other text files" sounds good enough for me. Also, I > suppose that names should be unique and the files that you make in some > latex specific (sub)path in order not to clash. As this is not that > generic, maybe something: tex/latex/fonts/vflua is best. While I certainly in the end want to use the (virtual) fonts also with LaTeX I don't want to define them in a LaTeX-specific way. A standard virtual font (tfm + vf) can be used with latex, plain and context with an identical syntax so why should this be different for this new type of virtual font only because they are based on lua-code? Also if a font is defective (e.g. wrong kerning, missing glyphs, faulty glyph names, missing open type features ...) a virtual font which improves this font should be useful for all formats which can use it, so I don't think that a format specific location is sensible. (I must say I'm wondering a bit why problems with fonts are so seldom discussed in the context list. In the last weeks I have seen in the xetex list a discussion how to add missing glyphs to a font, a discussion about kerning flaws, discussions about bad accent placement, in another group someone missed the "m with dot" in a font, in the luatex.user list you can find a message about a problem with fea-files and kerning, and so one ... Why do context user seems to have no problems with defective fonts? Do they use a smaller set of fonts?) -- Ulrike Fischer ___________________________________________________________________________________ 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 ___________________________________________________________________________________