#117430 gnumeric: Gnumeric crashes if font "Bitstream Charter" is selected.

#117430#5
Date:
2001-10-28 19:38:50 UTC
From:
To:
To replicate bug, start Gnumeric without a file, enter characters in a cell
(I used "ab"), then try and change font to Bitstream Charter.  Gnumeric
crashs and the following is left on the screen:

% gnumeric
Message: Successfully registered `OAFIID:GNOME_Gnumeric_GridFactory'
Gdk-ERROR **: BadValue (integer parameter out of range for operation)
  serial 7495 error_code 2 request_code 45 minor_code 0
Gdk-ERROR **: BadFont (invalid Font parameter)
  serial 7496 error_code 7 request_code 47 minor_code 0

#117430#10
Date:
2001-10-28 21:46:10 UTC
From:
To:
You wrote:

I am unable to reproduce this problem on a system with identical library
setup (except for having libesd-alsa0 rather than libesd0 installed).

Can you provide the files in your /etc/gnome/fonts directory?

TIA,
Ray

#117430#13
Date:
2001-10-28 21:46:10 UTC
From:
To:
You wrote:

I am unable to reproduce this problem on a system with identical library
setup (except for having libesd-alsa0 rather than libesd0 installed).

Can you provide the files in your /etc/gnome/fonts directory?

TIA,
Ray

#117430#18
Date:
2001-10-28 21:48:04 UTC
From:
To:
Thank you for the additional information you have supplied regarding
this problem report.  It has been forwarded to the developer(s) and
to the developers mailing list to accompany the original report.

Your message has been sent to the package maintainer(s):
 Vincent Renardias <vincent@debian.org>

If you wish to continue to submit further information on your problem,
please send it to 117430@bugs.debian.org, as before.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.

Darren Benham
(administrator, Debian Bugs database)

#117430#23
Date:
2001-10-28 22:13:36 UTC
From:
To:
Ray,

Per your request, I've attached is a tarball with the files from my
/etc/gnome/fonts directory.

Jim
    ------------------- Optional Methods -----------------------
Dr James A. Lupo                          (303) 423-2652
9667 Independence Dr.                     lupoja@qwest.net
Westminster  CO  80021-6845               jalupo@regis.edu

#117430#26
Date:
2001-10-28 22:13:36 UTC
From:
To:
Ray,

Per your request, I've attached is a tarball with the files from my
/etc/gnome/fonts directory.

Jim
    ------------------- Optional Methods -----------------------
Dr James A. Lupo                          (303) 423-2652
9667 Independence Dr.                     lupoja@qwest.net
Westminster  CO  80021-6845               jalupo@regis.edu

#117430#31
Date:
2001-10-28 23:03:02 UTC
From:
To:
Hi Jim,

Hmm... the only one referring to Charter is the gnome-print-x11 one, which
is identical to mine (except for timestamps).

I have to admit that gnumeric's font handling is one of its deeper mysteries
for me. Is there any other font with which you cou can trigger the problem
on your system?

Ray

#117430#36
Date:
2001-10-28 23:47:13 UTC
From:
To:
Ray,

I worked through the list of fonts presented by Gnumeric, and
"Bitstream Charter" is the only one that fails.  I've done some
experimenting with various font selectors to see how they respond to
selecting the font, and was able to elicit the same type of error:

   % gfontsel
   Gdk-ERROR **: BadValue (integer parameter out of range for operation)
     serial 2098 error_code 2 request_code 45 minor_code 0
   Gdk-ERROR **: BadFont (invalid Font parameter)
     serial 2099 error_code 7 request_code 47 minor_code 0

   % gtkfontsel
   Gdk-ERROR **: BadValue (integer parameter out of range for operation)
     serial 1701 error_code 2 request_code 45 minor_code 0
   Gdk-ERROR **: BadFont (invalid Font parameter)
     serial 1702 error_code 7 request_code 47 minor_code 0

   % xfontsel
   X Error of failed request:  BadValue (integer parameter out of range \
           for operation)
     Major opcode of failed request:  45 (X_OpenFont)
     Value in failed request:  0x440004b
     Serial number of failed request:  1219
     Current serial number in output stream:  1220

Make me wonder if the files that specify "Bitstream Charter" are
munged.  Its clearly not just a Gnumeric problem!  All the xfonts-*
packages were included in the "unstable" updates I completed
downloading Saturday morning.  Gnumeric was completely broken at that
point, but was fixed with updates I downloaded just after midnight.

#117430#41
Date:
2001-10-29 09:48:06 UTC
From:
To:
That's the most likely explanation (although it could e.g. be caused as well
by a not-restarted or corrupted X font server).

That's a relief for me :-)

A bit of hackery (dpkg -S `grep -hri charter /etc/X11/fonts | sed -e s'/ .*$//' | xargs locate -- `)
suggests that all Bitstream Charter fonts (both in the Speedo and the
PostScript format) are from the `xfonts-scalable' package. You could try if
your problem goes away when you fetch that package from a mirror, verify its
MD5 checksum (b62bc20685d28a0ef9bf97d2cc9ca458 for
xfonts-scalable_4.1.0-9_all.deb) and install it with "dpkg -i".

HTH,
Ray

#117430#46
Date:
2001-10-30 00:06:20 UTC
From:
To:
Reinstalled the xfonts-scalable_4.1.0-9.deb (MD5 checksum matches),
and the problem still exists.  I'm puzzled by why the font selectors show
"bitstream charter" and "charter".  The full name of the "charter" entry
is:

   -bitstream-charter-medium-r-normal-*-*-140-*-*-p-*-iso8859-9

The "charter" entry is just the "family" name.  Why "bitstream charter"
shows "foundary" and "family" is a mystery and is probably the cause
of the problems.  When I use xfontsel, and set foundary to "bitstream",
it activates "bitstream charter", "charter", "courier" and "terminal" in
the families selection listing.  That doesn't seem right at all.

#117430#51
Date:
2001-10-30 05:19:43 UTC
From:
To:
Ray,

Identified the problem.  Fonts from the Debian "gsfonts-other" package
include four that generate the following entries in the "fonts.dir" file:

  bchb.pfa -bitstream-bitstream charter-bold-r-normal--0-0-0-0-p-0-iso8859-1
  bchbi.pfa -bitstream-bitstream charter-bold-i-normal--0-0-0-0-p-0-iso8859-1
  bchr.pfa -bitstream-bitstream charter-medium-r-normal--0-0-0-0-p-0-iso8859-1
  bchri.pfa -bitstream-bitstream charter-medium-i-normal--0-0-0-0-p-0-iso8859-1

By manually changing them to the proper "-bitstream-charter-*" form, the
problems I noted with Gnumeric and all the font selectors go away!

Sorry to have bothered the Gnumeric list with this, but I couldn't figure
out where to get started on the problem.

#117430#56
Date:
2001-10-30 11:41:36 UTC
From:
To:
reassign 117430 gsfonts-other
thanks

Good to hear.

That's strange. I don't understand why this fixes the problem. AFAICT it's
not caused by the spaces in the font name (there are quite a few fonts that
have that), nor by having the foundry name duplicated in the font name (some
urw fonts have that as well).

No problem. The trick now is to find out how to proceed. Torsten, could you
please check if there is anything strange about the bitstream charter font
files? If there isn't, my best guess is we're running into a weird problem
with gnome-print.

Ray

#117430#63
Date:
2026-08-14 17:18:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gsfonts-other, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 117430@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated gsfonts-other package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 14 Aug 2026 18:39:04 +0200
Source: gsfonts-other
Architecture: source
Version: 6.0+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Fonts Task Force <debian-fonts@lists.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 36697 117430 294618 1142535
Changes:
 gsfonts-other (6.0+ds-1) unstable; urgency=medium
 .
   * Salvage package. (Closes: #1142535)
   * Add debian/watch.
   * Change Section to non-free/fonts.
   * Add XS-Autobuild marker.
   * Drop old maintainer scripts.
   * Remove Charter fonts. Use the version in xfonts-scalable or the modified
     xcharter version in texlive-fonts-extra. (Closes: #117430)
   * Remove Utopia fonts. Use the version in texlive-fonts-recommended.
     (Closes: #294618)
   * Remove URW fonts from both source and binary packages.
     Use the antiqua and grotesq versions in texlive-fonts-extra.
   * The fcyr* fonts are claimed to be public domain. There is not very good
     evidence for this, so this is kept in non-free. (Closes: #36697)
Checksums-Sha1:
 c65c33ab4d35d3e0ef5c4f559627fb20416c79e7 1662 gsfonts-other_6.0+ds-1.dsc
 dd20ad5060f5afeba9717a6564a967af5fb3b78a 626212 gsfonts-other_6.0+ds.orig.tar.xz
 26d7a832c3ae5155843fd202eeaa283545c5e3c1 3924 gsfonts-other_6.0+ds-1.debian.tar.xz
 9f1ef0225da351b13fca92f61b1114199c6b8a80 5568 gsfonts-other_6.0+ds-1_source.buildinfo
Checksums-Sha256:
 a512ce462f241d8075bb7f5ead5a5fd254872e82323bf5d55f07353f0ea384bf 1662 gsfonts-other_6.0+ds-1.dsc
 1ebb7e20b62f65894c0857b44083bdc9e4f37a594ca29ac762fa4704b5de750a 626212 gsfonts-other_6.0+ds.orig.tar.xz
 b29b890b6b6ef669c40516dee89bdcf20689bd6b2a3b5958473da4806602c213 3924 gsfonts-other_6.0+ds-1.debian.tar.xz
 2af35b37f5e6a079cdc63ef5d4ae76cc164930d06b0d95a2466683b3c1767b94 5568 gsfonts-other_6.0+ds-1_source.buildinfo
Files:
 a1e957594a028a01735df0b253254423 1662 non-free/fonts optional gsfonts-other_6.0+ds-1.dsc
 ed8b912fda7d2eee488270b28b2a94ec 626212 non-free/fonts optional gsfonts-other_6.0+ds.orig.tar.xz
 f114d44c33e08e7c364415336df85135 3924 non-free/fonts optional gsfonts-other_6.0+ds-1.debian.tar.xz
 a0370cbbd9026878f858eb1a37c04f1b 5568 non-free/fonts optional gsfonts-other_6.0+ds-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmp/SusQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFBlrC/0WfIV2uDkHCH3ktlRX5iVvZWv5O05gXuph
fWcok9j8OvQGqhcB8LfC6TdVccrNGXpl7XYkjO3NK88EqdWF4gc/oAV0v/OZ5hIO
1Wa6SG69TVDkc6lbmZ/F8+en7veicHhXkixjjRRSzU3T1DzU0rlPclG/7CSJCZKX
r2jTrOrdutLiSXaCce9CMYANlZQ8ZN53Npj9XQrjlx5p/UI8q/qQYxnGnxZldGnO
vh+sR5k6t8Ms2n2MQZx96FEZY14reQgd1Q7kjPMy5pEC6Q9m98ZbusaX+c6cr3+e
uOBR+CQBp1sV/v/2BE+xsTB0ZgT67GAfrLyvp/WgeJPkaYCc8sRdGKI1QZYeIcsM
L0ZX1/ZX+Uu59LudmIwFzXcgh0ybzGHP0D1hLdFcCN78bKm9Xp0L8AYTDXFCuB0j
wBLxcFQjcPzwyrHP9aGavKuRNFOpj81SClIzL9H6QQLKaRSXLXzJk0ZM6J3AlnS2
gdmb959o/KzEBWtgr7a55S+fkxhSwz0=
=5YOO
-----END PGP SIGNATURE-----