Menu

#35 Font Drop Shadow Support

open
nobody
None
5
2009-03-18
2009-03-18
No

Hi!

One thing I still miss from older days is Eterm having a nice drop shadow font effect. In certain situations this makes the text much easier to read.

I made a patch for iTerm which works for me. I also had a quick play with the Interface Builder stuff to get a click-button to toggle it the same as Anti Alias, but the diff for that is pretty useless so I'll leave that bit up to you (it's likely I did it wrong anyway as it's the first time I've used it).

So, hope this is useful, would like to see it incorporated upstream.

Cheers,

Jonathan Perkin <jonathan@perkin.org.uk>

Discussion

  • Anonymous

    Anonymous - 2009-03-18

    Patch for font drop shadow support

     
  • Anonymous

    Anonymous - 2009-03-18

    Sorry, I forgot a bug: previously I couldn't figure out a way to get the shadow turned off in the cursor but enabled for when using a background image. Recent commits to iTerm moved the background stuff out of _drawCharacter so it's enabled everywhere right now. I'll try to come up with a better patch, but if you have a quick way to fix this it'd be appreciated. Thanks.

     
  • Anonymous

    Anonymous - 2009-03-18

    Updated patch, fixes cursor and background colour shadows

     
  • Anonymous

    Anonymous - 2009-03-18

    Updated patch attached, this resolves all problems I've had, so that text only has a shadow when using the default background colour. Cursors and background-filled text now looks correct.
    File Added: font-drop-shadow-2.diff

     

Log in to post a comment.