rendering quality in webkit s open source graphics stack
play

Rendering Quality in WebKit's Open Source Graphics Stack Dominik - PowerPoint PPT Presentation

Rendering Quality in WebKit's Open Source Graphics Stack Dominik Rttsches dominik.rottsches@intel.com 01.org/webkit About WebKit Software Engineer @ Intel Finland, OTC WebKit Committer Specialized in Tizen WebKit's Graphics Backend In


  1. Rendering Quality in WebKit's Open Source Graphics Stack Dominik Röttsches dominik.rottsches@intel.com 01.org/webkit

  2. About WebKit Software Engineer @ Intel Finland, OTC WebKit Committer Specialized in Tizen WebKit's Graphics Backend

  3. In this talk Define rendering quality WebKit's 2D rendering stack Improvements to Tizen WebKit's rendering quality

  4. Rendering Quality Site looks "as intended by the author" Text & graphics look accurate & pleasant Sharp Readable Regular spacing & layout No glitches, artifacts, gaps, irregularities

  5. "Looks as intended" = Consistency across platforms and devices across browsers across different screens with look & feel of the operating system

  6. Great looking fonts and graphics create a great user experience. WebKit Graphics Backend

  7. WebKit Graphics Backend WebKit API JSCore WebCore Platform Abstractions Text Fonts & 2D ... ... Shaping Graphics Metrics

  8. WebKit API JSCore WebCore Platform Abstractions Text Fonts & 2D ... ... Shaping Metrics Graphics 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

  9. What could possibly go wrong? (Downloadable) Fonts Shadows Layout, Scaling and Zooming Precision

  10. Web Fonts & Complex Font Support Font Selection & Font Antialiasing

  11. Font Selection & Font Antialiasing Web Fonts & Complex Font Support

  12. Shadows in CSS and SVG

  13. Baseline Positioning of Text

  14. Artifacts on Reflections

  15. Artifacts on Reflections

  16. Fractional Units in Layout 4 1 1 1 1 Fractional Units Gone Wrong

  17. 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

  18. 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

  19. What needs to be done right? Font Selection Font Aliasing Settings Web Fonts & Complex Font Rendering Robust Graphics Backend Layout, Scaling and Zooming Precision

  20. 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

Recommend


More recommend