ChrisB: @font-face - Syntax bei SVG-Datei

Beitrag lesen

Hi,

Meine Frage ist, wie sich das da mit dem Teil hinter der Raute (#) bei der SVG-Einbindung verhält. Kann da irgendwas stehen? Oder bezieht sich das auf einen Bezeichner in der SVG-Datei, der also dann im CSS-Code eben genau so angegeben sein muss wie in der SVG-Datei selbst.

Letzteres.

http://nicewebtype.com/notes/2009/10/30/how-to-use-css-font-face/#details

“Note that paths to SVG files include an ID. Here, #filename. If you convert your own SVG fonts, you define this value. If you use Font Squirrel’s generator, look at the demo CSS to find this value (for Fontin Sans Regular, I see this SVG ID: FontinSans-Regular).”

https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_fonts

MfG ChrisB

--
Autocomplete has spoiled me to a point where it happens every so often that I encounter a CAPTCHA, and I just type in the first character … and then wait for the rest of the code to be automatically suggested :/