From kde-bugs-dist Mon Apr 19 11:28:31 1999 From: Markku Hihnala Date: Mon, 19 Apr 1999 11:28:31 +0000 To: kde-bugs-dist Subject: Bug#1216: Kdvi does not work wit virtual fonts? X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=92452172730740 Lengyel Sandor wrote: > > To: submit@bugs.kde.org > From: hunnia@elender.hu > Subject: kdvi doesnot work with tex virtual fonts. > Package: kdvi (graphics) > Version: 1.1 or later > > I added the zpshal font to my TEX library. (It is used as a virtual font > to remap characters and add hungarian umlaut. Updated the psfonts.map, > > as: > > rzpshals Shelley-AllegroScript < > (Note rzpshals stands for raw unmapped zpshals) > > rehashed the TEX. > > when I use xdvi on a dvi file which uses zpshals I have no problem, but > when I use kdvi I get the following message: > > > kpathsea: Running mktexmf zpshals > ! I can't find file `zpshals'. > <*> ...g:=magstep(3.0); nonstopmode; input zpshals > As the above message indicates the virtual font file is not found. Setting the environment variable VFFONTS should suffice: export VFFONTS=/usr/share/texmf/fonts/vf// Note the double slashes at the end to specify recursive searches. If you use a newer tetex you can also use: export PKFONTS=`kpsepath pk` VFFONTS=`kpsepath vf` This will use the proper settings from your tex system and also set the path for pk fonts, so you don't need to set it in the preferences dialog. The above settings are needed for newer tex systems that use kpathsea version 3.2 as kdvi-0.4.3 includes version 2.6 which is not quite compatible. - Markku > Of course if in tex I change the font to rzpshals, which is called out > in the psfonts map, it will find that, but then my output is wrong. > (i.e. the accented vowels. > > -- > Lengyel Sándor > > Hass, alkoss, gyarapits, > S a haza fényre derül. (Kölcsey)