2

Today, After reading the chapters about typography and fonts in the reference manual, I tried to define my own typescript. After mtxrun --script fonts --reload, I wrote the codes like this:

    % century.ttf in C:\Windows\Fonts
    \starttypescript[serif][centuryfont][name]
    \definefontsynonym[Serif][century]
    \stoptypescript
    \definetypeface[newfont][rm][serif][centuryfont][default]
    \setupbodyfont[newfont,12pt]
    \starttext
     ...
    \stoptext

It is so small, but only to test my usderstanding. When it succeeded, I changed the century in the third line to palatinolinotyperoman which could be searched by mtxrun --script fonts --list --all --pattern=pala*. Sadly, this font(pala.ttf) cannot be loaded.

I don't know why :-(

jub0bs
  • 58,916
yanpengl
  • 2,691
  • 12
  • 24

0 Answers0