Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-12 Thread Richard Matthew Stallman
 If not, is this documented in PROBLEMS or somewhere suitable?

The problem and workaround are documented in PROBLEMS.

That is good.

It looks like we can't do better than that.


___
emacs-pretest-bug mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-12 Thread Eli Zaretskii
 Date: Thu, 12 Apr 2007 07:58:37 +0200
 From: Lennart Borgman (gmail) [EMAIL PROTECTED]
 CC:  [EMAIL PROTECTED],  [EMAIL PROTECTED],  [EMAIL PROTECTED]
 
 Eli Zaretskii wrote:
  Date: Wed, 11 Apr 2007 22:53:18 +0200
  From: Lennart Borgman (gmail) [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED], Kim F. Storm [EMAIL PROTECTED]
 
  Maybe it would help users and save developers some time if the problems 
  specific to common fonts where mentioned too?
  
  What problems are those?
 
 I mean those specific cases that has been discussed here lately.

AFAIR, they were all related to ClearType, right?


___
emacs-pretest-bug mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Richard Matthew Stallman
The Windows system was using ClearType.  Changing that setting fixed
the problem.  Thanks Eli.

Should Emacs users always turn off use of ClearType?
If so, can Emacs do it automatically?

If not, is this documented in PROBLEMS or somewhere suitable?




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Lennart Borgman (gmail)

Richard Matthew Stallman wrote:

The Windows system was using ClearType.  Changing that setting fixed
the problem.  Thanks Eli.

Should Emacs users always turn off use of ClearType?
If so, can Emacs do it automatically?

If not, is this documented in PROBLEMS or somewhere suitable?



No, unfortunately there are cases where it should be turned on instead.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Juanma Barranquero

On 4/11/07, Richard Matthew Stallman [EMAIL PROTECTED] wrote:


Should Emacs users always turn off use of ClearType?


No. ClearType improves readability, and the problems depend on the
font used and perhaps other factors. In my setup, for example,
ClearType is quite usable.


If so, can Emacs do it automatically?


ClearType cannot be deactivated for specific apps, but it can be for
specific fonts, so we could fix it in w32_load_system_font. That'd
be overkill IMO.


If not, is this documented in PROBLEMS or somewhere suitable?


The problem and workaround are documented in PROBLEMS.

Juanma


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Eric Hanchrow
 Richard == Richard Matthew Stallman [EMAIL PROTECTED] writes:

Richard Should Emacs users always turn off use of ClearType?  If
Richard so, can Emacs do it automatically?

Ugh.  ClearType is a pretty nice feature, and it'd be very frustrating
if using Emacs caused it to be turned off.  

Richard If not, is this documented in PROBLEMS or somewhere
Richard suitable?

It is indeed in PROBLEMS, and I think that's the best way to go; what
I saw of the problem was not very annoying, so I don't think there's a
need to take drastic measures like turning off ClearType.

-- 




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Lennart Borgman (gmail)

Juanma Barranquero wrote:

On 4/11/07, Richard Matthew Stallman [EMAIL PROTECTED] wrote:


Should Emacs users always turn off use of ClearType?


No. ClearType improves readability, and the problems depend on the
font used and perhaps other factors. In my setup, for example,
ClearType is quite usable.


If so, can Emacs do it automatically?


ClearType cannot be deactivated for specific apps, but it can be for
specific fonts, so we could fix it in w32_load_system_font. That'd
be overkill IMO.


If not, is this documented in PROBLEMS or somewhere suitable?


The problem and workaround are documented in PROBLEMS.



Maybe it would help users and save developers some time if the problems 
specific to common fonts where mentioned too?



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Jason Rumney

Richard Matthew Stallman wrote:

The Windows system was using ClearType.  Changing that setting fixed
the problem.  Thanks Eli.

Should Emacs users always turn off use of ClearType?
  


These problems are not apparent with most fonts. I can only see them 
with some fonts if I reduce the size to 9 point, but it probably depends 
on screen resolution.




If so, can Emacs do it automatically?
  


Yes, this was my solution to Cleartype problems some time ago, but it 
was an unpopular one. We could add a user option.




If not, is this documented in PROBLEMS or somewhere suitable?
  


Eli just added it back, it had been previously removed because someone 
submitted some patches that was supposed to fix the problems.




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Jason Rumney

Juanma Barranquero wrote:

ClearType cannot be deactivated for specific apps


Yes it can.



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Juanma Barranquero

On 4/12/07, Jason Rumney [EMAIL PROTECTED] wrote:


Yes it can.


Cool. How? (I searched Microsoft's docs, but they are less than clear
sometimes and I didn't find anything which seemed to imply
app-specific settings of ClearType...)

Juanma


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Jason Rumney

Juanma Barranquero wrote:

On 4/12/07, Jason Rumney [EMAIL PROTECTED] wrote:


Yes it can.


Cool. How? (I searched Microsoft's docs, but they are less than clear
sometimes and I didn't find anything which seemed to imply
app-specific settings of ClearType...)
You can specify the antialiasing you want when you load fonts, using the 
lfQuality element of the LOGFONT struct.



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Eli Zaretskii
 Date: Wed, 11 Apr 2007 22:53:18 +0200
 From: Lennart Borgman (gmail) [EMAIL PROTECTED]
 Cc: emacs-pretest-bug@gnu.org, Kim F. Storm [EMAIL PROTECTED]
 
 Maybe it would help users and save developers some time if the problems 
 specific to common fonts where mentioned too?

What problems are those?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-11 Thread Lennart Borgman (gmail)

Eli Zaretskii wrote:

Date: Wed, 11 Apr 2007 22:53:18 +0200
From: Lennart Borgman (gmail) [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], Kim F. Storm [EMAIL PROTECTED]

Maybe it would help users and save developers some time if the problems 
specific to common fonts where mentioned too?


What problems are those?


I mean those specific cases that has been discussed here lately.


___
emacs-pretest-bug mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-10 Thread Kim F. Storm
Eli Zaretskii [EMAIL PROTECTED] writes:

 From: [EMAIL PROTECTED] (Kim F. Storm)
 Date: Mon, 09 Apr 2007 00:45:09 +0200
 
 If I put this in the file xx.htm:
 
 TD  class=...
 TD class
 
 the rightmost pixels of the first D are lost as can be seen by the tiny
 screen-shot at the end of this message.  The second D is shown normally.

 I cannot reproduce this on my machine.  Does that Windows box have
 some non-default display features enabled, like ClearType?  If so,
 could you turn that off and try again?  (To turn off ClearType,
 right-click on the desktop, select Properties, then click the
 Appearance tab, click Effects, and under Use the following method to
 smooth edges of screen fonts, make sure that the setting is NOT
 Clear Type.)

I don't have access to that Windows PC right now.
I'll check when I get my hands on it again.

BTW, it doesn't happen when I try on the other Windows XP system that
I have at work.  So I guess it is not a big problem - and we can ignore
it for the 22 release.


 Content-Type: image/gif; name=emacs-err.gif
 Content-Disposition: inline; filename=emacs-err.gif
 Content-Transfer-Encoding: base64

 Yuck! GIF image...  Many Emacs users will be unable to see it, as GIF
 library is unavailable in many installations.

I'm not an expert XP user, so I used what the screen grabber suggested.
I didn't want to spend more time on this than necessary :-)

-- 
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


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-10 Thread Kim F. Storm
[EMAIL PROTECTED] (Kim F. Storm) writes:

 I had to edit a simple html file on Windows XP, so I got the latest
 unpatched Emacs 22 pretest from Lennart's site (thank you).

 If I put this in the file xx.htm:

 TD  class=...
 TD class


The Windows system was using ClearType.  Changing that setting fixed
the problem.  Thanks Eli.

-- 
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


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-09 Thread Eli Zaretskii
 From: [EMAIL PROTECTED] (Kim F. Storm)
 Date: Mon, 09 Apr 2007 00:45:09 +0200
 
 If I put this in the file xx.htm:
 
 TD  class=...
 TD class
 
 the rightmost pixels of the first D are lost as can be seen by the tiny
 screen-shot at the end of this message.  The second D is shown normally.

I cannot reproduce this on my machine.  Does that Windows box have
some non-default display features enabled, like ClearType?  If so,
could you turn that off and try again?  (To turn off ClearType,
right-click on the desktop, select Properties, then click the
Appearance tab, click Effects, and under Use the following method to
smooth edges of screen fonts, make sure that the setting is NOT
Clear Type.)

 Content-Type: image/gif; name=emacs-err.gif
 Content-Disposition: inline; filename=emacs-err.gif
 Content-Transfer-Encoding: base64

Yuck! GIF image...  Many Emacs users will be unable to see it, as GIF
library is unavailable in many installations.



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-09 Thread Eli Zaretskii
 From: [EMAIL PROTECTED] (Kim F. Storm)
 Date: Mon, 09 Apr 2007 01:46:26 +0200
 
 [EMAIL PROTECTED] (Kim F. Storm) writes:
 
  I had to edit a simple html file on Windows XP, so I got the latest
  unpatched Emacs 22 pretest from Lennart's site (thank you).
 
  If I put this in the file xx.htm:
 
  TD  class=...
  TD class
 
  the rightmost pixels of the first D are lost as can be seen by the tiny
  screen-shot at the end of this message.  The second D is shown normally.
 
 
 The image was corrupted

Arrived at my place intact, and displayed okay.

 and the gnu mailserver refuses my posts with attached gif files

I got it (via the GNU mailserver) without any problems.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-09 Thread Eli Zaretskii
 From: Eric Hanchrow [EMAIL PROTECTED]
 Date: Sun, 08 Apr 2007 17:35:43 -0700
 
 I'm clearly seeing it myself, for what that's worth, using Bitstream
 Vera Sans Mono at 12 pixels.

Do you have ClearType turned on?  If so, does the problem go away if
you turn it off?

Do you see the problem with the default font selected by Emacs in
emacs -Q?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-09 Thread Eric Hanchrow
 Eli == Eli Zaretskii [EMAIL PROTECTED] writes:

 I'm clearly seeing it myself, for what that's worth, using
 Bitstream Vera Sans Mono at 12 pixels.

Eli Do you have ClearType turned on?  

I did.
   
Eli If so, does the problem go away if you turn it off?

It did indeed.

Eli Do you see the problem with the default font selected by
Eli Emacs in emacs -Q?

Yes, if ClearType is on.

-- 
Raffarin said he wants to see secure Internet voting in France
by 2009, and he said if he had a homosexual son, he would love
him ...
-- from the Chicago Tribune


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-09 Thread Eli Zaretskii
 Cc: emacs-pretest-bug@gnu.org
 From: Eric Hanchrow [EMAIL PROTECTED]
 Date: Mon, 09 Apr 2007 00:24:24 -0700
 
  Eli == Eli Zaretskii [EMAIL PROTECTED] writes:
 
  I'm clearly seeing it myself, for what that's worth, using
  Bitstream Vera Sans Mono at 12 pixels.
 
 Eli Do you have ClearType turned on?  
 
 I did.

 Eli If so, does the problem go away if you turn it off?
 
 It did indeed.

Thanks.  I added an entry to PROBLEMS about issues with ClearType.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Ugly W32 display bug - fontified letters chopped on right

2007-04-08 Thread Kim F. Storm
---BeginMessage---
#multipart type=mixed
#part type=text/plain charset=ISO-8859-1 format=flowed nofile=yes
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary-=-=

I had to edit a simple html file on Windows XP, so I got the latest
unpatched Emacs 22 pretest from Lennart's site (thank you).

If I put this in the file xx.htm:

TD  class=...
TD class

the rightmost pixels of the first D are lost as can be seen by the tiny
screen-shot at the end of this message.  The second D is shown normally.

If I move the cursor with the keyboard over the T D SPC, the D is shown
 correctly, but if I redraw the screen with C-l, the D is chopped again.

It does not happen with a normal D, only the D with the font-lock face.

The space after the D has the following property; I also took a dump of
the properties at the D itself, but I've lost that info, and I don't have
access to that window system right now, so I cannot reproduce it.

IIRC, it was a font-lock-function-name-face.


  character: SPC (32, #o40, #x20, U+0020)
charset: ascii (ASCII (ISO646 IRV))
 code point: #x20
 syntax:   which means: whitespace
   category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) 
l:Latin
buffer code: #x20
  file code: #x20 (encoded by coding system iso-latin-1)
display: by this font (glyph code)
 -outline-Courier New-normal-r-normal-normal-13-97-96-96-c-*-iso8859-1 
(#x20)

--===-=-=

There are text properties here:
  fontifiedt



In GNU Emacs 22.0.97.1 (i386-mingw-nt5.1.2600)
 of 2007-04-04 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: DAN
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t




--===-=-=
Content-Type: image/gif; name=emacs-err.gif
Content-Disposition: inline; filename=emacs-err.gif
Content-Transfer-Encoding: base64

R0lGODlhZwAlAHAAACH5BAgAAP8ALABnACUAhwAASAAAdABISEgAAHQAAHQASHQAdHR0
SAAA/wBInAB0vwB0/0gA/3QA/0hInHRInEic30ic/3S//5xIAL90AJxISJxI/790/9+cSP+/dL+/
/5zf/7///9+c//+fnP//v//f/+zp2PLy8v///wAA











AAj+AEcIHEiwoMGDCBMqXMiwIcMSECNKnEixosWLGDNq3KiRhMePJDiKHEmy5EiQH02qXMmSI0qP
LWPKjPky5MybOF2+tOghgc+fHEQ0+Jmgw8wMAABEyKkT5cQMAkp4kFACw4QSFziU+MAA4ocEODMs
nRmiwNiMNSOCIKBgolWJXCN6MFkhqQILWiGKlaghqVKJFJIOeBAxMIDBhQPkvZi2BAXFFN9GjOu1
ZIUFeiHrPVsixAaIFK6W2FuiQtvRY01LXHvaYk2knCVK9tq18sgQEC6ShrjWr+iySQUY7Vwg+HCJ
sF3vdBwb4uyttaWSxK37bAgDeTOI5ts6oobuo8H+T2zsWHPE55RLOLA8tuz23SEOGF0rGi9EDZhL
2C+BXy1btMvx9p9URBklFFHbjWQYAFcB55dwoyUVAAIMOvbgcAtCWJZ5jAXI1IcgkgfiiDiJSOKJ
LZmI4oolqciiSn7FCABNHr640owT4ciSizaSpGNEP6rEY48iBVmCkS2+hFSMivVmXElLNncjRUiS
9NpSFVxlX3/8QQillDBSSaNTEGXJV36oYVQXAHcttht/fnFmGGKgCUaYkVWeFKCZ3qHJZUWXZeYm
Z56BJhppqqVZWlt4jglSRHze5yeaE1Fn0ZtOVkjck5sCAGGjKe6Z4J9vSmRpRfBhp1eC94n33ZFh
YoZKZmmj5hffcRRV0F4B71knXwn0QbQfl8NiBuqOOy3p6XwExMgqRQs2WNyFEQIwYYUZYkjtsSsN
SeRG3ApZ47cjhWuSt+RiZG6Ss6ZbroxJOZqSu/RChG69K96L74kBAQA7
--===-=-=--
---End Message---


-- 
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


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-08 Thread Kim F. Storm
[EMAIL PROTECTED] (Kim F. Storm) writes:

 I had to edit a simple html file on Windows XP, so I got the latest
 unpatched Emacs 22 pretest from Lennart's site (thank you).

 If I put this in the file xx.htm:

 TD  class=...
 TD class

 the rightmost pixels of the first D are lost as can be seen by the tiny
 screen-shot at the end of this message.  The second D is shown normally.


The image was corrupted, and the gnu mailserver refuses my posts with
attached gif files, so I cannot post it here:

emacs-pretest-bug@gnu.org: host mx10.gnu.org[199.232.76.166] said: 550 Bad
attachment (in reply to end of DATA command)

If someone wants to see it, I can send it directly.

-- 
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


Re: Ugly W32 display bug - fontified letters chopped on right

2007-04-08 Thread Eric Hanchrow
I'm clearly seeing it myself, for what that's worth, using Bitstream
Vera Sans Mono at 12 pixels.

If I enlarge the font a lot, to like 24 pixels, I don't see it.
-- 
That sounds like a bunch of baloney, [Feynman] said. Give
me something real to do. So we sent him out to buy some office
supplies.
-- Danny Hillis



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug