用 TeX 处理这个文件之后你就能看到所有宋体汉字。
假设你的宋体叫做 gbksong, 如果不是请改动第一行。
/def/ff{gbksong}
/def/showchar{{/count0=0 /par
/loop /char/count0{/tenrm/number/count0}
/advance/count0 by 1 /ifnum/count0<256 /repeat/par}}
/def/showchinesefont{
{/count1=1 /loop /bigskip/noindent/tenrm0/number/count1:
/font/c=/ff0/number/count1 /c /showchar
/advance/count1 by 1 /ifnum/count1<10 /repeat }
{/count1=10 /loop /tenrm/number/count1: /font/c=/ff/number/count1 /c /showchar
/advance/count1 by 1 /ifnum/count1<95 /repeat }
}
/showchinesefont
/bye
假设你的宋体叫做 gbksong, 如果不是请改动第一行。
/def/ff{gbksong}
/def/showchar{{/count0=0 /par
/loop /char/count0{/tenrm/number/count0}
/advance/count0 by 1 /ifnum/count0<256 /repeat/par}}
/def/showchinesefont{
{/count1=1 /loop /bigskip/noindent/tenrm0/number/count1:
/font/c=/ff0/number/count1 /c /showchar
/advance/count1 by 1 /ifnum/count1<10 /repeat }
{/count1=10 /loop /tenrm/number/count1: /font/c=/ff/number/count1 /c /showchar
/advance/count1 by 1 /ifnum/count1<95 /repeat }
}
/showchinesefont
/bye