Re: xfig: Warning: Missing charsets in String to FontSet conversion

2013-02-12 Thread Jon TURNEY
On 05/02/2013 07:05, Andy wrote:
 Jack ostroffjh at sbcglobal.net writes:
 On 2013.02.04 10:26, Jon TURNEY wrote:
 On 04/02/2013 00:11, Andy wrote:
 When I start xfig, I get the following:
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
^GCan't open compose key file '/usr/lib/xfig/CompKeyDB',
   no multi-key sequences available

 Yes, this error message from libX11 is pretty bad, and should tell
 you the charsets that are missing.

 If I recall correctly, this warning is usually caused when you are
 using an UTF-8 locale (like the default C.UTF-8 locale), because
 when making the fontset, libX11 searches for matching fonts with
 all the encodings it knows about, and there are no matching fonts
 with CJK encodings (as no CJK fonts are installed).

 Installing the fonts font-isas-misc, font-jis-misc and
 font-daewoo-misc should work around the problem.

 You could also use a non-UTF-8 locale, but I wouldn't recommend
 that.

 I'm getting the same three warnings, followed by
 Warning: Cannot convert string
 -*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r
 -normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
 to type FontSet

 I already have those three fonts installed, and my locale is
 en_US.UTF-8.
 
 Ah well.  Seems like it was a good attempt at guessing the cause, but those
 fonts weren't the problem.
 
 I see some similar issues in the past in the list archive, including
 an unanswered post from Yaakov 17 Dec 2009 which looks exactly like
 this question.

 I've also seen posts suggsting other fonts or packages - none of
 which I see on cygwin, so I don't know if they're not available or
 just named differently.  (Examples include gsfonts-x11, xfonts-base,
 xfonts-encodings, xfonts-scalable)
 
 Yes, I saw some of these as well, notably gsfonts-x11.  I didn't jump to the
 conclusion that those particular fonts were my problem because they seem to 
 vary
 from situation to situation.  And, as you noted, gsfonts-x11 is not part of a
 cygwin package (at least from a package search).
 
 Any other troubleshooting you can suggest?

I've uploaded at [1] a patched version of libXt, which includes some extra
debugging output, including the name of encoding which is causing this
warning, based on a patch at [2].  (This patch isn't really suitable for
upstreaming as it needs to be wired up to libXt's rather confusing error
reporting and localization scheme)

This should at least allow us to discover the name of the encoding which is
causing the warning.

[1] ftp://cygwin.com/pub/cygwinx/cygXt-6.dll
[2] http://lists.gnu.org/archive/html/help-gv/2010-07/msg4.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xfig: Warning: Missing charsets in String to FontSet conversion

2013-02-12 Thread marco atzeri

On 2/12/2013 3:12 PM, Jon TURNEY wrote:


I've uploaded at [1] a patched version of libXt, which includes some extra
debugging output, including the name of encoding which is causing this
warning, based on a patch at [2].  (This patch isn't really suitable for
upstreaming as it needs to be wired up to libXt's rather confusing error
reporting and localization scheme)

This should at least allow us to discover the name of the encoding which is
causing the warning.

[1] ftp://cygwin.com/pub/cygwinx/cygXt-6.dll
[2] http://lists.gnu.org/archive/html/help-gv/2010-07/msg4.html



very nice

$ xfig 
[1] 8660

marco@MARCOATZERI ~
$ Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset 
-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*

Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset 
-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*

Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset 
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xfig: Warning: Missing charsets in String to FontSet conversion

2013-02-12 Thread Jon TURNEY
On 12/02/2013 14:42, marco atzeri wrote:
 On 2/12/2013 3:12 PM, Jon TURNEY wrote:

 I've uploaded at [1] a patched version of libXt, which includes some extra
 debugging output, including the name of encoding which is causing this
 warning, based on a patch at [2].  (This patch isn't really suitable for
 upstreaming as it needs to be wired up to libXt's rather confusing error
 reporting and localization scheme)

 This should at least allow us to discover the name of the encoding which is
 causing the warning.

 [1] ftp://cygwin.com/pub/cygwinx/cygXt-6.dll
 [2] http://lists.gnu.org/archive/html/help-gv/2010-07/msg4.html

 
 very nice
 
 $ xfig 
 [1] 8660
 
 marco@MARCOATZERI ~
 $ Warning: Missing charsets in String to FontSet conversion
 Missing charset JISX0201.1976-0 for fontset
 -*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*
 
 Warning: Missing charsets in String to FontSet conversion
 Missing charset JISX0201.1976-0 for fontset
 -*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
 
 Warning: Missing charsets in String to FontSet conversion
 Missing charset JISX0201.1976-0 for fontset
 -*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*

If it offends your eye, you should be able to make this warning go away by
installing the font-sony-misc package and restarting your X server.

(Or you can just ignore the warning, which is probably pretty harmless unless
you have a need for Japanese text in your xfig diagram, assuming that is even
possible...)

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xfig: Warning: Missing charsets in String to FontSet conversion

2013-02-12 Thread marco atzeri

On 2/12/2013 4:42 PM, Jon TURNEY wrote:


$ xfig 
[1] 8660

marco@MARCOATZERI ~
$ Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset
-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*

Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset
-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*

Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*


If it offends your eye, you should be able to make this warning go away by
installing the font-sony-misc package and restarting your X server.

(Or you can just ignore the warning, which is probably pretty harmless unless
you have a need for Japanese text in your xfig diagram, assuming that is even
possible...)



the font is so tiny (28k) that installing it is not a problem at all

Thanks for the new cygXt-6.dll and the font hint.

Marco



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Strange xterm scrolling problem introduced in XTerm(289)

2013-02-12 Thread Jim Reisert AD1C
A strange scrolling problem seems to have been introduced in XTerm(289)

I have a large scrollback buffer.  Now when I scroll back my xterm,
anything that was previously above the top of the current screen
appears indented about 20 spaces:

- r w x - - - - - - +
 1   r e i s e r t   D o m a i n   U s e rs 424739 Feb 12
- r w x - - - - - - +
 1   r e i s e r t   D o m a i n   U s e rs 424740 Feb 12
-rwx--+ 1 reisert Domain Users 424749 Feb 12 14:43 callsigns.csv.~29~
-rwx--+ 1 reisert Domain Users 424749 Feb 12 14:44 callsigns.csv

Can anyone duplicate this?  Note that when I copied/pasted the above
lines into gmail, the first two lines (in the scrollback buffer)
appeared in a different font than the two lines that were not in the
buffer.

--
Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Strange xterm scrolling problem introduced in XTerm(289)

2013-02-12 Thread Jim Reisert AD1C
On Tue, Feb 12, 2013 at 4:01 PM, Thomas Dickey wrote:

 Did you run #288 before this update?  (288 had several fixes for
 Coverity warnings, one of the #289 changes fixed something that
 I broke in addressing those).

I believe I had been running #288 at one point.  I just updated Cygwin
and could only revert to 287 (not 288).  There is no scrollback
problem with this version.

- Jim

-- 
Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Strange xterm scrolling problem introduced in XTerm(289)

2013-02-12 Thread Thomas Dickey
On Tue, Feb 12, 2013 at 04:22:05PM -0700, Jim Reisert AD1C wrote:
 On Tue, Feb 12, 2013 at 4:01 PM, Thomas Dickey wrote:
 
  Did you run #288 before this update?  (288 had several fixes for
  Coverity warnings, one of the #289 changes fixed something that
  I broke in addressing those).
 
 I believe I had been running #288 at one point.  I just updated Cygwin
 and could only revert to 287 (not 288).  There is no scrollback
 problem with this version.

hmm - _looking_ for the problem, I ran uxterm with valgrind (which reported
no problem...), but I resized the window back and forth a few times and
after several tries, got some debris on the screen which corresponds
to what you're describing.  (Scrolling with the shifted pageup/pagedown
or with the scrollbar didn't produce it; it's the repainting due to
resizes dragging text out of the scrollback which gives the result).

thanks for the report (I'll work on this now)

-- 
Thomas E. Dickey dic...@invisible-island.net
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature


Re: Strange xterm scrolling problem introduced in XTerm(289)

2013-02-12 Thread Thomas Dickey
On Tue, Feb 12, 2013 at 06:50:48PM -0500, Thomas Dickey wrote:
 On Tue, Feb 12, 2013 at 04:22:05PM -0700, Jim Reisert AD1C wrote:
  On Tue, Feb 12, 2013 at 4:01 PM, Thomas Dickey wrote:
  
   Did you run #288 before this update?  (288 had several fixes for
   Coverity warnings, one of the #289 changes fixed something that
   I broke in addressing those).
  
  I believe I had been running #288 at one point.  I just updated Cygwin
  and could only revert to 287 (not 288).  There is no scrollback
  problem with this version.
 
 hmm - _looking_ for the problem, I ran uxterm with valgrind (which reported
 no problem...), but I resized the window back and forth a few times and
 after several tries, got some debris on the screen which corresponds
 to what you're describing.  (Scrolling with the shifted pageup/pagedown
 or with the scrollbar didn't produce it; it's the repainting due to
 resizes dragging text out of the scrollback which gives the result).
 
 thanks for the report (I'll work on this now)

The problem is that in reverting the change from #282, I missed
a piece - will followup with a _short_ patch for #290...

-- 
Thomas E. Dickey dic...@invisible-island.net
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature