Unexpected BadValue for X_OpenFont

Jeremy Huddleston jeremyhu at freedesktop.org
Sun Sep 26 22:52:24 PDT 2010


I filed this a while ago (https://bugs.freedesktop.org/show_bug.cgi?id=28803) for a user who reported it to me through XQuartz (http://xquartz.macosforge.org/trac/ticket/325) since I'm pretty clueless about a bunch of font magic.  Since I finally have time to work through my XQuartz queue, I thought I'd bring it up and hopefully make some progress...

Put ZapfDingbats.ttf (contact me for it due to licensing concerns) into ~/.fonts, then:

cd ~/.fonts
mkfontscale
mkfontdir
xset fp+ ${HOME}/.fonts
xlsfonts | grep dingbats

You should see:
-misc-zapf dingbats-medium-r-normal--0-0-0-0-p-0-iso10646-1

Now try running:
xfd -fn "-misc-zapf dingbats-medium-r-normal--0-0-0-0-p-0-iso10646-1"

You'll get:
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:  0x80000b
  Serial number of failed request:  21
  Current serial number in output stream:  22

---

What is going wrong here?  Any thoughts?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100926/2d5b92fd/attachment.html>


More information about the xorg-devel mailing list