[NTG-context] baseline of outlined font

Jeong Dal haksan at me.com
Sat Feb 16 12:07:55 CET 2019


Dear all,

Recently, I used outlined font described in MetaFun for titles.
But the baselines of the number and the title of chapter are different.
What is wrong in the following code?

Thank you for reading.

Best regards,

Dalyoung

%%%%%%%%
\definefont[BigFontOne][NotoSansCJKkr-Bold sa 4]
\definecolor[BigColorOne][r=.86,g=.850,b=.54]

\startuseMPgraphic{outlineT}
  draw outlinetext.b (\MPvar{tt})
  (withcolor .75white)
  (withcolor .725blue withpen pencircle scaled .75pt);%\MPvar{thick});
\stopuseMPgraphic

\define[1]\titleOutline{\useMPgraphic{outlineT}{tt="#1"}}

\setuphead[chapter,title]
 [deeptextcommand=\titleOutline,
  color=BigColorOne,
  style=\BigFontOne,
  numbercommand=\titleOutline,
  number=yes]

\setupbodyfont[rm, 11pt]

\starttext

\chapter{First}
\samplefile{knuth}

\startchapter[title={Chapter Title}]
   \samplefile{knuth}
\stopchapter

\stoptext



More information about the ntg-context mailing list