|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
font issuesI got the following bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=614376 The most recent update to gv causes it to issue warnings when its run. it seems to work ok though. linux> gv <any postscript file> Warning: Missing charsets in String to FontSet conversion Warning: Cannot convert string "-efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,*" to type FontSet Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset What's up? Should I require the presence of certain fonts? Can gv be silenced? Thanks! -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane orion@... Boulder, CO 80301 http://www.cora.nwra.com |
|
|
Re: font issuesOrion Poplawski wrote:
> linux> gv <any postscript file> > Warning: Missing charsets in String to FontSet conversion > Warning: Cannot convert string > "-efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,*" > > to type FontSet Well, no real idea - otherwise I would have left a note in the old bug report before it has been closed as a duplicate. Need help. Google finds http://tracker.xemacs.org/XEmacs/its/issue650 which seems to be related (same error message): --- begin cite --- So what can you do? Complain to your distribution that (a) libXt doesn't print the list of missing charsets, and (b) libX11 + libXt require a charset for your locale that is not provided by any font in an xorg-x11-fonts-* package (and, in my case, is highly unlikely to be needed by any user in the locale). --- end cite --- To investigate, we should: 1) try to get more information. Certainly it would help to know if "LANG=C gv somefile.ps" also prints warnings... In that case we would know that it is locale dependent. Perhaps the reporter will tell us. 2) try to reproduce it 3) try find a patch that prints the list of missing charsets. Compiling a patched libXt shouldn't be too hard after having the patch. I cannot find the link again, but some people having had the same error message on other programs think that this might be problems of the x,org server. For that, the missing font would help. Then one can verify be hand whether it is installed or not. Possibly we can find out which fonts are used on CentOS resp.RHEL, where it is working. BTW: When I did test for the original bug report (which is now closed) I started with a minimal fedora 13 installatation as provided by my cloud server. After (IIRC): * yum groupinstall kde * yum install gv and for the remote login: * yum xorg-x11-xauth * yum localinstall nx-client nx-node nx-server (all 3 from www.nomachine.com) I could reproduce the font problem (using the old gv version with international mode enabled by default). But of cause I got several errors from kde (pulseaudio not running etc.) * yum install *font* didn't help, which I cannot understand: On CentOS 5.5, I do not get any warning at all - so I assume there is no warning on RHEL 5.5. After all chances are there that we can reproduce it. |
|
|
Re: font issuesOrion Poplawski wrote:
> I got the following bug report: > > https://bugzilla.redhat.com/show_bug.cgi?id=614376 > > The most recent update to gv causes it to issue warnings when its run. > it seems > to work ok though. I've tested on my remote server (which is in the cloud, I do not have physical access to it. So I cannot test without nx on it). I could reproduce the problem (see my other mail), this time with an up to date GNU gv. "git bisect" told me that commit "d3dcb7" causes this warnings. So every GNU gv release since 3.6.8.90 is affected, not just the most recent one. We really need to know which font is missing... Greetings Markus |
|
|
Re: font issuesMarkus Steinborn wrote:
> Orion Poplawski wrote: >> linux> gv <any postscript file> >> Warning: Missing charsets in String to FontSet conversion >> Warning: Cannot convert string >> "-efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,*" >> >> to type FontSet > --- begin cite --- > > So what can you do? Complain to your distribution that (a) libXt > doesn't print the list of missing charsets, and (b) libX11 + libXt > require a charset for your locale that is not provided by any font in > an xorg-x11-fonts-* package (and, in my case, is highly unlikely to be > needed by any user in the locale). > > --- end cite --- On my test system I get the following output: --- begin cite --- Warning: Missing charsets in String to FontSet conversion Missing font: ISO8859-1 Missing font: ISO8859-1 Missing font: ISO8859-2 Missing font: ISO8859-3 Missing font: ISO8859-4 Missing font: ISO8859-5 Missing font: KOI8-R Missing font: ISO8859-7 Missing font: ISO8859-9 Missing font: ISO8859-13 Missing font: ISO8859-14 Missing font: ISO8859-15 Missing font: JISX0208.1983-0 Missing font: KSC5601.1987-0 Missing font: GB2312.1980-0 Missing font: JISX0201.1976-0 Missing font: ISO10646-1 Warning: Cannot convert string "-efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,*" to type FontSet Warning: Missing charsets in String to FontSet conversion Missing font: ISO8859-1 Missing font: ISO8859-1 Missing font: ISO8859-2 Missing font: ISO8859-3 Missing font: ISO8859-4 Missing font: ISO8859-5 Missing font: KOI8-R Missing font: ISO8859-7 Missing font: ISO8859-9 Missing font: ISO8859-13 Missing font: ISO8859-14 Missing font: ISO8859-15 Missing font: JISX0208.1983-0 Missing font: KSC5601.1987-0 Missing font: GB2312.1980-0 Missing font: JISX0201.1976-0 Missing font: ISO10646-1 Warning: Unable to load any usable fontset Warning: Missing charsets in String to FontSet conversion Missing font: ISO8859-1 Missing font: ISO8859-1 Missing font: ISO8859-2 Missing font: ISO8859-3 Missing font: ISO8859-4 Missing font: ISO8859-5 Missing font: KOI8-R Missing font: ISO8859-7 Missing font: ISO8859-9 Missing font: ISO8859-13 Missing font: ISO8859-14 Missing font: ISO8859-15 Missing font: JISX0208.1983-0 Missing font: KSC5601.1987-0 Missing font: GB2312.1980-0 Missing font: JISX0201.1976-0 Missing font: ISO10646-1 Warning: Unable to load any usable fontset --- end cite --- Note that the whole GNU gv sources do not contain e. g. the string "KOI" (case independent) and therefore not "KOI8-R", so it's clearly the case that libXt+libX11 require that fontset - like I cited from the web site above. It may help (but I do _not_ think it's a good idea, as it will completely break international mode) to remove XtSetLanguageProc(NULL, NULL, NULL); from main.c. Greetings from Germany Markus Steinborn GNU gv maintainer [libXt.patch] --- libXt-1.0.7/src/Converters.c 2009-01-31 04:47:28.000000000 +0100 +++ libXt-1.0.7/src/Converters.c 2010-07-15 14:31:46.070317009 +0200 @@ -978,6 +978,13 @@ XtNmissingCharsetList,"cvtStringToFontSet",XtCXtToolkitError, "Missing charsets in String to FontSet conversion", (String *) NULL, (Cardinal *)NULL); +{ + int i=0; + for (i=0; i<missing_charset_count; i++) + { + fprintf(stderr, "Missing font: %s\n", missing_charset_list[i]); + } +} XFreeStringList(missing_charset_list); } if (f != NULL) { @@ -1011,6 +1018,13 @@ XtCXtToolkitError, "Missing charsets in String to FontSet conversion", (String *) NULL, (Cardinal *)NULL); +{ + int i=0; + for (i=0; i<missing_charset_count; i++) + { + fprintf(stderr, "Missing font: %s\n", missing_charset_list[i]); + } +} XFreeStringList(missing_charset_list); } if (f != NULL) @@ -1035,6 +1049,13 @@ XtNmissingCharsetList,"cvtStringToFontSet",XtCXtToolkitError, "Missing charsets in String to FontSet conversion", (String *) NULL, (Cardinal *)NULL); +{ + int i=0; + for (i=0; i<missing_charset_count; i++) + { + fprintf(stderr, "Missing font: %s\n", missing_charset_list[i]); + } +} XFreeStringList(missing_charset_list); } if (f != NULL) |
| Free embeddable forum powered by Nabble | Forum Help |