Visit the LQ Articles and Editorials section
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-16-2011, 03:34 PM   #1
Registered: Mar 2011
Posts: 36

Rep: Reputation: 0
Small "?" next to font in xlib font used as a graphic


I am seeing a weird error in a font display. I see a small question mark next to a font that I am using as a simple graphic.

Does this mean that some function call in xlib is being passed an invalid paramter?
Old 03-29-2011, 01:33 PM   #2
Registered: Mar 2011
Posts: 36

Original Poster
Rep: Reputation: 0
char to unsigned short

This problem was a typical programming error where someone put a signed char where an unsigned char should have been.

So after changing the variable to unsigned char everything worked fine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't open default font "fixed" (problem solved,it's so silly) jimmerlin Linux From Scratch 1 11-24-2008 08:24 PM
Which font in the Gnome Terminal if not "system fixed width font"? Daantje Linux - Newbie 1 11-09-2008 08:31 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
"Could not init font path element""Unix /: 7100 removing from list/ zameer_india Linux - Networking 7 07-03-2006 06:11 AM
Could not init font path element. Could not find default font "fixed" SidA Red Hat 0 06-19-2004 08:42 PM

All times are GMT -5. The time now is 07:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration