We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

The <font> SVG element defines a font to be used for text layout.

Usage context

CategoriesFont element
Permitted contentAny number of the following elements, in any order:
Descriptive elements
<font-face>, <glyph>, <hkern>, <missing-glyph>, <vkern>

Attributes

Global attributes

Specific attributes

DOM Interface

This element implements the SVGFontElement interface.

Specifications

Specification Status Comment
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of '<font>' in that specification.
Recommendation Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support

38 — 511

4 — 38

No No No

25 — 371

10.1 — 25

3.2
horiz-origin-x ? No No No ? ?
horiz-origin-y ? No No No ? ?
horiz-adv-x ? No No No ? ?
vert-origin-x ? No No No ? ?
vert-origin-y ? No No No ? ?
vert-adv-y ? No No No ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support3 — 624 — 38 No No10.1 — 253.2 ?
horiz-origin-x ? ? No No ? ? ?
horiz-origin-y ? ? No No ? ? ?
horiz-adv-x ? ? No No ? ? ?
vert-origin-x ? ? No No ? ? ?
vert-origin-y ? ? No No ? ? ?
vert-adv-y ? ? No No ? ? ?

1. Only on Windows Vista and XP.

See also

Document Tags and Contributors

Contributors to this page: fscholz, Sebastianz, iwarui, kscarfone, Jeremie, Manuel_Strehl
Last updated by: fscholz,