[haiku-bugs] Re: [Haiku] #7797: [app_server] Alternative implementation of subpixel rendering (patch)

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Thu, 19 Sep 2013 17:54:54 -0000

#7797: [app_server] Alternative implementation of subpixel rendering (patch)
----------------------------------+----------------------------
   Reporter:  diver               |      Owner:  leavengood
       Type:  bug                 |     Status:  in-progress
   Priority:  normal              |  Milestone:  R1
  Component:  Servers/app_server  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by diver):

 Some comments from stippi:

 * FreeType contains its own sub-pixel rendering. It can provide that in
 the glyph bitmaps you get. It has its own filter, too.
 * app_server initially implemented its own filter (the GSoC student), not
 using the Freetype filter, but needing the define so Freetype can provide
 3x width glyph bitmaps without filtering.
 * Then I didn't like either the Freetype filter (as seen in Linux distros)
 nor the filter which the GSoC student implemnented. (Andre was his name?)
 * So I implemented another "average based" filter, which I thought was
 brilliant at the time.

 What you may do now is have app_server do its own filtering, only to
 replace it later with the Freetype filtering.
 Or both filters run!
 I.e. first the Freetype filter, and then app_servers average based filter.
 Which means you get worse results then you could.
 Unless of course you drag the slider in Appearance preflet all the way to
 one side, turning the app_server filter effectively off, so you only get
 the Freetype internal filter's result.

--
Ticket URL: <http://dev.haiku-os.org/ticket/7797#comment:16>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: