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

<marker> svg is ignored in png output #363

Open
aquaductape opened this issue Nov 4, 2024 · 1 comment
Open

<marker> svg is ignored in png output #363

aquaductape opened this issue Nov 4, 2024 · 1 comment

Comments

@aquaductape
Copy link

aquaductape commented Nov 4, 2024

The following usa svg flag where the stars uses <marker> doesn't render in resvg png output https://og-playground.vercel.app/?share=bVTbjtowEP0Vy6iilSBxEudCxO5Dt5WoxD610r7wEoiTeHFilDgEFvHvHefCclkJoZkzZ2bOjGOf8EbGDId4HvP9qkCoUkfBnk4nbSOUMZ5mKkRji5Bv40kHNjxW2R0W82onoiOgiWCHAdX2L16yjeKygNhGijovhmgkeFr8USyvdIgVipVD6L2uFE-OLxLAQve_Da-jzTYtZV3EL1LIEuKjJEkuXSHrL_9gIXLsK-itn8UjpEXP51XxrI15tU-vJntaYd9d4Q7Zc9b8lAfACCLId5F3CSVcCMBHhJABGpaH8qhMuZ5Y5-wO47YZQm07aLiLVIZiSH51fMOdGbYrHM-YQXW6MDzaOVOPfqzw89zU7E6oCUq1NahGh1wUFdTJlNqFptk0jdE4hixT0wZZmr7CiOtOiYjSKd_IoprWFYC3g3mUIBrAHF2fVt8w3zp2YkohpRUM7AzYe2AvgG9eJVSqlFumU-AwgN_5b_1OHf-zhOsajq4CpmXPessmA2b7fm85rtVb1Ha1ddtxkGjN7MSNryU6HjWCve0GhnslE45ly8puIXU1jSCjgxbtt6FVArnHLsKHtdx37abUtXKLwhJnIHwJE5HMDpYuOHB8qO9sdjUftReyYJeWr52yUnwfaXk_hvL6iCwPWbAMC33-yJL6yIFd9S78L4HmwR4faAGs-ZZmWbDRB55FL00uRM_7ijiz74m2FdwRYQN6AcOHqy14Z8DCEyx3-lWocHjC7b3DYQA3E3dPDg6pdmK2rlMcJpGo2ASzXL7zf8edfq9U03pQR9_t3_maxThUZc3OE6yiNTAyJoRsZClifP4P

<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-us" viewBox="0 0 640 480">
  <path fill="#bd3d44" d="M0 0h640v480H0"/>
  <path stroke="#fff" stroke-width="37" d="M0 55.3h640M0 129h640M0 203h640M0 277h640M0 351h640M0 425h640"/>
  <path fill="#192f5d" d="M0 0h364.8v258.5H0"/>
  <marker id="us-a" markerHeight="30" markerWidth="30">
    <path fill="#fff" d="m14 0 9 27L0 10h28L5 27z" style="&#10;"/>
  </marker>
  <path fill="none" marker-mid="url(#us-a)" d="m0 0 16 11h61 61 61 61 60L47 37h61 61 60 61L16 63h61 61 61 61 60L47 89h61 61 60 61L16 115h61 61 61 61 60L47 141h61 61 60 61L16 166h61 61 61 61 60L47 192h61 61 60 61L16 218h61 61 61 61 60z"/>
</svg>
@aquaductape aquaductape changed the title Support <marker> svg <marker> svg is ignored Nov 4, 2024
@aquaductape aquaductape changed the title <marker> svg is ignored <marker> svg is ignored in png output Nov 4, 2024
@yisibl
Copy link
Member

yisibl commented Nov 20, 2024

Upstream resvg is already supported, which requires an upgrade.

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