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

2018-10-04 Thread Hans Hagen
On 10/4/2018 4:10 PM, mf wrote: In Debian, evince has the same problem (ugly preview); instead qpdfview preview is OK. maybe some aliasing option? evince (ugly) uses cairo, qpdfview (good) uses qt. Zooming out the preview becomes uglier, but - evince emboldens too much - qpdfview shifts

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

2018-10-04 Thread Taco Hoekwater
Hi, > On 4 Oct 2018, at 15:46, Hans Hagen wrote: > > On 10/4/2018 3:19 PM, Taco Hoekwater wrote: >>> On 4 Oct 2018, at 14:11, Hans Hagen wrote: >>> >>> On 10/4/2018 1:44 PM, Taco Hoekwater wrote: Hi, > ok, even nicer: > >\definefontfallback[FakeSansCaps]

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

2018-10-04 Thread mf
In Debian, evince has the same problem (ugly preview); instead qpdfview preview is OK. maybe some aliasing option? evince (ugly) uses cairo, qpdfview (good) uses qt. Zooming out the preview becomes uglier, but - evince emboldens too much - qpdfview shifts the emboldened glyphs downward

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

2018-10-04 Thread luigi scarso
On Thu, Oct 4, 2018 at 3:35 PM mf wrote: > In Debian, evince has the same problem (ugly preview); instead qpdfview > preview is OK. > qpdfview -> Edit->Settings->Graphics General/PDF/PS Several "antialias like" option, plus backend. -- luigi

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

2018-10-04 Thread Hans Hagen
On 10/4/2018 3:19 PM, Taco Hoekwater wrote: On 4 Oct 2018, at 14:11, Hans Hagen wrote: On 10/4/2018 1:44 PM, Taco Hoekwater wrote: Hi, ok, even nicer: \definefontfallback[FakeSansCaps] [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase] which will remap all

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

2018-10-04 Thread Hans Hagen
On 10/4/2018 3:35 PM, mf wrote: Il 04/10/18 14:11, Hans Hagen ha scritto: On 10/4/2018 1:44 PM, Taco Hoekwater wrote: Hi, ok, even nicer:     \definefontfallback[FakeSansCaps]   [SansEmboldened] [0x-0x] [rscale=.8,method=uppercase] which will remap all lowercase in the font

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

2018-10-04 Thread mf
Il 04/10/18 14:11, Hans Hagen ha scritto: On 10/4/2018 1:44 PM, Taco Hoekwater wrote: Hi, 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

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

2018-10-04 Thread Taco Hoekwater
> On 4 Oct 2018, at 14:11, Hans Hagen wrote: > > On 10/4/2018 1:44 PM, Taco Hoekwater wrote: >> Hi, >>> ok, even nicer: >>> >>>\definefontfallback[FakeSansCaps] [SansEmboldened] [0x-0x] >>> [rscale=.8,method=uppercase] >>> >>> which will remap all lowercase in the font so

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

2018-10-04 Thread Hans Hagen
On 10/4/2018 1:44 PM, Taco Hoekwater wrote: Hi, 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 I do not like ‘emboldened’ as it

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

2018-10-04 Thread Taco Hoekwater
Hi, > 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 I do not like ‘emboldened’ as it results in a very ugly screen

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}]  

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

[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