You are not logged in.
Pages: 1
Topic closed
I am getting this error when I run XDvi in the console:
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Error: XsraSelFile: can't get font 9x15As I understand, there is a missing font it can't render so I tried installing xorg-fonts-misc and xorg-xlsfonts, recommendations from internet searches, but still the program won't run.
Any lead to where I can look for a solution?
Offline
Hello,
I had similar issue recently.
Required default helvetica font is available by installing one of xorg-fonts-*dpi:
sudo pacman -S xorg-fonts-75dpi
# or
sudo pacman -S xorg-fonts-100dpi
Please find helv family (default "-*-helvetica-medium-..." from xdvi warning) font directory and register them for xlsfonts with mkfontdir:
find /usr/share/fonts/ -name "helv*"
...
/usr/share/fonts/75dpi/helvR12-ISO8859-1.pcf.gz # get directory with your font
...cd /usr/share/fonts/75dpi
sudo mkfontscale
sudo mkfontdirxset +fp /usr/share/fonts/75dpi
xset fp rehash # refresh
Now xlsfonts should return registered fonts and xdvi can start properly.
xlsfonts -fn "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*"
-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso10646-1
-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso10646-1
-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
...
There is also an option for additional font with xdvi -altfont, but I didn't try it yet.
Offline
Mod note: closing this ancient thread.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed