Add unique font name lookup table implementation and tests
Preparation for hooking up @font-face { src: local() } matching in
Blink. For now adding an implementation that extracts full font name and
postscript name from fonts given a set of directories to scan.
Includes unit tests for basic functionality, compatibility with TrueType
collections and for resilience against corrupted font files.
For the general design see https://crbug.com/828317.
Bug: 867877
Change-Id: I5f557d99a5be49671bd9aa13c1712b6f8a2aa96b
Reviewed-on: https://chromium-review.googlesource.com/1151348Reviewed-by:
Jochen Eisinger <jochen@chromium.org>
Reviewed-by:
David Turner <digit@chromium.org>
Reviewed-by:
Emil A Eklund <eae@chromium.org>
Commit-Queue: Dominik Röttsches <drott@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579785}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment