Bug 605748

Summary: Athena application, Aborting: no fontset found
Product: [Fedora] Fedora Reporter: Anthony Dawson <antgbd>
Component: libX11Assignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: kem, mcepl, sandmann
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-27 18:32:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anthony Dawson 2010-06-18 17:19:47 UTC
Description of problem:
When launching an application which uses the Athena with the cjkuni-uming-font-0.2.20080216.1-42.fc13 package installed it fails to load with the following error:

Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Error: Aborting: no fontset found


Version-Release number of selected component (if applicable): libX11-1.3.1


How reproducible: 100%


Steps to Reproduce:
1. Install cjkuni-uming-font package
2. Install Citrix Receiver for Linux available from www.citrix.com
3. Attempt to launch the client binary wfica from the command line
  

Actual results:
The above error.


Expected results:
The Citrix client should launch.


Additional info:
This is because of the behaviour of load_font_info() in:
libX11-1.3.1/modules/om/generic/omGeneric.c

The load_font_info() function is called as part of the creation of a fontset with XCreateFontSet(). The function of XCreateFontSet() for the purpose of this bug can be broken down into the following steps:

   1. Identify the character sets required by the locale
   2. Match a font with get_font_name() for each of the character sets which matches the font pattern(s) given to XCreateFontSet()
   3. Load the font information for each font in load_font_info() using XListFontsWithInfo() 

The XCreateFontSet() fails when a font without font info is the best match for the pattern for one or more of the character sets. This is because load_font_info() checks all fonts return font information from XListFontWithInfo().

This causes the fontset creation to fail and warn that all character sets could not be matched. This lack of a fontset then causes the toolkit to fail. 

http://calypso.tux.org/pipermail/xemacs-beta/2009-March/016207.html

Comment 1 Matěj Cepl 2010-06-23 11:41:49 UTC
The only mention of load_font_info on xorg-devel list I found is http://article.gmane.org/gmane.comp.freedesktop.xorg.devel/3391/ which might suggest the root of the problem.

Comment 2 Matěj Cepl 2010-06-23 11:57:24 UTC
Otherwise in the upstream bugzilla I see nothing for load_font_info and only these two bugs for XCreateFontSet:

https://bugs.freedesktop.org/show_bug.cgi?id=4939
https://bugs.freedesktop.org/show_bug.cgi?id=7132

and neither of these looks like something. Also there doesn't seem to be anything relevant in http://is.gd/d0sMW (Lib/fonts query).

Comment 3 Matěj Cepl 2010-06-23 12:06:48 UTC
RHEL-6 bug for this something very similar is bug 605982

Comment 4 Bug Zapper 2011-06-02 10:21:26 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Bug Zapper 2011-06-27 18:32:06 UTC
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.