tree: 868c5b699d2540b8cd9df261bc806f326f4c7921 [path history] [tgz]
  1. README.md
  2. all_fonts_manifest.json
  3. ephemeral_manifest.json
  4. font_provider_test.rs
  5. mock_font_resolver.rs
  6. test_manifest.json
src/fonts/tests/README.md

Updated 07/12/2019

This doc is intended to answer the question “Which fonts are being loaded when this test runs?”

Omitted fields

Any ommitted fields are assumed to have the following values:

  • Fallback: false
  • Generic family: None
  • Index: 0
  • Styles (Slant, Weight, Width)
    • Upright, 400, Normal
  • Languages: []

Default fonts

Fonts loaded by start_provider_with_default_fonts().

Count: 4 or 7

  • Material Icons (MaterialIcons)
  • Roboto
    • Fallback: true
    • Generic family: SansSerif
    • Styles
      • 300
      • 400
      • 500
  • Roboto Mono -- only on some platforms
    • Fallback: true
    • Generic family: Monospace
    • Styles
      • 300
      • 400
      • 500

Test fonts

Fonts loaded by start_provider_with_test_fonts() in addition to the default fonts.

Count: 8 + default fonts

  • Noto Serif CJK
    • Fallback: true
    • Generic family: Serif
    • Index: 0
    • Languages
      • ja
  • Noto Serif CJK
    • Fallback: true
    • Generic family: Serif
    • Index: 1
    • Languages
      • ko
  • Noto Serif CJK
    • Fallback: true
    • Generic family: Serif
    • Index: 2
    • Languages
      • zh-hans
  • Noto Serif CJK
    • Fallback: true
    • Generic family: Serif
    • Index: 3
    • Languages
      • zh-Hant
      • zh-Bopo
  • Noto Sans CJK
    • Fallback: true
    • Generic family: SansSerif
    • Index: 0
    • Languages
      • ja
  • Noto Sans CJK
    • Fallback: true
    • Generic family: SansSerif
    • Index: 1
    • Languages
      • ko
  • Noto Sans CJK
    • Fallback: true
    • Generic family: SansSerif
    • Index: 2
    • Languages
      • zh-hans
  • Noto Sans CJK
    • Fallback: true
    • Generic family: SansSerif
    • Index: 3
    • Languages
      • zh-Hant
      • zh-Bopo

All fonts

Fonts loaded by start_provider_with_all_fonts().

Count: 41

  • Material Icons (MaterialIcons)
  • Noto Serif CJK
    • Fallback: true
    • Generic family: Serif
    • Index: 0
    • Languages
      • ja
  • Noto Serif CJK
    • Fallback: true
    • Generic family: Serif
    • Index: 1
    • Languages
      • ko
  • Noto Serif CJK
    • Fallback: true
    • Generic family: Serif
    • Index: 2
    • Languages
      • zh-hans
  • Noto Serif CJK
    • Fallback: true
    • Generic family: Serif
    • Index: 3
    • Languages
      • zh-Hant
      • zh-Bopo
  • Noto Sans CJK
    • Fallback: true
    • Generic family: SansSerif
    • Index: 0
    • Languages
      • ja
  • Noto Sans CJK
    • Fallback: true
    • Generic family: SansSerif
    • Index: 1
    • Languages
      • ko
  • Noto Sans CJK
    • Fallback: true
    • Generic family: SansSerif
    • Index: 2
    • Languages
      • zh-hans
  • Noto Sans CJK
    • Fallback: true
    • Generic family: SansSerif
    • Index: 3
    • Languages
      • zh-Hant
      • zh-Bopo
  • Roboto
    • Fallback: true
    • Generic family: SansSerif
    • Styles
      • 100
      • 300
      • 400
      • 500
      • 700
      • 900
      • Italic, 100
      • Italic, 300
      • Italic, 400
      • Italic, 500
      • Italic, 700
      • Italic, 900
  • Roboto Condensed (RobotoCondensed)
    • Fallback: true
    • Generic family: SansSerif
    • Styles
      • 300
      • 400
      • 700
      • Italic, 300
      • Italic, 400
      • Italic, 700
  • Roboto Mono (RobotoMono)
    • Fallback: true
    • Generic family: Monospace
    • Styles
      • 100
      • 300
      • 400
      • 500
      • 700
      • Italic, 100
      • Italic, 300
      • Italic, 400
      • Italic, 500
      • Italic, 700
  • Roboto Slab (RobotoSlab)
    • Fallback: true
    • Generic family: Serif
    • Styles
      • 100
      • 300
      • 400
      • 700