emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] add "underwave" face attribute


From: Aurélien Aptel
Subject: Re: [patch] add "underwave" face attribute
Date: Mon, 6 Feb 2012 01:24:52 +0100

On Mon, Feb 6, 2012 at 1:18 AM, Alp Aker <address@hidden> wrote:
> Aurélien Aptel wrote:
>> Mac OSX clipping works differently and I'm not sure what to do... See
>> XXX coments in nsterm.m
>
> I fixed up the NextStep portion; attached is a new diff reflecting the
> changes to nsterm.m.  In particular, in ns_draw_underwave:
>
> (1) I changed the API calls for the clipping.
> (2) Because of the way the NS port handles cursor drawing, one can't extract
> the x-origin and width for the underwave directly from the glyph string as
> you did.  I made the appropriate changes.
> (3) On the various displays I tried, changing wave_height from 2 to 3
> dramatically improved the appearance. I took the liberty of using the latter
> value.  (Perhaps wave_height and wave_length should be exposed to the user
> as options?)
> (4) I rearranged the code to make it more obviously parallel
> to x_draw_underwave.

Hooray! Could you provide a screen shot? I'm curious :)
I don't have to continue this osx install anymore \o/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]