<font-face>

Veraltet: Diese Funktion wird nicht mehr empfohlen. Obwohl einige Browser sie möglicherweise noch unterstützen, könnte sie bereits aus den relevanten Webstandards entfernt worden sein, in Kürze entfernt werden oder nur noch aus Kompatibilitätsgründen bestehen. Vermeiden Sie die Verwendung und aktualisieren Sie vorhandenen Code, falls möglich; siehe die Kompatibilitätstabelle am Ende dieser Seite, um Ihre Entscheidung zu unterstützen. Beachten Sie, dass diese Funktion jederzeit aufhören könnte zu funktionieren.

Das <font-face> SVG Element entspricht der CSS @font-face Regel. Es definiert die äußeren Eigenschaften einer Schriftart.

Verwendungskontext

KategorienSchriftelement
Erlaubter InhaltAny number of descriptive elements » and at most one <font-face> element, in any order.

Attribute

DOM-Schnittstelle

Dieses Element implementiert die SVGFontFaceElement Schnittstelle.

Spezifikationen

Specification
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
# FontFaceElement

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
font-face
Deprecated
accent-height
Deprecated
alphabetic
Deprecated
ascent
Deprecated
bbox
Deprecated
cap-height
Deprecated
descent
Deprecated
font-family
Deprecated
font-size
Deprecated
font-stretch
Deprecated
font-style
Deprecated
font-variant
Deprecated
font-weight
Deprecated
hanging
Deprecated
ideographic
Deprecated
mathematical
Deprecated
overline-position
Deprecated
overline-thickness
Deprecated
panose-1
Deprecated
slope
Deprecated
stemh
Deprecated
stemv
Deprecated
strikethrough-position
Deprecated
strikethrough-thickness
Deprecated
underline-position
Deprecated
underline-thickness
Deprecated
unicode-range
Deprecated
units-per-em
Deprecated
v-alphabetic
Deprecated
v-hanging
Deprecated
v-ideographic
Deprecated
v-mathematical
Deprecated
widths
Deprecated
x-height
Deprecated

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
Deprecated. Not for use in new websites.

Siehe auch