tree: 9270e449ee4255286416a9dce57907bceedaa351 [path history] [tgz]
  1. BUILD.gn
  2. DEPS
  3. DIR_METADATA
  4. font_manager.cc
  5. font_manager.h
  6. font_manager.idl
  7. font_metadata.cc
  8. font_metadata.h
  9. font_metadata.idl
  10. font_table_map.cc
  11. font_table_map.h
  12. font_table_map.idl
  13. idls.gni
  14. navigator_fonts.cc
  15. navigator_fonts.h
  16. navigator_fonts.idl
  17. OWNERS
  18. query_options.idl
  19. README.md
third_party/blink/renderer/modules/font_access/README.md

Font Access API

This directory contains the implementation of the Font Access API.

Related directories

//third_party/blink/renderer/platform/fonts contains the platform implementation.

APIs In this directory

This directory contains the implementation of the new and still under development Font Access API.

It consists of the following parts:

  • FontMetadata: Metadata about a font installed on the system. Provides information that uniquely identifies a font, as well as text to present to users in their system-configured locale.

  • FontIterator, FontIteratorEntry: Mechanism providing the ability to enumerate system-installed fonts using an asynchronous iterator.

  • FontManager: An object that exposes operations to access fonts. In the future, this may be extended to add more capabilities.

  • NavigatorFonts: An entry point, available in documents and workers on navigator, that lets a website enumerate locally installed system fonts.