#1510 Default font quality has changed on Mac

Bug
closed-rejected
scintilla (307)
5
2013-08-09
2013-08-02
No

Since the fontQuality settings were implemented on the Mac:
http://sourceforge.net/p/scintilla/feature-requests/988/
the default font styling has now changed (it's much lighter), see screenshots below.

Old: http://bugs.activestate.com/attachment.cgi?id=16205
New: http://bugs.activestate.com/attachment.cgi?id=16206

For me, old is equivalent to setting SC_EFF_QUALITY_LCD_OPTIMIZED, while new is equivalent to SC_EFF_QUALITY_ANTIALIASED.

I think we'd want to leave the defaults as they were previously (i.e. by not touching the fontsettings). I've attached a patch that does this.

1 Attachments

Discussion

  • Neil Hodgson

    Neil Hodgson - 2013-08-02

    The font appearance appears to depend on the context. Some of this depends on the user settings and the font, but the graphics context used may retain settings from earlier drawing. The new code is less context-dependent as it explicitly sets each attribute.

    Before the change, I was seeing text similar to your 'New' example in SciTE as the default. Thus, I made the default (0) text setting match the previous appearance in SciTE.

    Here's 3 images of SciTE:
    1) SciTE 3.2.4
    2) SciTE 3.3.4 with font.quality=0
    2) SciTE 3.3.4 with font.quality=3
    3 SciTEs

     
  • Todd Whiteman

    Todd Whiteman - 2013-08-03

    Interesting, it might depend upon other settings (like the parent views/context, or a Mac OS X plist setting). Does the patched version have the same affect in SciTE (i.e. same as setting font.quality=0)?

     
    • Neil Hodgson

      Neil Hodgson - 2013-08-03

      With the patch applied to SciTE 3.3.4, font.quality=0 is the same as font.quality=3, that is, nice smooth text. While I greatly prefer the more solid appearance of the bottom window in the above image, it wasn't only SciTE that has the thin appearance for me - most applications that come with OS X appeared similar. Only Mail had smooth text.

      Earlier, before the most recent font quality change in Scintilla, I found that setting the font smoothing in SciTE's tab bar would smooth text in the edit pane. Perhaps a single graphics context is shared between all the views in one window.

       
  • Todd Whiteman

    Todd Whiteman - 2013-08-09

    Please disregard - as it seems my differences are related to the view architecture or application type (Komodo in this case) - and I can set fontQuality to 3 in order to persist the previous look of Komodo with previous versions.

     
  • Neil Hodgson

    Neil Hodgson - 2013-08-09
    • labels: --> scintilla
    • status: open --> closed-rejected
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson

    Neil Hodgson - 2013-08-09

    OK, closing.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks