Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
On 10/3/2018 3:29 PM, Hans Hagen wrote: On 10/3/2018 12:33 PM, mf wrote: Hello list, i'm trying to add a smallcaps variant to the MyriadPro font, since it does not implement the smcp opentype feature. My strategy: - "transplant" the uppercase letters of the MyriadPro-Regular into the

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread mf
Il 03/10/18 16:02, Hans Hagen ha scritto: ok, even nicer:     \definefontfallback[FakeSansCaps]   [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase] which will remap all lowercase in the font so that you also get accented characters Yes, for this case it makes more sense

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
On 10/3/2018 4:20 PM, mf wrote: Il 03/10/18 16:02, Hans Hagen ha scritto: ok, even nicer: \definefontfallback[FakeSansCaps]   [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase] which will remap all lowercase in the font so that you also get accented characters Yes,

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
On 10/3/2018 12:33 PM, mf wrote: Hello list, i'm trying to add a smallcaps variant to the MyriadPro font, since it does not implement the smcp opentype feature. My strategy: - "transplant" the uppercase letters of the MyriadPro-Regular into the lowercase letters of the same font with a font

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread mf
\starttypescriptcollection [myriadpro] \definefontfeature[emboldened][effect={width=0.18,delta=0.4,factor=0.3}] \starttypescript [sans] [myriadpro] \definefontsynonym [Sans] [file:MyriadPro-Regular.otf] [features=default] \definefontsynonym [SansItalic]

Re: [NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread Hans Hagen
Hi, better shift a bit up to compensate for the line width relative to the bbox: \starttypescriptcollection [myriadpro]   \definefontfeature[emboldened][effect={width=0.18,delta=0.4,factor=0.3}] \definefontfeature[emboldened][effect={width=0.18,delta=0.4,factor=0.3,vshift=.4}]  

[NTG-context] style=underbar output in export

2018-10-03 Thread Rik Kabel
List, With recent betas, since a fix for tagged elements in tables, underbar processing seems to have changed (or perhaps I just noticed it after that fix). Previously, the following highlight definition worked for both pdf and export outputs: \definehighlight

Re: [NTG-context] style=underbar output in export

2018-10-03 Thread Wolfgang Schuster
Rik Kabel schrieb am 04.10.18 um 00:01: List, With recent betas, since a fix for tagged elements in tables, underbar processing seems to have changed (or perhaps I just noticed it after that fix). Previously, the following highlight definition worked for both pdf and export outputs:

Re: [NTG-context] profile specification '{ISO Coated v2 300% (ECI)} ' not found in 'colorprofiles.xml, colorprofiles.lua'

2018-10-03 Thread Jan U. Hasecke
On 03.10.18 11:29, Wolfgang Schuster wrote: > > > Jan U. Hasecke schrieb am 01.10.18 um 10:47: >> I get this error when I try to compile a pdf with: >> >> \setupbackend[ >>    format=PDF/X-3:2003, >>    intent={ISO Coated v2 300\letterpercent\space (ECI)} >>    ] > > You need a comma after the

[NTG-context] faking smallcaps font with font features and fallbacks

2018-10-03 Thread mf
Hello list, i'm trying to add a smallcaps variant to the MyriadPro font, since it does not implement the smcp opentype feature. My strategy: - "transplant" the uppercase letters of the MyriadPro-Regular into the lowercase letters of the same font with a font fallback that scales down the

Re: [NTG-context] profile specification '{ISO Coated v2 300% (ECI)} ' not found in 'colorprofiles.xml, colorprofiles.lua'

2018-10-03 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 01.10.18 um 10:47: I get this error when I try to compile a pdf with: \setupbackend[ format=PDF/X-3:2003, intent={ISO Coated v2 300\letterpercent\space (ECI)} ] You need a comma after the right brace for the intent argument. When you take a closer look