From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47568 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Making necessary OpenType features on by default Date: Fri, 20 Feb 2009 22:23:52 +0200 Message-ID: <20090220202352.GA15066@khaled-laptop> References: <20090220183922.GA10583@khaled-laptop> <499EFD12.1080808@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0640085878==" X-Trace: ger.gmane.org 1235161573 4722 80.91.229.12 (20 Feb 2009 20:26:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 20:26:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 20 21:27:28 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 1Labxl-0001qu-5Y for gctc-ntg-context-518@m.gmane.org; Fri, 20 Feb 2009 21:27:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EB1E01FB1D; Fri, 20 Feb 2009 21:25:46 +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 04495-04; Fri, 20 Feb 2009 21:24:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A8D631FB4E; Fri, 20 Feb 2009 21:24:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E36A1FB4E for ; Fri, 20 Feb 2009 21:24:45 +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 04549-03-5 for ; Fri, 20 Feb 2009 21:24:01 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by ronja.ntg.nl (Postfix) with ESMTP id 843F21FB1D for ; Fri, 20 Feb 2009 21:24:01 +0100 (CET) Original-Received: from mail-fx0-f167.google.com (mail-fx0-f167.google.com [209.85.220.167]) by filter2-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1KKO0kx021407 for ; Fri, 20 Feb 2009 21:24:00 +0100 Original-Received: by fxm11 with SMTP id 11so461681fxm.2 for ; Fri, 20 Feb 2009 12:24:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=ORFoBwj0A55ALUrm4s80rDGHKMVcjoJb/u12MUg9bj4=; b=ejwE5WPTHmJHb2CRG8ZkoGoPP7x9u7N5Fj/GjOC1zV78wed/AcUjR+nid3DMQVSXdI /T08bsVxjIg/yPMX7zf86ZAu9u6VbErRYvdq8ACSFnAfJ8i12t3qhDRGE7Hp5mGuSZYS VwvfXi65zmXy6K6UPANDJtIvTvbTMG2Y5515w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=i/O/AA6VI1fVYN4qM0QCAT/MTKQ8S9C9wOxT71+eUP7285fcCgpgGCfqc9Rqyg31r+ vu4+RCYwzp36y1wl5hzw/A4EJ5Tz5CUyRpqMLChZiDUNuhCktM66lGoJFfrlWlH5d8tt YRG0t/S8Pv54lFZOeIlJqh2FcCollKCbQknT4= Original-Received: by 10.223.111.134 with SMTP id s6mr1554143fap.37.1235161440135; Fri, 20 Feb 2009 12:24:00 -0800 (PST) Original-Received: from localhost ([41.237.37.90]) by mx.google.com with ESMTPS id 33sm5095206nfu.49.2009.02.20.12.23.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 20 Feb 2009 12:23:59 -0800 (PST) In-Reply-To: <499EFD12.1080808@wxs.nl> User-Agent: Mutt/1.5.18 (2008-05-17) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.167; 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: 183131568 - 5f2648cb0070 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:47568 Archived-At: --===============0640085878== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 20, 2009 at 07:57:22PM +0100, Hans Hagen wrote: > 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.=20 >> >> I think some font features should be on by default, so that >> \definefontfeature[script=3Darabic] should be enough to get an Arabic fo= nt >> 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=3Ddefault option (as there is already = =20 > features=3Dyes|no) > > even then it can never be fully automatic as some usage of fonts (think = =20 > of verbatim) demands devation from defaults > > now, if we implement a default list then we first need to make a =20 > detailed list of what the supposed defaults are (and i'm not sure if ms = =20 > is the only resource for that; after all, not all machineries support =20 > all features) I didn't find any other sources, and this seem to be the only published source of such information. > a related issue is that fonts can be used for different languages and =20 > scripts and therefore a more dynamic feature switching might be needed = =20 > i.e. arabic might need init, but when the same font is used for latin it = =20 > not handy to have it enabled, so there might be a matrix of features / = =20 > scripts needed I think we can make default features per script (HarfBuzz seems to do that). > if it was trivial i'd already done it -) I know :) just my two cents. > (implementing is trivial but i don't want to make the wrong decision =20 > here as it will influence compatibility) I see. --=20 Khaled Hosny Arabic localizer and member of Arabeyes.org team --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmfEVcACgkQRoqITGOuyPLsUwCdF4uaSaKOKK43n57wq3OCftiL wN0An3GZnjbjQJnZTv7Dgm9yoYBqtqnX =pfc1 -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X-- --===============0640085878== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0640085878==--