这篇翻译不完整。请帮忙从英语翻译这篇文章。
font-face元素相当于(corresponds to )CSS的@font-face规则声明,font-face元素定义了一个字体的外部属性(a font's outer properties)。
使用上下文
| 类别 | 字体元素 |
|---|---|
| 允许的内容物 | Any number of descriptive elements » and at most one <font-face> element, in any order. |
例子
属性Attributes
全局属性Global attributes
特定属性Specific attributes
font-familyfont-stylefont-variantfont-weightfont-stretchfont-sizeunicode-rangeunits-per-empanose-1stemvstemhslopecap-heightx-heightaccent-heightascentdescentwidthsbboxideographicalphabeticmathematicalhangingv-ideographicv-alphabeticv-mathematicalv-hangingunderline-positionunderline-thicknessstrikethrough-positionstrikethrough-thicknessoverline-positionoverline-thickness
DOM 接口
这个元素实现了 SVGFontFaceElement 接口。