[NTG-context] issue with font loading

Hans Hagen pragma at wxs.nl
Wed Mar 2 12:28:57 CET 2016


On 3/2/2016 12:11 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
>      \definefontfamily[mainface][rm][Latin Modern Roman]
>      \definefontfamily[mainface][ss][GaraMath][file={newg8-regular.otf}]
>
>      \setupbodyfont[mainface]
>
>      \starttext
>      a{\ss a}b{\ss b}c{\ss c}g{\ss g}
>      \stoptext
>
> I don’t get a sans typeface different from Latin Modern Roman.
>
> If the font is on the same directory as the ConTeXt source file, what is
> wrong in my code?

doesn't the log tell you something

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list