[NTG-context] font features in the wiki

2023-01-22 Thread Pablo Rodriguez via ntg-context
Dear list, since Hans has asked me for an addition to the wiki, I was thinking of adding a complete explanation of font features. I must admit that https://wiki.contextgarden.net/Featuresets wouldn’t be the best way that I would choose to explain this. Of course, I don’t want to impose my view

Re: [NTG-context] font features

2022-11-03 Thread Thomas A. Schmitz via ntg-context
On 11/3/22 19:24, Hans Hagen via ntg-context wrote: You're going way too complex. Access to features and info has alwaye been part of mkic (and therefore lmtx). You can peek into the s-font* styles for all kind of ways to get overviews. Anyway, the following helper operates on the current

Re: [NTG-context] font features

2022-11-03 Thread Hans Hagen via ntg-context
On 11/3/2022 2:03 PM, Thomas A. Schmitz via ntg-context wrote: On 11/3/22 13:27, Henning Hraban Ramm via ntg-context wrote: If it works for you, then it’s a problem of my installation, otherwise a regression in current LMTX... No, I get the same error message, this looks promising but doesn't

Re: [NTG-context] font features

2022-11-03 Thread Hans Hagen via ntg-context
On 11/3/2022 12:52 PM, Herbert Voss via ntg-context wrote: Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context: Hi, is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I

Re: [NTG-context] font features

2022-11-03 Thread Thomas A. Schmitz via ntg-context
On 11/3/22 13:27, Henning Hraban Ramm via ntg-context wrote: If it works for you, then it’s a problem of my installation, otherwise a regression in current LMTX... No, I get the same error message, this looks promising but doesn't work. And at the risk of sounding grumpy, but all of this is

Re: [NTG-context] font features

2022-11-03 Thread Henning Hraban Ramm via ntg-context
Am 03.11.22 um 13:20 schrieb Henning Hraban Ramm via ntg-context: Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context: You can also get font information via mtxrun --script server --start and then open the given address in your browser; AFAIR you get samples, but it doesn’t work

Re: [NTG-context] font features

2022-11-03 Thread Henning Hraban Ramm via ntg-context
Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context: Hi, is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I couldn't find anything... You get a lot of information with

Re: [NTG-context] font features

2022-11-03 Thread Thomas A. Schmitz via ntg-context
On 11/3/22 12:52, Herbert Voss via ntg-context wrote: You'll get only the features with otfinfo in the terminal. For example: Thank you, I was aware of that. But that's only the first step: you still have to use this list to define ConTeXt featuresets and then typeset. I was trying to build

Re: [NTG-context] font features

2022-11-03 Thread Herbert Voss via ntg-context
Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context: Hi, is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I couldn't find anything... You'll get only the features with

[NTG-context] font features

2022-11-03 Thread Thomas A. Schmitz via ntg-context
Hi, is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I couldn't find anything... All best Thomas ___

Re: [NTG-context] font features in math

2016-05-04 Thread Ulrike Fischer
Am Wed, 4 May 2016 09:53:14 +0200 schrieb Hans Hagen: > as you don't specify a mode, you get base mode Damn ;-). I didn't thought about this possibility. I assumed the default mode would be like in luaotfload "node". Thanks for correcting me. It is a relieve that I didn't find the font simply

Re: [NTG-context] font features in math

2016-05-04 Thread Hans Hagen
On 5/3/2016 12:13 AM, Ulrike Fischer wrote: Am Mon, 2 May 2016 18:47:36 +0200 schrieb Philipp Gesang: How can you switch a feature like mode=node to mode=base for every font in math? Define two fonts: one for use in math mode, another for where you really, really require node mode. That's

Re: [NTG-context] font features in math

2016-05-03 Thread jfbu
Le 3 mai 2016 à 00:13, Ulrike Fischer a écrit : > That's easy if one can select the fonts explicitly, but the question > was triggered by the url package which internally switches to math. I have posted a (seemingly partial) patch to this problem of \url at

Re: [NTG-context] font features in math

2016-05-02 Thread Ulrike Fischer
Am Mon, 2 May 2016 18:47:36 +0200 schrieb Philipp Gesang: >> How can you switch a feature like mode=node to mode=base for >> every font in math? > Define two fonts: one for use in math mode, another for where you > really, really require node mode. That's easy if one can select the fonts

Re: [NTG-context] font features in math

2016-05-02 Thread jfbu
Le 2 mai 2016 à 20:15, jfbu a écrit : > > >> \font\fixmath=\fontname\textfont\foo mode=base; >> \textfont\foo=\fixmath > > I will use a better approach as this one does not work > when the thing ends as "at 7.0pt" for example, but in principle > I see I can do surgery on the

Re: [NTG-context] font features in math

2016-05-02 Thread jfbu
> \font\fixmath=\fontname\textfont\foo mode=base; > \textfont\foo=\fixmath I will use a better approach as this one does not work when the thing ends as "at 7.0pt" for example, but in principle I see I can do surgery on the \fontname and replace there mode=node if it exists with mode=base. I

Re: [NTG-context] font features in math

2016-05-02 Thread jfbu
Le 2 mai 2016 à 18:47, Philipp Gesang a écrit : > · > >> Am Sun, 1 May 2016 11:45:02 +0200 schrieb Philipp Gesang: >> So somehow in math the +onum is lost in plain and latex but not in context. What is context doing differently to avoid this? >>> >>>

Re: [NTG-context] font features in math

2016-05-02 Thread Philipp Gesang
· > Am Sun, 1 May 2016 11:45:02 +0200 schrieb Philipp Gesang: > > >> So somehow in math the +onum is lost in plain and latex but not in > >> context. What is context doing differently to avoid this? > > > > mode=base > > If context attach mode=base to math, how does it it? A one

Re: [NTG-context] font features in math

2016-05-01 Thread Hans Hagen
On 5/1/2016 12:53 PM, Ulrike Fischer wrote: Am Sun, 1 May 2016 11:45:02 +0200 schrieb Philipp Gesang: So somehow in math the +onum is lost in plain and latex but not in context. What is context doing differently to avoid this? mode=base If context attach mode=base to math, how does it

Re: [NTG-context] font features in math

2016-05-01 Thread Ulrike Fischer
Am Sun, 1 May 2016 11:45:02 +0200 schrieb Philipp Gesang: >> So somehow in math the +onum is lost in plain and latex but not in >> context. What is context doing differently to avoid this? > > mode=base If context attach mode=base to math, how does it it? How can you switch a feature like

Re: [NTG-context] font features in math

2016-05-01 Thread Philipp Gesang
· > When I compile this in context all number are oldstyle numbers: > > \starttext > > \font\test= {name:TeX-Gyre-Termes:+onum} > \test 0123456789 > $\fam0 \textfont0=\test 0123456789$ > \stoptext > > When I run a similar plaintex (or latex) example in texlive 2016 > with a new

[NTG-context] font features in math

2016-05-01 Thread Ulrike Fischer
When I compile this in context all number are oldstyle numbers: \starttext \font\test= {name:TeX-Gyre-Termes:+onum} \test 0123456789 $\fam0 \textfont0=\test 0123456789$ \stoptext When I run a similar plaintex (or latex) example in texlive 2016 with a new luaotfload then the text numbers are

Re: [NTG-context] font features in XeTeX

2015-07-06 Thread Robert Zydenbos
Hans Hagen wrote: On 7/6/2015 9:13 AM, Robert Zydenbos wrote: Dear ConTeXt folk, Is there any simple way to pass font features as a parameter to XeConTeXt? i am thinking of things like what in LaTeX would be (between square brackets) \setromanfont [AutoFakeSlant=0.5, AutoFakeBold=0.5]

Re: [NTG-context] font features in XeTeX

2015-07-06 Thread Hans Hagen
On 7/6/2015 9:13 AM, Robert Zydenbos wrote: Dear ConTeXt folk, Is there any simple way to pass font features as a parameter to XeConTeXt? i am thinking of things like what in LaTeX would be (between square brackets) \setromanfont [AutoFakeSlant=0.5, AutoFakeBold=0.5] {Doulos SIL Phon}. There

Re: [NTG-context] font features in XeTeX

2015-07-06 Thread Wolfgang Schuster
Robert Zydenbos mailto:cont...@zydenbos.net 6. Juli 2015 12:15 I would like to, but I need to use TrueType fonts for Indian scripts in my work that are supported in XeTeX but not (yet) in LuaTeX. As an experiment, I tried to use the so-called 'long s' in a Fraktur font, which comes out well

[NTG-context] font features in XeTeX

2015-07-06 Thread Robert Zydenbos
Dear ConTeXt folk, Is there any simple way to pass font features as a parameter to XeConTeXt? i am thinking of things like what in LaTeX would be (between square brackets) \setromanfont [AutoFakeSlant=0.5, AutoFakeBold=0.5] {Doulos SIL Phon}. There has to be some way to do this, but I seem

[NTG-context] font features in beta

2012-10-17 Thread Philipp Gesang
Hi all, this works in TL but not minimals: · \definefontfeature[textfigures] [onum=yes] \definefontfeature[texligatures] [tlig=yes] \starttext \addff{textfigures} 1234567890 \addff{texligatures} foo---bar \stoptext

Re: [NTG-context] font features in beta

2012-10-17 Thread Marco Patzer
2012-10-17 Philipp Gesang: With Context as of today and Luatex from minimals, I get lining figures and a triple dash. Did I miss something? Confirmed. works with 2012.09.23 12:40 fails with 2012.10.16 23:38 Marco

Re: [NTG-context] font features in beta

2012-10-17 Thread Hans Hagen
On 17-10-2012 16:08, Philipp Gesang wrote: Hi all, this works in TL but not minimals: · \definefontfeature[textfigures] [onum=yes] \definefontfeature[texligatures] [tlig=yes] \starttext \addff{textfigures} 1234567890

Re: [NTG-context] font features in beta

2012-10-17 Thread Philipp Gesang
···date: 2012-10-17, Wednesday···from: Hans Hagen··· On 17-10-2012 16:08, Philipp Gesang wrote: ... With Context as of today and Luatex from minimals, I get lining figures and a triple dash. Did I miss something? just a missing comma in a lua file, i'll upload an update Hans Thanks

[NTG-context] Font features for \ss only?

2011-05-23 Thread Oliver Buerschaper
Hi all, how would I make sure that \ss always uses one set of font features while \rm always uses the default feature set? Do I need to specify this in the typescript file? The reason is I'm using Myriad as \ss font and would like to enable the capital spacing (cpsp) OpenType feature for that

Re: [NTG-context] Font features for \ss only?

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 20:07 schrieb Oliver Buerschaper: Hi all, how would I make sure that \ss always uses one set of font features while \rm always uses the default feature set? Do I need to specify this in the typescript file? The reason is I'm using Myriad as \ss font and would like to

[NTG-context] font features

2010-11-17 Thread Herbert Voss
What is wrong with my font setting for libertine that the fontsize is reset when activating a font feature. For latin modern it is ok. the output:http://perce.de/temp/xxx.png Herbert \starttypescriptcollection[mylibertine] \starttypescript[serif][libertine][name]

Re: [NTG-context] font features

2010-11-17 Thread Hans Hagen
On 17-11-2010 8:15, Herbert Voss wrote: \setupbodyfont[modern,12pt] so, 12 pt lm \definefontfeature[noLigNoKern][zero=yes,liga=no,kern=no] \font\myNoLigNoKern=lmroman12-regular*noLigNoKern again 12pt lm (as you choose the 12 pt design size) \starttext Fiffies schöner 0815-Text über die

[NTG-context] Font features switching

2009-05-16 Thread Vyatcheslav Yatskovsky
Hello, I'm still curious about using font features. For example, I want to have one typescript with slashed zero, and another with normal one. But using either typescript (see commented lines) results in slashed zeroes. What s wrong? \definefontfeature[zero][default][zero=yes]

Re: [NTG-context] Font features switching

2009-05-16 Thread Wolfgang Schuster
Am 16.05.2009 um 09:51 schrieb Vyatcheslav Yatskovsky: Hello, I'm still curious about using font features. For example, I want to have one typescript with slashed zero, and another with normal one. But using either typescript (see commented lines) results in slashed zeroes. What s wrong?

Re: [NTG-context] Font features

2009-05-15 Thread Wolfgang Schuster
Am 15.05.2009 um 04:06 schrieb Vyatcheslav Yatskovsky: Hello, I also have a question about font features. Minion Pro has old style numerals. How to display them, provided that I enabled this feature? In the following test script, I get ordinary numbers, no old style.

Re: [NTG-context] Font features

2009-05-15 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Fri, 15 May 2009 00:21:58 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \definefontfeature[onum][default][onum=yes] What is the second option for? \definefontfeature[onum][onum=yes] should work as well. Best wishes Idris -- Professor Idris Samawi Hamid,

Re: [NTG-context] Font features

2009-05-15 Thread Alex Lubberts
On vr, 2009-05-15 at 06:23 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: On Fri, 15 May 2009 00:21:58 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \definefontfeature[onum][default][onum=yes] What is the second option for? If I'm correct, this means define a font

Re: [NTG-context] Font features

2009-05-15 Thread Hans Hagen
Alex Lubberts wrote: On vr, 2009-05-15 at 06:23 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: On Fri, 15 May 2009 00:21:58 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \definefontfeature[onum][default][onum=yes] What is the second option for? If I'm correct, this

[NTG-context] Font features

2009-05-14 Thread Vyatcheslav Yatskovsky
Hello, I also have a question about font features. Minion Pro has old style numerals. How to display them, provided that I enabled this feature? In the following test script, I get ordinary numbers, no old style. \starttypescript [serif] [MinionPro] \definefontsynonym

Re: [NTG-context] Font features not always working

2008-05-06 Thread Wolfgang Schuster
On Wed, Apr 30, 2008 at 10:00 AM, Lutz Haseloff [EMAIL PROTECTED] wrote: Hi Wolfgang, it seems that some fonts need script=latn in \definefontfeature. (i copied and pasted from font-ini.tex) So your file works here: -- % engine=luatex \definefontfeature

Re: [NTG-context] Font features not always working

2008-04-30 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 3:25 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: Hi, the features from OpenType fonts are not accesable for all fonts, I tried to use my old test case for Microsofts Cambria fonts and none of the features did work, also kerning is

[NTG-context] Font features not always working

2008-04-29 Thread Wolfgang Schuster
Hi, the features from OpenType fonts are not accesable for all fonts, I tried to use my old test case for Microsofts Cambria fonts and none of the features did work, also kerning is disabled. I put the files with the result from last year and the latest stable online.

Re: [NTG-context] Font features not always working

2008-04-29 Thread Taco Hoekwater
Wolfgang Schuster wrote: Hi, the features from OpenType fonts are not accesable for all fonts, I tried to use my old test case for Microsofts Cambria fonts and none of the features did work, also kerning is disabled. I put the files with the result from last year and the latest

Re: [NTG-context] Font features not always working

2008-04-29 Thread Wolfgang Schuster
On Tue, Apr 29, 2008 at 3:25 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: Hi, the features from OpenType fonts are not accesable for all fonts, I tried to use my old test case for Microsofts Cambria fonts and none of the features did work, also kerning is