-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 stroke not working #2720
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
stroke
andstrokeWidth
properties are not working onText
element.I tried this out in different browsers (chromium based, safari and firefox) and it does not work in any of them.
I found some code in examples that does stroke on text, and it does not work there either:
react-pdf/packages/examples/src/svg/Svg1.jsx
Lines 98 to 100 in 5e9a113
So considering there is code in the examples that uses this feature – I think this is supposed to work and not a new feature request, but correct me if I am wrong, of course.
To Reproduce
Code:
REPL: https://react-pdf.org/repl?code=3187b0760ce02e0040ca03703980540a6d18178600a0253601f1e0140c3003c00888c00ae02d9a614479155002808649aed3a74a8890c00ee012c009940016580110056000cab14c3969252395095a8d82870f4003d639c31a6004f1b9ba00271001acd12e769a668066920036814a0046813cc06e4e50ae1e00ea32f24a008c8a445018509400f4166c1c42b9a22614b9bcfc26b9b40cccacecf800dca42d004a6891505cd400620074de60d268ceb822c8e89839444da44000
Expected behavior
Stroke being rendered in the document
Screenshots
This is what the code in the repl looks like right now:
This is what it should look like:
Desktop:
The text was updated successfully, but these errors were encountered: