Last active
April 3, 2021 12:49
-
-
Save dohyunkim/396fa6e04b416a110bcad146ab27ea8c to your computer and use it in GitHub Desktop.
xetex protrusion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\font\ntss="Noto Sans CJK KR:mapping=tex-text;script=hang;language=KOR" at 10pt | |
\ntss | |
% xetex -no-pdf xxx.tex 한 후 dviasm 을 실행해 gid 를 알아낸다. | |
\setbox0\hbox{\XeTeXglyph 63116} | |
\rpcode\font 63116=\dimexpr100\wd0/(\fontdimen6\font/10)\relax | |
\XeTeXprotrudechars=2 | |
가. | |
\tracingoutput\maxdimen | |
\showboxdepth\maxdimen | |
\showboxbreadth\maxdimen | |
\bye |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment