Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG tutorial recommends deprecated custom font method #38103

Closed
phoneticallySAARTHaK opened this issue Feb 11, 2025 · 0 comments · Fixed by #38152
Closed

SVG tutorial recommends deprecated custom font method #38103

phoneticallySAARTHaK opened this issue Feb 11, 2025 · 0 comments · Fixed by #38152
Labels
accepting PR Feel free to open a PR to resolve this issue Content:SVG SVG docs

Comments

@phoneticallySAARTHaK
Copy link

MDN URL

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

What specific section or headline is this issue about?

Defining a font

What information was incorrect, unhelpful, or incomplete?

The Defining a font section mentions the font-face tag for defining a font.

What did you expect to see?

This way of defining a font in SVG seems to be deprecated. A quick google search lists multiple Stack Overflow answers which show setting a font via CSS directly.

Do you have any supporting links, references, or citations?

From MDN docs page for <font-face>:

<font-face>: Deprecated

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@phoneticallySAARTHaK phoneticallySAARTHaK added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 11, 2025
@github-actions github-actions bot added the Content:SVG SVG docs label Feb 11, 2025
@Josh-Cena Josh-Cena added accepting PR Feel free to open a PR to resolve this issue and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepting PR Feel free to open a PR to resolve this issue Content:SVG SVG docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants