| | 44 | |
| | 45 | For more information, check [https://github.com/fred-wang/MathFonts/ Web fonts, sample CSS style sheets and demos]. |
| | 46 | |
| | 47 | == Unicode Coverage == |
| | 48 | |
| | 49 | In order to display various scientific and technical symbols, math fonts should cover the largest possible subset of [https://www.w3.org/TR/xml-entity-names/#blocks Unicode Character Ranges for Scientific Documents] and more specifically: |
| | 50 | |
| | 51 | * [https://www.w3.org/TR/xml-entity-names/#alphabets Mathematical Alphanumeric Characters] |
| | 52 | |
| | 53 | * [https://www.w3.org/TR/MathML3/appendixc.html#oper-dict.entries-table Operators from the MathML dictionary]. |
| | 54 | |
| | 55 | Mathematical Alphanumeric Characters are required to display variables with their default mathematical italic style and to support the `mathvariant` attribute. However, the former is currently done with CSS ([https://bugs.webkit.org/show_bug.cgi?id=155018 bug 155018]) and the latter is not implemented yet ([https://bugs.webkit.org/show_bug.cgi?id=108778 bug 108778]). |
| | 56 | |
| | 57 | == Open Font Format features == |
| | 58 | |
| | 59 | Development is in progress to [http://www.mathml-association.org/MathMLinHTML5/ make our MathML support rely on TeX rules and OpenType features]. Below are some features that should be provided by math fonts and implemented in WebKit: |
| | 60 | |
| | 61 | === MathConstants table === |
| | 62 | |
| | 63 | === MathGlyphInfo table === |
| | 64 | |
| | 65 | === MathVariants table === |
| | 66 | |
| | 67 | === Tags === |
| | 68 | |
| | 69 | Nothing has been implemented yet. The following tags should be considered: |
| | 70 | `math`, `ssty`, `flac`, `dtls` and `rtlm`. |