dvi の時点でグリフの unicode を取得できますか?

Re: dvi の時点でグリフの unicode を取得できますか?

- t tk の投稿
返信数: 0
質問者の環耀 横浜さんはもう解決済みかと思いますが、
遅まきながら試してみました。
検索でここにたどり着く方もいらっしゃるかも。

U+20BB7 はいわゆる「土よし」で、下記の「""」は実際には U+20BB7 の方です。

入力 uplatex
=== jp_font.tex ===
\documentclass{ujarticle}
\begin{document}
テスト \kchar"20BB7野家
test
\end{document}
======

$ uplatex jp_font.tex

$ updvitype jp_font.dvi > jp_font.dvitype
=== jp_font.dvitypeの一部 ===
114: fntdef1 15: upjisr-h
138: fntnum15 current font is upjisr-h
139: set2 12486("30C6) type=0 h:=4693832+630600=5324432, hh:=337
142: set2 12473("30B9) type=0 h:=5324432+630600=5955032, hh:=377
145: set2 12488("30C8) type=0 h:=5955032+630600=6585632, hh:=417
148: right3 218453 h:=6585632+218453=6804085, hh:=431
152: set3 134071("20BB7) type=0 h:=6804085+630600=7434685, hh:=471
156: set2 37326("91CE) type=0 h:=7434685+630600=8065285, hh:=511
159: set2 23478("5BB6) type=0 h:=8065285+630600=8695885, hh:=551
162: right3 157650 h:=8695885+157650=8853535, hh:=561
[テスト 野家 ]
======

$ dvispc -a -JU jp_font.dvi > jp_font.dvispc
=== jp_font.dvispcの一部 ===
fntdef1 15 0 630600 655360 0 8 'upjisr-h'
fntnum15
set2 0x30c6 "テ"
set2 0x30b9 "ス"
set2 0x30c8 "ト"
right3 218453
set3 0x20bb7 ""
set2 0x91ce "野"
set2 0x5bb6 "家"
======