On 1/5/2021 6:53 PM, Pablo Rodriguez wrote:
On 1/5/21 5:11 PM, Hans Hagen wrote:
On 1/5/2021 4:46 PM, Pablo Rodriguez wrote:
[...]
If script=auto, current latest (2021.01.05 10:45) works fine. If it is
set to Latin (as above), I don’t get small caps.

Besides the potential issue in ConTeXt, I think that "script=auto" may
be safer than "script=latn". Or am I taking too much for granted?
well, ytou get what you ask for ... if you don't set the script you get
default (dflt) which also gives small caps

I have another sample that makes me wonder whether ConTeXt is misbehaving:

   \definefontfeature
     [onumsmcp]
     [script=latn,
      onum=yes,
      smcp=yes,
      c2sc=yes]

   \definefallbackfamily
     [mainface]
     [rm]
     [GFS Heraklit]
     [preset=range:greek,
      force=yes]

   \definefontfamily
     [mainface]
     [rm]
     [TeX Gyre Pagella]

   \setupbodyfont
     [mainface]

   \starttext
     \feature[+][onumsmcp]\tfb ab12αβ
   \stoptext


GFS Heraklit
(https://greekfontsociety-gfs.gr/_assets/fonts/GFS_Heraklit.zip [direct
link].) defines Greek c2sc and smcp for grek{dflt} (as displayed by
FontForge [which I read as: default language and Greek script]).

kind of inconsistent:

c2sc     grek     dflt
         latn     dflt
onum     cyrl     dflt
         dflt     dflt
         grek     dflt
         latn     aze crt deu dflt mol rom srb trk
smcp     cyrl     dflt
         dflt     dflt
         grek     dflt
         latn     dflt

so just don't specify a script

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
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to