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] [0x0000-0xFFFF] [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 using method=uppercase.
But "target=" is a more general solution (remapping old dingbats fonts on the dingbats section of unicode makes sense as an example?)
Would the range 0x0000-0xFFFF overwrite also capital letters?
it checks for the lowercase / uippercase unicode properties so it's safe
In that case i'm afraid we'd have a scaled down, embolded, uppercase version of the font, not a small-caps variant with a consistent thickess of the glyphs.
no, it more 'clever'
I think i should specify only the lower case letters' ranges. no, it does that itself
btw, make sure that you also apply default features to the emboldened ... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------