ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* punk is dead
@ 2011-08-16 20:44 Jano Kula
  2011-08-16 22:58 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Jano Kula @ 2011-08-16 20:44 UTC (permalink / raw)
  To: ntg-context

Hi Hans & comp.

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?

*.tma and *.tmc files also differ in size.

ConTeXt  ver: 2011.08.04 00:42 MKIV
LuaTeX-0.70.1


\definefontfeature[punk]
     [mode=node,script=latn,rand=yes,kern=yes,tlig=yes]

\starttypescript[serif][punknova]
  \definefontsynonym[Serif][file:punknova-regular][features=punk]
\stoptypescript

\starttypescript[punknova]
      \definetypeface[punknova][rm][serif][punknova][default]
\stoptypescript

\setupbodyfont[punknova]

\starttext
\rm \input knuth\par
\stoptext



BTW, is \installfontfeature deprecated as the font-ini.mkiv says: 
"installing font features *was* experimental"? Any other way to install 
font features from *.fea file instead of

\installfontfeature[otf][rock]
\definefontfeature
       [myfeature]
       [mode=node,rock=yes,featurefile=rockfile.fea]

Thank you,

Jano


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: punk is dead
  2011-08-16 20:44 punk is dead Jano Kula
@ 2011-08-16 22:58 ` Hans Hagen
  2011-08-16 23:26   ` Khaled Hosny
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2011-08-16 22:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jano Kula

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

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: punk is dead
  2011-08-16 22:58 ` Hans Hagen
@ 2011-08-16 23:26   ` Khaled Hosny
  2011-08-17  9:38     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Khaled Hosny @ 2011-08-16 23:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jano Kula

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: punk is dead
  2011-08-16 23:26   ` Khaled Hosny
@ 2011-08-17  9:38     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2011-08-17  9:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jano Kula

On 17-8-2011 1:26, Khaled Hosny wrote:

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

ok, patched

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

That would be nice indeed.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-17  9:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-16 20:44 punk is dead Jano Kula
2011-08-16 22:58 ` Hans Hagen
2011-08-16 23:26   ` Khaled Hosny
2011-08-17  9:38     ` Hans Hagen

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).