From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48375 Path: news.gmane.org!not-for-mail From: John Hughes Newsgroups: gmane.comp.tex.context Subject: XeTeX font feature selection Date: Sat, 14 Mar 2009 14:33:41 +0000 Message-ID: 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 1237052345 21417 80.91.229.12 (14 Mar 2009 17:39:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Mar 2009 17:39:05 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 14 18:40:22 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 1LiXqP-0008L2-Uf for gctc-ntg-context-518@m.gmane.org; Sat, 14 Mar 2009 18:40:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CC04F1FA60; Sat, 14 Mar 2009 18:38:54 +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 16490-02; Sat, 14 Mar 2009 18:38:32 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA0811FADC; Sat, 14 Mar 2009 18:38:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A45031FA2B for ; Sat, 14 Mar 2009 15:33:49 +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 05087-03 for ; Sat, 14 Mar 2009 15:33:42 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id 67B6C1FA41 for ; Sat, 14 Mar 2009 15:33:42 +0100 (CET) Original-Received: from mail-fx0-f167.google.com (mail-fx0-f167.google.com [209.85.220.167]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2EEXfL6028434 for ; Sat, 14 Mar 2009 15:33:42 +0100 Original-Received: by fxm11 with SMTP id 11so3077447fxm.2 for ; Sat, 14 Mar 2009 07:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=/ZnkYIwW97dsfau37xn1O/V79a2QvrYgBD1pqd8yzTs=; b=MXGAEk2lU2huKbQHchipiaK8NH5vyvtNcRb/xobUaRxtmUS0TKCfL6knLdG2iLqd8R rPd7OkIS8MBdRb/nQCVXJB5IradanqrZ5s8f+C7TYWoGihhROtiECvPUxYzdgcio+yVW dGGTb4i6YhfMrdxkTsp5fPRGW67ur9vGCB390= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=pJHDGPHWRxk3c9od5j0oaDO+b1hNyB8WyRhjkocCxh4m08P6QU9n9YZaVqS+SrNCIZ zUsDyRYb9zWCxcRUNMuYv+/dvtFGP3rGZ0SP/XvZ0RAWYazi9z4gAfBRkx45PGNzzbkp XePT8Mr3yP5zKzLyQQwGpBgCQrioGn7nB8VBs= Original-Received: by 10.204.55.142 with SMTP id u14mr828897bkg.114.1237041221472; Sat, 14 Mar 2009 07:33:41 -0700 (PDT) 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: 193528176 - 6c843f22519e X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Sat, 14 Mar 2009 18:38:30 +0100 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:48375 Archived-At: What is the correct way of selecting a font and using OpenType features? I have tried \definetypeface[linlib][rm][Xserif][Linux Libertine][features=oldstyle] \setupbodyfont[linlib, 12pt] but the output prints Computer Modern (and not with old-style numerals). The font seems to work without the "features=oldstyle", but I am not sure how to select the font and some OpenType features. I don't seem to be able to find any documentation. John ___________________________________________________________________________________ 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 ___________________________________________________________________________________