1 of 17

Fonts Highlights

BlinkOn 10, Toronto

Lightning Talks Day 1

Dominik Röttsches�drott@google.com

2 of 17

Native support for AAT Fonts

Font Matching Improvements

3 of 17

AAT - State Machine

4 of 17

OpenType - GSUB Lookup Tables

5 of 17

6 of 17

7 of 17

html5-full-render on Mac

8 of 17

Results

9 of 17

Results

10 of 17

Thanks, @behdad, @ebraminio!

11 of 17

Font Matching Improvements

12 of 17

Family Matching

13 of 17

“Local Matching”

Resolving src: local(<name>)

14 of 17

Google Fonts on Android

  • Google Fonts uses src: local() sources as speed-up when local version is available
  • Without correct src: local() matching �Google Fonts speedup ineffective

15 of 17

Before

After

Only Roboto Regular selectable for local-speedup

~12 Fonts

All pre-installed fonts precisely selectable

~240 Fonts

16 of 17

17 of 17

Summary

  • Native AAT support in HarfBuzz brings 3-12x improvements in AAT shaping performance
  • Src: local() fix allows better selection of pre-installed fonts on Android and other OSes