ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Khaled Hosny <khaledhosny@eglug.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Jano Kula <jano.kula@tiscali.cz>
Subject: Re: punk is dead
Date: Wed, 17 Aug 2011 01:26:42 +0200	[thread overview]
Message-ID: <20110816232642.GA9832@khaled-laptop> (raw)
In-Reply-To: <4E4AF61A.8090100@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

On Wed, Aug 17, 2011 at 12:58:34AM +0200, Hans Hagen wrote:
> On 16-8-2011 10:44, Jano Kula wrote:
> 
> >is there any reason why the latest beta doesn't typeset random glyphs
> >with rand feature as it used to at least a year ago?
> 
> fixed in next veta

BTW, the latest release of the fonts have slanted versions, so no need
for auto-slanting. Attached a patch for type-otf.mkiv.

Mojca, can we have the fonts in minimals (they are on CTAN), I think
Hans likes them ;)

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
 Arab

[-- Attachment #2: punk.diff --]
[-- Type: text/x-diff, Size: 1400 bytes --]

diff --git a/tex/context/base/type-otf.mkiv b/tex/context/base/type-otf.mkiv
index df4809e..a846e4d 100644
--- a/tex/context/base/type-otf.mkiv
+++ b/tex/context/base/type-otf.mkiv
@@ -1887,13 +1887,12 @@
 \starttypescriptcollection[punk]
 
     \definefontfeature [punknova]         [mode=node,script=latn,rand=yes,kern=yes,liga=yes,tlig=yes]
-    \definefontfeature [punknova-slanted] [punknova] [slant=.25]
 
     \starttypescript [serif] [punknova]
-        \definefontsynonym [Serif]           [\s!file:punknova-regular] [\s!features=punknova]
-        \definefontsynonym [SerifSlanted]    [\s!file:punknova-regular] [\s!features=punknova-slanted]
-        \definefontsynonym [SerifBold]       [\s!file:punknova-bold]    [\s!features=punknova]
-        \definefontsynonym [SerifBoldSlanted][\s!file:punknova-bold]    [\s!features=punknova-slanted]
+        \definefontsynonym [Serif]           [\s!file:punknova-regular]     [\s!features=punknova]
+        \definefontsynonym [SerifSlanted]    [\s!file:punknova-slanted]     [\s!features=punknova]
+        \definefontsynonym [SerifBold]       [\s!file:punknova-bold]        [\s!features=punknova]
+        \definefontsynonym [SerifBoldSlanted][\s!file:punknova-boldslanted] [\s!features=punknova]
         \definefontsynonym [SerifItalic]     [SerifSlanted]
         \definefontsynonym [SerifBoldItalic] [SerifBoldSlanted]
     \stoptypescript

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-08-16 23:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 20:44 Jano Kula
2011-08-16 22:58 ` Hans Hagen
2011-08-16 23:26   ` Khaled Hosny [this message]
2011-08-17  9:38     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110816232642.GA9832@khaled-laptop \
    --to=khaledhosny@eglug.org \
    --cc=jano.kula@tiscali.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).