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

Text clipped when using text-anchor="middle" #2137

Closed
cielecki opened this issue Apr 26, 2024 · 2 comments
Closed

Text clipped when using text-anchor="middle" #2137

cielecki opened this issue Apr 26, 2024 · 2 comments

Comments

@cielecki
Copy link

cielecki commented Apr 26, 2024

<html>
  <meta charset="utf-8" />

  <svg
    style="width: 300px; height: 300px; background-color: red"
  >
    <text
      x="50%"
      y="50%"
      stroke="blue"
      text-anchor="middle"
      stroke-width="2"
      font-size-"100"
    >
      3
    </text>
  </svg>
</html>

Result:
image

@cielecki
Copy link
Author

never mind it's fixed on main

@liZe
Copy link
Member

liZe commented Apr 26, 2024

Duplicate of #2136.

@liZe liZe closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants