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

Excessive thickness (wide stroke) on shape outlines #7369

Open
hughmcmaster opened this issue Jul 8, 2022 · 4 comments
Open

Excessive thickness (wide stroke) on shape outlines #7369

hughmcmaster opened this issue Jul 8, 2022 · 4 comments
Labels
A-rendering Area: Rendering & Graphics bug Something isn't working

Comments

@hughmcmaster
Copy link

hughmcmaster commented Jul 8, 2022

Describe the bug

Outlines of basic shapes and embedded images are rendered with excessive thickness. In this Ruffle screenshot, this bug can be seen with the squares, flowers, caterpillar etc.

image

Expected behavior

Outlines should be sized naturally. In most cases, this is a (very) thin stroke, as shown in this Flash Player screenshot.

image

Affected platform

Online demo

Operating system

Windows 10

Browser

Mozilla Firefox 102

Additional information

Virtual Ecosphere (second Flash embed on the page)

@hughmcmaster hughmcmaster added the bug Something isn't working label Jul 8, 2022
@n0samu
Copy link
Member

n0samu commented Jul 8, 2022

I believe this is the same issue as #751 and #2023, with a fix for the Canvas backend being worked on in #7042

@n0samu n0samu added the A-rendering Area: Rendering & Graphics label Jul 8, 2022
@hughmcmaster
Copy link
Author

Sadly, @Herschel's (merged) fix in #7042 had no effect in this case, but it is definitely a big step in the right direction.

@n0samu
Copy link
Member

n0samu commented Jan 6, 2023

Actually the problem is fixed now in the Canvas renderer only. To see the result, you would need to build Ruffle with only the Canvas renderer enabled, or manually disable WebGL in your browser by starting Chrome with the --disable-webgl option, or setting webgl.disabled to true in Firefox's about:config.

@n0samu
Copy link
Member

n0samu commented May 3, 2023

We have added a preferredRenderer config option which would allow you to use Ruffle's canvas renderer on your site without recompiling Ruffle. See our wiki for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rendering Area: Rendering & Graphics bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants