这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@boris-ulyanov
Copy link
Contributor

No description provided.

@boris-ulyanov
Copy link
Contributor Author

Example for illustration

Symbol = (all parameters are default)

actualBoundingBoxAscent = 12 
actualBoundingBoxDescent = -4
glyphTop = 12
glyphHeight = 8 

After the line
imgData = ctx.getImageData(...)

imgData.data contains pixels:

in original version:
pre

after fix:
aft

@mourner mourner merged commit 05da1b2 into mapbox:main Feb 1, 2022
@mourner mourner mentioned this pull request Feb 1, 2022
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