Skip to content
This repository was archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Explainer: Add "Emit in valid OpenType format" to goals
Browse files Browse the repository at this point in the history
Also, clarify non-goals to ensure that the expected output, while
possibly altered by the font processing in a browser, is still
expected to continue to be in a valid OpenType format.

Fixes https://github.com/inexorabletash/font-table-access/issues/6.
  • Loading branch information
chasephillips committed Sep 4, 2019
1 parent bc1a4fb commit bc9acbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ A successful API should:
* Restrict access to local font data to Secure Contexts and to only the top-most frame by default via the [Feature Policy](https://wicg.github.io/feature-policy) spec
* Be available from Workers
* Enable a memory efficient implementation, avoiding leaks and copies by design
* Emit font tables in a valid OpenType format

#### Possible/Future Goals

Expand All @@ -52,7 +53,7 @@ These APIs will not try to:
* Describe or provide full access to an existing WOFF/TTF/PS parser.
* Provide access to the underlying WOFF/TTF/PS font files or describe their locations on disk.
* Provide a guarantee that the set of available tables or their content matches the font on disk byte to byte.
* Normalize differences in processed font tables across browser implementations. The font tables that will be exposed will have been processed by browser-provided parsers, but we will not describe or constrain them. For instance, if a library like [OTS](https://chromium.googlesource.com/external/ots/+/master/docs/DesignDoc.md) reduces the available information for a font, this spec will not require implementations to do more than they already would or provide alternative ways of getting such information back from the source font files.
* Normalize differences in processed font tables across browser implementations. The font tables that will be exposed will have been processed by browser-provided parsers, but we will not describe or constrain them except to say that their output will continue to be in a valid OpenType format. For instance, if a library like [OTS](https://chromium.googlesource.com/external/ots/+/master/docs/DesignDoc.md) reduces the available information for a font, this spec will not require implementations to do more than they already would or provide alternative ways of getting such information back from the source font files.

## Key scenarios

Expand Down

0 comments on commit bc9acbf

Please sign in to comment.