Incremental Font transfer

Incremental Font Transfer Demo

This demonstrates the use of the patch subset incremental font transfer protocol to incrementaly load fonts for a variety of languages.

Instructions:
  • Next/Previous will switch between text samples. Switching to a new sample will use IFT to load any additional font data needed for it.
  • If "Also load fonts via unicode range" is selected then fonts will be loaded via the Google Fonts API (using unicode range) in parallel to the incremental font transfer.
  • Disable caching (via dev console) or force refresh the page (ctrl+shift+r) before starting. If caching is enabled the unicode range font loading may be served from the cache which will make the bytes transferred incorrect.
  • If unicode range loading is enabled you can switch the displayed text sample between the two methods using the "Show unicode range" button.
Interesting things to try:
  • Switching between the unicode range and pfe text for the cyrillic and vietnamese samples demonstrates how unicode range breaks kerning between characters in different subsets
Unicode range

Incremental font transferred:
Unicode range transferred: