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
Problems xnview and kubuntu (missing font)
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44936
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Problems xnview and kubuntu (missing font)
Try to install addon font packageDieter 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
Pierre.
Re: Problems xnview and kubuntu (missing font)
Hi,
Ciao!
Dieter
sorry, but what is addon font package?xnview wrote: Try to install addon font package
Ciao!
Dieter
LA reponse
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"):
Puis editer le fichier
et remplacer la section "Files" par ceci
Et enfin pour être sûr :
Code: Select all
apt-get install ttmkfdir
cd /usr/local/share/fonts/ttfonts
ttmkfdir -o fonts.scale
apt-get install defoma fontconfig ttmkfdir cabextract
Code: Select all
vi /etc/X11/XF86Config-4
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"
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?
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?
Warning: Cannot convert string "-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-iso8859-1" ...
and then xnview crashes.
I have *all* available fonts packages installed.
Anyone?
-
- Posts: 11
- Joined: Mon Dec 31, 2007 12:09 am
Helvetica font issue - Linux
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.
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.
-
- XnThusiast
- Posts: 2005
- Joined: Tue Jul 17, 2007 1:17 am
- Location: France
Re: Helvetica font issue - Linux
Hello,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.
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
XnViewMP Linux X64 - Debian - X64