"Jan D." <[EMAIL PROTECTED]> writes: >>>> That is truly odd. How come the XIM code doesn't trigger this >>>> same problem? >> >>> I think the XIM code explicitly names the charset it wants. >> >> But our XIM code calls XCreateFontSet, just like Xt code. >> And browsing the Xt source, the "Cannot convert string to FontSet" >> message >> seems to be generated when XCreateFontSet returns NULL, so maybe >> we could track it down further by making an appropriate call to >> XFontSet and >> seeing what it returns. Presumably it will return NULL but with a >> non-zero >> list of missing charsets. > > I've attached a test program.
Results: $ ./missfonts $ ./missfonts -*-helvetica-medium-r-*--*-120-*-*-*-*-*-*,* Missing 0: ISO8859-1 $ ./missfonts -*-helvetica-medium-r-*--*-120-*-*-*-*,* Missing 0: ISO8859-1 The xfs configuration doesn't list any ISO8859-1 fonts: Somewhere, specifying UTF-8 requires ISO8859-1 ? So it looks like a local installation problem with missing the ISO8859-1 fonts. I don't understand this as I installed _everything_ from the redhat 9.0 disks IIRC, and not installing the -1 fonts in any case seems very odd. # # Default font server configuration file for Red Hat Linux # # allow a max of 10 clients to connect to this font server client-limit = 10 # when a font server reaches its limit, start up a new one clone-self = on # alternate font servers for clients to use #alternate-servers = foo:7101,bar:7102 # where to look for fonts # catalogue = /usr/X11R6/lib/X11/fonts/korean, /usr/X11R6/lib/X11/fonts/misc:unscaled, /usr/X11R6/lib/X11/fonts/75dpi:unscaled, /usr/X11R6/lib/X11/fonts/100dpi:unscaled, /usr/X11R6/lib/X11/fonts/misc, /usr/X11R6/lib/X11/fonts/Type1, /usr/X11R6/lib/X11/fonts/Speedo, /usr/X11R6/lib/X11/fonts/cyrillic, /usr/X11R6/lib/X11/fonts/TTF, /usr/X11R6/lib/X11/fonts/OTF, /usr/share/fonts/default/Type1, , /usr/lib/openoffice/share/fonts/truetype, /usr/share/AbiSuite/fonts, /usr/share/fonts/ISO8859-2/misc:unscaled, /usr/share/fonts/ISO8859-2/75dpi:unscaled, /usr/share/fonts/ISO8859-2/100dpi:unscaled, /usr/share/fonts/ISO8859-2/misc, /usr/share/fonts/ISO8859-2/75dpi, /usr/share/fonts/ISO8859-2/100dpi, /usr/share/fonts/ja/misc:unscaled, /usr/share/fonts/ja/misc, /usr/share/fonts/ja/TrueType, /usr/share/fonts/KOI8-R/misc:unscaled, /usr/share/fonts/KOI8-R/75dpi:unscaled, /usr/share/fonts/KOI8-R/100dpi:unscaled, /usr/share/fonts/KOI8-R/misc, /usr/share/fonts/KOI8-R/75dpi, /usr/share/fonts/KOI8-R/100dpi, /usr/share/fonts/ko/TrueType, /usr/share/fonts/zh_CN/TrueType, /usr/share/fonts/zh_TW/TrueType, /usr/share/fonts/tv-fonts # in 12 points, decipoints default-point-size = 120 # 100 x 100 and 75 x 75 default-resolutions = 75,75,100,100 # use lazy loading on 16 bit (usually Asian) fonts deferglyphs = 16 # how to log errors use-syslog = on # don't listen to TCP ports by default for security reasons no-listen = tcp XLC_LOCALE for en_US.UTF-8 requires ISO8859-1. # $XFree86: xc/nls/XLC_LOCALE/en_US.UTF-8,v 1.2 2000/02/29 03:09:07 dawes Exp $ # XLocale Database Sample for en_US.UTF-8 # # # XLC_FONTSET category # XLC_FONTSET on_demand_loading True object_name generic # fs0 class fs0 { charset { name ISO10646-1 } font { primary ISO10646-1 } } # We leave the legacy encodings in for the moment, because we don't # have that many ISO10646 fonts yet. # fs1 class (7 bit ASCII) fs1 { charset { name ISO8859-1:GL } font { primary ISO8859-1:GL vertical_rotate all } } # fs2 class (ISO8859 families) fs2 { charset { name ISO8859-1:GR } font { primary ISO8859-1:GR } } # fs3 class (Kanji) fs3 { charset { name JISX0208.1983-0:GL } font { primary JISX0208.1983-0:GL } } # fs4 class (Korean Character) fs4 { charset { name KSC5601.1987-0:GL } font { primary KSC5601.1987-0:GL } } # fs5 class (Chinese Han Character) fs5 { charset { name GB2312.1980-0:GL } font { primary GB2312.1980-0:GL } } # fs6 class (Half Kana) fs6 { charset { name JISX0201.1976-0:GR } font { primary JISX0201.1976-0:GR vertical_rotate all } } END XLC_FONTSET # # XLC_XLOCALE category # XLC_XLOCALE encoding_name UTF-8 mb_cur_max 6 state_depend_encoding False # cs0 class cs0 { side GL:Default length 1 ct_encoding ISO8859-1:GL } # cs1 class cs1 { side GR:Default length 1 ct_encoding ISO8859-1:GR } # cs2 class cs2 { side GR length 2 ct_encoding JISX0208.1983-0:GL; JISX0208.1983-0:GR; JISX0208.1983-1:GL; JISX0208.1983-1:GR } # cs3 class cs3 { side GL length 2 ct_encoding KSC5601.1987-0:GL; KSC5601.1987-0:GR; KSC5601.1987-1:GL; KSC5601.1987-1:GR } # cs4 class cs4 { side GR length 2 ct_encoding GB2312.1980-0:GL; GB2312.1980-0:GR } # cs5 class cs5 { side GR length 1 ct_encoding JISX0201.1976-0:GR } # cs6 class cs6 { side none ct_encoding ISO10646-1 } END XLC_XLOCALE -- Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug