1. tfm 파일들을 생성.
ttf2tfm HANBatang-LVT.ttf hcrbtm@Unicode@
2. c70hcrbt.fd 파일 작성 (cjk-ko)
\ProvidesFile{c70hcrbt.fd} \DeclareFontFamily{C70}{hcrbt}{\hyphenchar\font\m@ne} \DeclareFontShape {C70}{hcrbt}{m}{n}{<-> CJK * hcrbtm}{}
3. luchcrbt.fd 파일 작성 (kotex-utf)
\ProvidesFile{luchcrbt.fd} \DeclareFontFamily{LUC}{hcrbt}{\hyphenchar\font\m@ne} \DeclareFontShape {LUC}{hcrbt}{m}{n}{<-> LUC * hcrbtm}{}
4. tex 파일 작성
\documentclass{article} \usepackage[cjk,mj=hcrbt]{kotex} % cjk-ko %\usepackage{kotex} \SetSerifFonts{hcrbt}{hcrbt} % kotex-utf \ifcase\pdfoutput % dvipdfmx \special{pdf:mapline + hcrbtm@Unicode@ unicode HANBatang-LVT.ttf} \else % pdflatex \pdfmapline{=hcrbtm@Unicode@ <HANBatang-LVT.ttf} \fi \begin{document} 가〈漢字〉다. \end{document}
5. cjk-ko의 pdflatex에서 텍스트 추출을 위해서는 패키지 옵션 [truetype]
을 준다. https://goo.gl/1scMf1
kotex-utf의 pdflatex에서는 \usepackage{dhucs-cmap}
.
KTUG 한국 텍 사용자 그룹