From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100916 Path: news.gmane.org!.POSTED!not-for-mail From: Joseph Canedo Newsgroups: gmane.comp.tex.context Subject: Missing font features in page header if \feature[-] is used in header text Date: Wed, 30 May 2018 14:31:18 +0200 Message-ID: <5b0e9993.1c69fb81.af603.668f@mx.google.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1369051319501232667==" X-Trace: blaine.gmane.org 1527683404 30626 195.159.176.226 (30 May 2018 12:30:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 May 2018 12:30:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 30 14:30:00 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fO0Ep-0007r7-UL for gctc-ntg-context-518@m.gmane.org; Wed, 30 May 2018 14:29:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 533862F8EE; Wed, 30 May 2018 14:31:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CvOszxhbbiY1; Wed, 30 May 2018 14:31:34 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 007982F8E1; Wed, 30 May 2018 14:31:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1E7CE2F8DF for ; Wed, 30 May 2018 14:31:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ede9Za4XlajV for ; Wed, 30 May 2018 14:31:27 +0200 (CEST) Original-Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C24752F8E1 for ; Wed, 30 May 2018 14:31:17 +0200 (CEST) Original-Received: by mail-wr0-f170.google.com with SMTP id d2-v6so13898377wrm.10 for ; Wed, 30 May 2018 05:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance; bh=zv3/CU84M3jHEA8DuQNTjhGe2/ZUe6SR0kpQgcBid44=; b=nbbU28LRLxGFDWgu35gNLgjtrM2ODsgkOKNeZQgzUOnhRu5w2VJ4rm/8HR6kojIzIX ohIDBxja6UVMY0UbTsvtbxQ060Sx97jty0gE4ZkELCvEZ72bBE/4KayKn78B+pztB+lb xU/7eVFn3CqGb+HDvj04AdQL7sGGdHDNn86+Mi8jCDHGT0ICnCxs8whPex3y50UvbXyQ muua0pn6qIwDRD2W3C4Pfo4dJOW7om/O2bE+ZuyRnemKJVHOvsNzUEDH/4eauyQlyhGN ZgquUSZsjW6AuzI9nDW/oq0uS7qpJPxWgJSBVU32ZEFCG9NR1xK1VPJe28av4JpKvH4j xPeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance; bh=zv3/CU84M3jHEA8DuQNTjhGe2/ZUe6SR0kpQgcBid44=; b=IwmSJLECxek13fe2BhPaObtkldrQtEuKTzZ+yzEDZ5YXEP0BQiEGEd6YP20xHH472b nxfMuOfEioM9ognanZVgyWIUvPw9FxFWJkp9hK57mOZV2ZLi5SpM1L6B1TqUdqoj7rax 11NTfnQo6QXomk03lK3/pSH/yiliohQ+zIcrvhXW/N+hpMpSxulrM/+Wz9w2LcUn2Ayv 5va3sXmso38k/xufhb2qbTu6vERfIcCZ4uhQiLzMfhXwwDHaf6q6Y4SaVmx40AbphXDw G7880ct2COEV8kZKqT6tWybC4a1Xp6eTX2mbRPPoBDtpHWB8ThC1e9SpveP5koXEJHrf rQhw== X-Gm-Message-State: ALKqPwfLYeXgY+yFUPGqGyXrjOT1DqFzxaryICiM8Y+6oUHewkneyLBt gHOnxnz4bhw1jmG2cUzE5J1pDtpC X-Google-Smtp-Source: ADUXVKJHKbXE/QMY8ZNXMPwdd60eoS0nDlrBZl7F/PgRagCn9bYWsTmssaeqT1nybmB2JiPp64+i6A== X-Received: by 2002:adf:9365:: with SMTP id 92-v6mr2158251wro.283.1527683477262; Wed, 30 May 2018 05:31:17 -0700 (PDT) Original-Received: from ?IPv6:2a01:cb00:68e:300:e924:fa85:a5aa:74f? (2a01cb00068e0300e924fa85a5aa074f.ipv6.abo.wanadoo.fr. [2a01:cb00:68e:300:e924:fa85:a5aa:74f]) by smtp.gmail.com with ESMTPSA id f15-v6sm21515409wrm.52.2018.05.30.05.31.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 May 2018 05:31:15 -0700 (PDT) Importance: normal X-Priority: 3 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:100916 Archived-At: --===============1369051319501232667== Content-Type: multipart/alternative; boundary="_9E4476F1-F514-43A6-9FD7-3257AFABB4F5_" --_9E4476F1-F514-43A6-9FD7-3257AFABB4F5_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Dear list, Provided MWE below I notice that font features seem ignored in page header = rendering. Anything I am doing wrong=C2=A0? Rendering is fine if \headerok is used. Any help would be appreciated. Thanks Best regards Joseph \definefontfeature[base][mode=3Dnode, liga=3Dyes, dlig=3Dyes, hlig=3Dyes, k= ern=3Dyes] \definefontfeature[xvicentury][] \definefontfamily[mainfont][serif][EBGaramond][features=3Dbase] \setupbodyfont[mainfont, 9pt] \showfontkerns \def\wrongheader{First book {\feature[-][xvicentury]v} Psalme De David.} %%= \feature[-] seems to cause problems in header \def\headerok{First book v Psalme De David.} \setupheadertexts[\wrongheader] %% kern/ligatures missing <--- % \setupheadertexts[\headerok] %% kern/ligatures ok <--- \starttext \wrongheader %% all ok in main text \headerok \stoptext --_9E4476F1-F514-43A6-9FD7-3257AFABB4F5_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Dear list,

 

Provided MWE below I notice that fon= t features seem ignored in page header rendering. Anything I am doing wrong=  ?

Rendering is fine if \headerok is used.

=

 

Any help wou= ld be appreciated.

 

Thanks

Best regards

 

Joseph

 

\definefontfeature[base][mode=3D= node, liga=3Dyes, dlig=3Dyes, hlig=3Dyes, kern=3Dyes]

\definefontfeature[xvicentury][]

 

\definefontfamily[mainfont][serif][EBGaramond][f= eatures=3Dbase]

 

\setupbodyfont[mainfont, 9pt]

 

\showfontkerns

&nb= sp;

\def\wrongheader{First book {\feature[-][= xvicentury]v} Psalme De David.} %% \feature[-] seems to cause problems in h= eader

\def\headerok{First book v Psalme De David.}<= /p>

 

\setuphea= dertexts[\wrongheader] %% kern/ligatures missing <---

% \setupheadertexts[\headerok] %% kern/ligatures ok <---

 

\starttext

 

\wrongheader %% = all ok in main text

 

\headerok

 

\stoptext

 

= = --_9E4476F1-F514-43A6-9FD7-3257AFABB4F5_-- --===============1369051319501232667== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============1369051319501232667==--