From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47565 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Making necessary OpenType features on by default Date: Fri, 20 Feb 2009 19:57:22 +0100 Message-ID: <499EFD12.1080808@wxs.nl> References: <20090220183922.GA10583@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235156436 19369 80.91.229.12 (20 Feb 2009 19:00:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 19:00:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 20 20:01:51 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 1Laaby-0000H3-VH for gctc-ntg-context-518@m.gmane.org; Fri, 20 Feb 2009 20:00:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B1DD61FB89; Fri, 20 Feb 2009 19:59:12 +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 32711-02; Fri, 20 Feb 2009 19:58:03 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3D5091FB49; Fri, 20 Feb 2009 19:58:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 01EC11FB49 for ; Fri, 20 Feb 2009 19:58:02 +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 00121-01-6 for ; Fri, 20 Feb 2009 19:57:22 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by ronja.ntg.nl (Postfix) with ESMTP id EC4441FADF for ; Fri, 20 Feb 2009 19:57:22 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by filter3-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1KIvLtB013938 for ; Fri, 20 Feb 2009 19:57:22 +0100 Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 12947-1840426 for ; Fri, 20 Feb 2009 19:57:21 +0100 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: <20090220183922.GA10583@khaled-laptop> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.247.100.17; country=NL; region=16; city=Dronten; latitude=52.5333; longitude=5.7167; http://maps.google.com/maps?q=52.5333,5.7167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 183107062 - 2f786e3f960f X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:47565 Archived-At: Khaled Hosny wrote: > Currently, when defining a font feature one has to enable all features > by hand which is IMHO not very user friendly as it implies prior > knowledge about OpenType font features and the meaning of each one, not > every Arabic user, for example, knows what does 'init', 'medi, etc. > ligatures mean yet to know that he must enable them to get proper font > rendering. > > I think some font features should be on by default, so that > \definefontfeature[script=arabic] should be enough to get an Arabic font > rendered correctly with the default features as its designer intended > (designers assume that certain will be on while other are off by > default, like liga vs. dlig), and if some one wants to disable a certain > default feature he can turn it off, not the reverse. > > Microsoft's OpenType features list page > (http://www.microsoft.com/typography/otspec/features_ae.htm) gives a "UI > suggestion" for each feature noting if it should be on by default, I > think those are what most OpenType enable by default (at least the ones > I tested). i've been thinking of a features=default option (as there is already features=yes|no) even then it can never be fully automatic as some usage of fonts (think of verbatim) demands devation from defaults now, if we implement a default list then we first need to make a detailed list of what the supposed defaults are (and i'm not sure if ms is the only resource for that; after all, not all machineries support all features) a related issue is that fonts can be used for different languages and scripts and therefore a more dynamic feature switching might be needed i.e. arabic might need init, but when the same font is used for latin it not handy to have it enabled, so there might be a matrix of features / scripts needed if it was trivial i'd already done it -) (implementing is trivial but i don't want to make the wrong decision here as it will influence compatibility) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________