Rendering Quality in Webkit's Open Source Graphics Stack

Rendering Quality in Webkit's Open Source Graphics Stack

Rendering Quality in WebKit's Open Source Graphics Stack Dominik Röttsches [email protected] 01.org/webkit About WebKit Software Engineer @ Intel Finland, OTC WebKit Committer Specialized in Tizen WebKit's Graphics Backend In this talk Define rendering quality WebKit's 2D rendering stack Improvements to Tizen WebKit's rendering quality Rendering Quality Site looks "as intended by the author" Text & graphics look accurate & pleasant Sharp Readable Regular spacing & layout No glitches, artifacts, gaps, irregularities "Looks as intended" = Consistency across platforms and devices across browsers across different screens with look & feel of the operating system Great looking fonts and graphics create a great user experience. WebKit Graphics Backend WebKit Graphics Backend WebKit API WebCore JSCore Platform Abstractions ... 2D Fonts & Text ... Graphics Metrics Shaping WebKit API WebCore JSCore Platform Abstractions ... 2D Fonts & Text ... Graphics Metrics Shaping WebKit Graphics Stacks 2D Graphics Font & Metrics Text Shaping Tizen WebKit Cairo FreeType HarfBuzz NG (ex: Pango) WebKit GTK Cairo FreeType HarfBuzz NG (ex: Pango) Safari CoreGraphics CoreText CoreText Chromium Linux Skia FreeType HarfBuzz NG Chromium Mac Skia CoreText (via Skia) HarfBuzz NG Qt WebKit QPainter Platform dependent HarfBuzz NG What could possibly go wrong? (Downloadable) Fonts Shadows Layout, Scaling and Zooming Precision rt ppo t Su Fon lex mp Co s & ont b F We Font Selection & Font Antialiasing rt ppo t Su Fon lex mp Co s & ont b F We Font Selection & Font Antialiasing Shadows in CSS and SVG Baseline Positioning of Text Artifacts on Reflections Artifacts on Reflections Fractional Units in Layout 4 1 1 1 1 Fractional Units Gone Wrong Fractional Units in Layout Fractional Units Gone Wrong Sub-pixel Layout to the Rescue Keeps account of fractional layout values Takes into account zooming and scaling Lays out web page with fractional precision Renders snapped to device pixels Sub-pixel Layout to the Rescue Keeps account of fractional layout values Takes into account zooming and scaling Lays out web page with fractional precision Renders snapped to device pixels What needs to be done right? Font Selection Font Aliasing Settings Web Fonts & Complex Font Rendering Robust Graphics Backend Layout, Scaling and Zooming Precision Great User Experience in Tizen WebKit High quality font rendering Complex font rendering for web fonts Improvements to Tizen WebKit's graphics backend Sub pixel layout for accurate scaling and zooming.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    26 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us