Visitar URL original
Font padding fix fix by slimbuck · Pull Request #1606 · playcanvas/engine · GitHub
Skip to content

Font padding fix fix - #1606

Merged
willeastcott merged 9 commits into
masterfrom
font-padding-fix-fix
Jun 28, 2019
Merged

willeastcott merged 9 commits into
masterfrom
font-padding-fix-fix

Conversation

@slimbuck

Copy link
Copy Markdown
Member

Fix for the font padding alignment fix.

I confirm I have signed the Contributor License Agreement.

@@ -334,7 +334,7 @@ Object.assign(pc, function () {
"height": h,
"xadvance": xadvance / scale,
"xoffset": xoffset / scale,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why the xoffset value doesn't need to respect the padding like yoffset.

@willeastcott
willeastcott merged commit 179017e into master Jun 28, 2019
@willeastcott
willeastcott deleted the font-padding-fix-fix branch June 28, 2019 20:21
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

Successfully merging this pull request may close these issues.

2 participants