ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* alternate to font feature file for glyph substitution ?
@ 2016-04-28 14:08 jfbu
  2016-05-05  8:55 ` luigi scarso
  2016-05-10 14:25 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: jfbu @ 2016-04-28 14:08 UTC (permalink / raw)
  To: ntg-context

Hi, 

how should I go at the Plain TeX level about implementing
the following glyph substitution which I formerly expressed
in a font feature file:

languagesystem DFLT dflt;
languagesystem latn dflt;

feature oneb {
  sub one by one.ss01;
} oneb;

The font is Vollkorn, a Plain LuaTeX file which worked in TL2015 would be

\input luaotfload.sty
\font\x="Vollkorn:script=latn;language=DFLT;+tlig;featurefile=vollkornlua.fff;+oneb;"
\x 123
\bye
% Local Variables:
% TeX-engine: luatex
% End:

The glyph for digit 1 is modified and picked in stylistic set 1. I don't want
to globally switch to that stylistic set, I am only interested into digit 1.

My use case is more with LuaLaTeX+fontspec, but if I am explained 
a Plain LuaTeX approach I can at least forward to Will Robertson 
who maintains fontspec and cross my fingers that it trickles down
back to me at some point via update of fontspec, or luatex, or luaotfload, 
... 

Please CC to me as although I asked for (temporary) list inscription
I might not yet be registered.

I am aware of https://mailman.ntg.nl/pipermail/ntg-context/2016/083952.html
but can't work it out from there.

Jean-François


___________________________________________________________________________________
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:[~2016-05-10 14:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-28 14:08 alternate to font feature file for glyph substitution ? jfbu
2016-05-05  8:55 ` luigi scarso
2016-05-05  9:19   ` jfbu
2016-05-10 14:25 ` 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).