We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://www.pixiplayground.com/#/edit/Nc4-XqFejJ_Yefndcogxj
pixi.js
The text was updated successfully, but these errors were encountered:
It seems to be caused by #8501:
- if (!Text.nextLineHeightBehavior || lineHeight - fontProperties.fontSize < 0) + if (lineHeight - fontProperties.fontSize < 0)
pixijs/packages/text/src/Text.ts
Lines 264 to 269 in 7029404
Removing the if and directly set linePositionYShift to 0 can get the correct result.
if
linePositionYShift
@bigtimebuddy Do you have any idea?
Sorry, something went wrong.
This is also an issue in 6.5.x if nextLineHeightBehavior is enabled: https://www.pixiplayground.com/#/edit/dOhIpfXlsJMAo2TPKvFkK
nextLineHeightBehavior
Workaround is to use padding: https://www.pixiplayground.com/#/edit/Suh_Op__2Hdf7vnt5bwG7
padding
This seems like a bug. We should be accounting for the stroke width for the canvas height.
This as introduce here #7386
Successfully merging a pull request may close this issue.
Expected Behavior
Current Behavior
Steps to Reproduce
https://www.pixiplayground.com/#/edit/Nc4-XqFejJ_Yefndcogxj
Environment
pixi.js
version: above 7.0.0The text was updated successfully, but these errors were encountered: