Wolfgang,

As usual, you spotted the problem. For my part, I tried to see if there was a real difference between processing with ‘legacy_outline’ and ‘lmtx_outline’ using the Noto Serif KR and Noto Sans KR fonts; in the display provided by Daleyoung, there is clearly a problem with overlapping characters, but I don't see it in the MWE (see attached PDF).

Here the MWE :

% JeongDale_MPgraphic-comparison-04.tex

% Affichage de titres en coréen selon la méthode "legacy" ou bien "lmt_outline"

\setupcolors[state=start]

\setupbackend[pagecolormodel=rgb]

\definecolor[dBlue][r=.10,g=.20,b=.70]

\definecolor[dRed] [r=.80,g=.10,b=.10]


\definefontfamily[notoFont][rm][Noto Serif KR][force=yes]

\definefontfamily[notoFont][ss][Noto Sans KR][force=yes]


\setuplanguage[kr][patterns=us]

\mainlanguage[kr]

\setscript[hangul]

\setupbodyfont[notoFont,rm,12pt]

\setuphead

[section]

[

style=\tfd,

color=dBlue,

]


% Réglages :

\def\AlgoScale{10} % taille en pt

\def\AlgoSpace{.08} % letterspacing (try .05 / .08 / .10 / .12)


% Espacement inter-lettres (commande ConTeXt : \letterspacing)

\define[1]\AlgoText{\letterspacing[\AlgoSpace]{#1}}


% --- Legacy method (outlinetext.b)

\startuseMPgraphic{outlineLegacy}

draw outlinetext.b(

"\hbox{\definedfont[SerifBold at \AlgoScale pt]\AlgoText{\MPvar{tt}}}"

)

(withcolor transparent(1,.85,white))

(withcolor \MPcolor{dRed} withpen pencircle scaled .9pt) ;

\stopuseMPgraphic


% --- Modern method (lmt_outline)

\startuseMPgraphic{outlineModern}

draw lmt_outline [

text = "\definedfont[SerifBold at \AlgoScale pt]\AlgoText{\MPvar{tt}}",

kind = "both",

align = "middle",

fillcolor = "white",

rulethickness = .9pt,

drawcolor = "dBlue"

] ;

\stopuseMPgraphic


% tt sans guillemets (sinon ""..."" casse MetaPost)

\define[1]\LegacyTitle{\useMPgraphic{outlineLegacy}{tt={#1}}}

\define[1]\ModernTitle{\useMPgraphic{outlineModern}{tt={#1}}}


\starttext


\section{알고리즘 (Algorithm)}


This is a test file for the outlined font.

(\ConTeXt: LMTX : my current version 2025, July 27; Noto Serif KR / Noto Sans KR)


\startsubject[title={Outline comparison (same page)}]


\blank[big]

{\bf Legacy (outlinetext.b)}\par

\blank[small]

\LegacyTitle{알고리즘 (Algorithm)}\par


\blank[big]

{\bf Modern (lmt\_outline)}\par

\blank[small]

\ModernTitle{알고리즘 (Algorithm)}\par


\stopsubject


\stoptext





Le 14/02/2026 à 17:52, Wolfgang Schuster a écrit :
Am 14.02.2026 um 16:56 schrieb Wolfgang Schuster:
Am 14.02.2026 um 12:48 schrieb Jeong Dal via ntg-context:
Dear Hans,


Sometimes I use the outline font style for chapter title.

Yesterday I got the strange output of it which was good at 2024.12.

Here are two figures, first one is the output of 2024 and the second one is the output of yesterday.

Is there any changes of method  of drawing outline fonts?

I attach a sample file and two figures.

Do you use the same font in both documents?

I notice the output is different between an older and newer version of Noto Sans KR.

\startMPpage[offset=1ts]

draw lmt_outline [
     kind      = "both",
     text      = "\definedfont[file:notosanskrregular]알",
     fillcolor = "gray",
] scaled 10 ;

draw lmt_outline [
     kind      = "both",
     text      = "\definedfont[file:notosanscjkkrregular]알",
     fillcolor = "gray",
] scaled 10 shifted (10*BodyFontSize,0);

\stopMPpage

I looked at both font files with fontforge and this seems to be a font problem. I suggest you try to contact googles noto team.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist :[email protected] 
/https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  :https://www.pragma-ade.nl /https://context.aanhet.net (mirror)
archive  :https://github.com/contextgarden/context
wiki     :https://wiki.contextgarden.net
___________________________________________________________________________________

Attachment: JeongDale_MPgraphic-comparison-04.pdf
Description: Adobe PDF document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to