Wolfgang and Taco, thank you for this! Tac, the font Seravek I have is a bought font from processtype. Willi
On 8 okt. 2015, at 12:24, Taco Hoekwater
wrote: On 08 Oct 2015, at 12:09, Wolfgang Schuster
wrote: Willi Egger 8. Oktober 2015 um 11:40 Hi all,
sorry for bothering you with this.
I have a font Seravek-Regular.otf and Seravek-Bold.otf. It is actually my company font.
Now I needed to use bold-smallcaps. But I can not get it working, though otfinfo tells, that in the bold font there are smallcaps
In my typescript file I have the following two lines, from which the Regular variant works perfectly well.
\definefontsynonym [SansCaps] [Seravek-Regular] [features=smallcaps] \definefontsynonym [SansBoldCaps] [Seravek-Bold] [features=smallcaps]
I tried to get bold smallcaps with \bf\sc but without success.
SansBoldCaps does not have a ‘short form’, afaik.
Can anyone point me what to do? \bf\setsmallcaps
(or \let\sc\setsmallcaps, somewhere in the setup section, which is what I usually do).
Note that this method does not need nor use the SansCaps and SansBoldCaps synonyms in the typescript, and that it only works for well-behaved opentype fonts. Oh, and it may give you italic smallcaps, something the old ’SansCaps’ based method never did.
Best wishes, Taco
___________________________________________________________________________________ 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 ___________________________________________________________________________________