On Fri, Jul 2, 2010 at 5:57 PM, luigi scarso
In this example \N{COMBINING CARON BELOW} looks bad -- a font problem ?
\usetypescript[libertine] \setupbodyfont[libertine,rm,10pt] \setupinterlinespace[line=2.6ex]
\starttext %%echo '\N{LATIN SMALL LETTER A}\N{COMBINING DOT BELOW}\N{COMBINING CARON BELOW}' |./uconv -t utf-8 -x "name-any ạ̬ \stoptext
Better in pure mkiv \usetypescript[libertine] \setupbodyfont[libertine,rm,10pt] \setupinterlinespace[line=2.6ex] \startluacode function desc2utf8(desc) local us = '' local plane = 0 for i,v in pairs(characters.data) do plane = i if v.description == desc then us = v.unicodeslot break end end return tex.sprint(tex.ctxcatcodes,unicode.utf8.char(us)) end \stopluacode \def\N#1{\ctxlua{desc2utf8("#1")}} \starttext \N{LATIN SMALL LETTER A}\N{COMBINING DOT BELOW}\N{COMBINING CARON BELOW} \stoptext -- luigi