Hi, On Sun, 05 Sep 2021 22:54:30 +0900, Atsuhito Kohda <atsuhit...@tokushima-u.ac.jp> wrote: > > On Sat, 04 Sep 2021 18:22:16 +0900, Youhei SASAKI wrote: > > > "kanji-config-updmap{-sys,-user}" along with setup of other tools, so > > please try to invoke this command. > > "kanji-config-updmap-sys auto" sets up correctly Japanese > fonts with haranoaji fonts. > But it generates /var/lib/texmf/fonts/map/dvipdfmx/updmap/kanjix.map > so, I guess, this forces dvipdfmx to embed haranoaji fonts > which could be not appropriate for someone.
As you said, the kanjix.map generated here is a configuration file for dvipdfmx. From previous versions, pxdvi uses this kanjix.map file as the font configuration file. This means that pxdvi will not have a font configuration file. This is the desired behavior that the fonts embedded in the final generated PDF file will be the same as the fonts used for display in pxdvi. If you want to separate the pxdvi and dvipdfmx settings, you need to take the following steps: (1) Set pxdviUse=true in updmap-sys: updmap-sys --setoption pxdviUse=true (2) Set the appropriate font in kanji-config-updmap-sys (3) Modify /etc/texmf/dvips/xdvi/config.xdvi to load xdvi-ptex.map generated by the above command instead of kanjix.map (...BTW. I think it is better to change the location of this file...) > > Also, the dependency on e.g., Rumin-Light that you suggested is already > > configured in /etc/ghostscript/cidfmap.d/90gs-cjk-resource-japan1.conf > > I might misunderstand you but is this configuration works > for xdvik-ja? If I do "kanji-config-updmap-sys nofont" > then xdvi can't display Japanese characters again. > (I might be wrong...) Confirmed. Excuse me, I might misunderstand too. xdvi.bin: Warning: FreeType2: Open Font Error (d). Error code = 1 xdvi.bin: Warning: FreeType2: Open Font Error (OV). Error code = 1 I have specified fonts such as Ryumin-Light and GothicBBB-Medium in fontconifg, but pxdvi doesn't seem to find the corresponding fonts. Of course, if I specify a specific font with kanji-config-updmap{,-sys}, there is no problem with the display (as you reported). Did you have no problems with previous versions? Best Regards, Youhei -- Youhei SASAKI <uwab...@gfd-dennou.org> <uwab...@debian.or.jp> GPG fingerprint: 4096/RSA: 66A4 EA70 4FE2 4055 8D6A C2E6 9394 F354 891D 7E07