Page 1 of 1
Problems xnview and kubuntu (missing font)
Posted: Thu Apr 27, 2006 9:09 am
by Dieter
Hi,
I'm using kubuntu breezy and tried to install xnview.
When I ant to start xnview i get the following warnings:
Warning: Cannot convert string "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-iso8859-1" to type FontStruct
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 504
Current serial number in output stream: 657
Then xnview disapear. How can I solve this problem?
Thanks!
Dieter
Re: Problems xnview and kubuntu (missing font)
Posted: Thu Apr 27, 2006 9:20 am
by xnview
Dieter wrote:Hi,
I'm using kubuntu breezy and tried to install xnview.
When I ant to start xnview i get the following warnings:
Warning: Cannot convert string "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-iso8859-1" to type FontStruct
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 504
Current serial number in output stream: 657
Then xnview disapear. How can I solve this problem?
Thanks!
Dieter
Try to install addon font package
Re: Problems xnview and kubuntu (missing font)
Posted: Thu Apr 27, 2006 11:15 am
by Guest
Hi,
xnview wrote:
Try to install addon font package
sorry, but what is addon font package?
Ciao!
Dieter
LA reponse
Posted: Thu Aug 31, 2006 7:11 pm
by Gollum
Apres beaucoup de temps passe sur internet j'ai trouve la solution donc je la donne pour que tu ailles plus vite (sous debian, pour une autre distrib, ne pas faire apt-get install mais urpmi ou ce qu'il faut"):
Code: Select all
apt-get install ttmkfdir
cd /usr/local/share/fonts/ttfonts
ttmkfdir -o fonts.scale
apt-get install defoma fontconfig ttmkfdir cabextract
Puis editer le fichier
et remplacer la section "Files" par ceci
Code: Select all
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/local/share/fonts/truetype"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
Et enfin pour être sûr :
Code: Select all
apt-get install xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-base xfonts-base-transcoded
apt-get install ttf-bitstream-vera
apt-get install ttf-junicode ttf-kochi-gothic ttf-kochi-mincho
Any other ideas?
Posted: Mon Sep 18, 2006 11:19 pm
by sardion
I upgraded to edgy (unstable) and started getting the same errors:
Warning: Cannot convert string "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso8859-1" ...
and then xnview crashes.
I have *all* available fonts packages installed.
Anyone?
Helvetica font issue - Linux
Posted: Mon Dec 31, 2007 12:16 am
by bwh1969
I have had to run XnView under wine. I can't install it in any linux distributiions, as I get this helvetica error. Arch, Slax... nothing.
It does continue to run in kubuntu for me, as I converted an RPM to a deb file a while ago and installed it that way. I have tried in Slax to do a deb2mo command, and the package loads fine, but I get the helvetica error I get from using the tar file.
Re: Helvetica font issue - Linux
Posted: Sat Feb 02, 2008 11:15 pm
by oops66
bwh1969 wrote:I have had to run XnView under wine. I can't install it in any linux distributiions, as I get this helvetica error. Arch, Slax... nothing.
It does continue to run in kubuntu for me, as I converted an RPM to a deb file a while ago and installed it that way. I have tried in Slax to do a deb2mo command, and the package loads fine, but I get the helvetica error I get from using the tar file.
Hello,
Strange, the 1.70 Xnview version works for me on Ubuntu 7.10 gutsy without problems (the alpha MP version works too)!
Just to convert v1.70 rpm to deb (with alien, an ubuntu package)):
sudo alien -d XnView-static-fc4.i386.rpm
then install on ubuntu the created : xnview_1.70-2_i386.deb
maybe try to re-install this : msttcorefonts of line:
http://www.imaginux.com/ccount/click.php?id=38
then:
sudo fc-cache -f -v