Hi Dalyoung !

I am not entirely sure, but there is a strong chance that what you are observing is related to internal changes in LMTX between your 2024 setup and the current 2026 version.  In particular, the way glyph outlines are extracted and passed to MetaPost seems to have evolved. Your current code relies on:

|draw outlinetext.b(...) |

This belongs to an older MetaPost-based mechanism for outlining text. In recent LMTX versions, the preferred and actively maintained method appears to be |lmt_outline|, which handles OpenType fonts (especially CJK scripts like Hangul) more consistently.

Could you try this code instead? And tell the list what differences you notice? I made a few changes, concerning the blue color, but mainly the use of lmtx in the MPgraphic call and the line below (present in the original script).

Best//JP

% JeongDale-outline-noto-kr.tex

% ConTeXt LMTX — Outline titles (Hangul + Latin) with Noto KR fonts

% Uses lmt_outline (recommended) instead of legacy outlinetext.*


\setupcolors[state=start]

\setupbackend[pagecolormodel=rgb]


% --- Define a reliable blue (avoid relying on implicit color names)

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


% --- Big fonts for headings

\definefont[BigFontTwo] [NotoSansKR-Bold sa 2]

\definefont[BigFontThree][NotoSansKR-Bold sa 3]


% --- Font families

\definefontfamily[notoFont][rm][Noto Serif KR]

[it={style:regular,features:{*,slanted}},

sl={style:regular,features:{*,slanted}},

bi={style:bold,features:{*,slanted}},

force=yes]


\definefontfamily[notoFont][ss][Noto Sans KR]

[it={style:regular,features:{*,slanted}},

sl={style:regular,features:{*,slanted}},

bi={style:bold,features:{*,slanted}},

force=yes]


% --- Language / script

\setuplanguage[kr][patterns=us]

\mainlanguage[kr]

\setscript[hangul]


% --- Body font

\setupbodyfont[notoFont,rm,12pt]


% ------------------------------------------------------------

% Outline drawing: LMTX method (lmt_outline)

% ------------------------------------------------------------

\startuseMPgraphic{outlineT}

draw lmt_outline [

text = \MPvar{tt},

kind = "both", % "draw" (outline), "fill" (fill), "both"

align = "middle",

fillcolor = "gray",

rulethickness = .8pt,

drawcolor = "dBlue"

] ;

\stopuseMPgraphic


% --- Ensure the heading font is active BEFORE calling MetaPost.

% This avoids subtle differences across versions.

\define[1]\outlineTitle{%

{\BigFontThree\useMPgraphic{outlineT}{tt="#1"}}%

}


% ------------------------------------------------------------

% Heading setup

% ------------------------------------------------------------

\setuphead[chapter][

textcommand=\outlineTitle,

numbercommand=\outlineTitle,

textstyle=\BigFontThree,

numberstyle=\BigFontThree,

align=middle,

number=no,

]


\starttext


\chapter{알고리즘(Algorithm)}


This is a test file for the outlined font.

(\ConTeXt: LMTX : your current version here; Noto Serif KR / Noto Sans KR)


\stoptext




Le 14/02/2026 à 12:48, Jeong Dal via ntg-context a écrit :
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.

Thank you.

Best regards,

Dalyoung



___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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