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

Line thickness inconsistencies in Windows #252

Closed
gitkeerthi opened this issue Nov 13, 2023 · 2 comments · Fixed by #263
Closed

Line thickness inconsistencies in Windows #252

gitkeerthi opened this issue Nov 13, 2023 · 2 comments · Fixed by #263
Labels
bug Something isn't working

Comments

@gitkeerthi
Copy link

Lorien version:
0.6.0

OS/device including version:
Windows 11

Issue description:
Line thickness of objects (rectangle, circle, etc.) does not match that of handwritten text for the same brush size. Only observed in Windows. Looks good in Linux.

Steps to reproduce:
See screenshot
Screenshot 2023-11-13 095453

@gitkeerthi gitkeerthi added the bug Something isn't working label Nov 13, 2023
@tafode
Copy link
Contributor

tafode commented Feb 27, 2024

I tried to find the issue. I think the problem is, that the pressure for Circle/Rectangle is set as a constant to 0.5. This would mean the line is always half the size of the brush, but additional the interpolate function is called with 0.5 which looks up the pressure inside a pressure curve which decreases the size again. (e.g. CircleTool.gd line 55 pressure = pressure_curve.interpolate(pressure).

In my opinion setting the constant to 1 would solve the problem.
Lorien

I don't know how or why it should work on Linux and I have at the moment no possibility to check it on Linux.

@mbrlabs
Copy link
Owner

mbrlabs commented Mar 18, 2024

Fixed with #263

@mbrlabs mbrlabs closed this as completed Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants