* bug#2836:
@ 2009-04-27 21:08 David Reitter
[not found] ` <E1D24BFC-5DE5-4C1B-AAEB-EC28D1D2A16F@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: David Reitter @ 2009-04-27 21:08 UTC (permalink / raw
To: 2836
First, I reproduce this only when the system and Emacs are set up to
switch off antialiasing for a font as small as that.
With antialiasing on, the error doesn't occur. (Can be reproduced
with Emacs -Q, which seems to use special settings for antialiasing,
or with
(setq ns-antialias-text nil)).
Reintroducing line spacing (which was removed for a reason) not only
fixes this bug, but has global consequences.
So I don't think this is the right way to fix this bug. I think we
have to look at the code that draws the non-antialiased text.
For now, the workaround for this is
(set-frame-parameter nil 'line-spacing 2)
(or setting defaut-frame-alist accordingly).
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#2836:
[not found] ` <E1D24BFC-5DE5-4C1B-AAEB-EC28D1D2A16F@gmail.com>
@ 2009-07-16 23:49 ` David Caldwell
2009-07-16 23:54 ` bug#2836: David Reitter
0 siblings, 1 reply; 3+ messages in thread
From: David Caldwell @ 2009-07-16 23:49 UTC (permalink / raw
To: David Reitter; +Cc: 2836
On 4/27/09 3:52 PM, David Reitter wrote:
>> Reintroducing line spacing (which was removed for a reason) not only
>> fixes this bug, but has global consequences.
I'm curious what the reasons are since it wasn't really explained in the
check-in comments. I've been running with my patch now for 3 months and
haven't seen any visual oddities. But perhaps my anti-aliasing settings
are masking what the original change was for...
>> So I don't think this is the right way to fix this bug. I think we
>> have to look at the code that draws the non-antialiased text.
>>
>> For now, the workaround for this is
>>
>> (set-frame-parameter nil 'line-spacing 2)
>> (or setting defaut-frame-alist accordingly).
This does fix the descenders being chopped off, but ends up making the
block cursor not cover the whole glyph it's highlighting--it's really ugly.
Any idea if we'll get a real fix (or one our workarounds) into CVS
before emacs 23.1 is released?
-David
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#2836:
2009-07-16 23:49 ` bug#2836: David Caldwell
@ 2009-07-16 23:54 ` David Reitter
0 siblings, 0 replies; 3+ messages in thread
From: David Reitter @ 2009-07-16 23:54 UTC (permalink / raw
To: David Caldwell; +Cc: 2836
[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]
On Jul 17, 2009, at 12:49 AM, David Caldwell wrote:
> I'm curious what the reasons are since it wasn't really explained in
> the
> check-in comments. I've been running with my patch now for 3 months
> and
> haven't seen any visual oddities. But perhaps my anti-aliasing
> settings
> are masking what the original change was for...
One reason was that markings in the fringe are oddly divided if line
spacing is used, rather than continuous. The other one was to use the
standard line spacing on the system, and the same line spacing as in
Emacs 22 (Carbon).
>>> For now, the workaround for this is
>>>
>>> (set-frame-parameter nil 'line-spacing 2)
>>> (or setting defaut-frame-alist accordingly).
>
> This does fix the descenders being chopped off, but ends up making the
> block cursor not cover the whole glyph it's highlighting--it's
> really ugly.
That per se is a bug and should be changed. It's probably easier to
fix.
> Any idea if we'll get a real fix (or one our workarounds) into CVS
> before emacs 23.1 is released?
If someone provides one and it is considered safe, maybe yes.
But I wouldn't worry too much about the release, given the long list
of NS specific bugs that the release will have anyways.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-16 23:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-27 21:08 bug#2836: David Reitter
[not found] ` <E1D24BFC-5DE5-4C1B-AAEB-EC28D1D2A16F@gmail.com>
2009-07-16 23:49 ` bug#2836: David Caldwell
2009-07-16 23:54 ` bug#2836: David Reitter
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.