Skip to content

Conversation

@kenneth-ge
Copy link

Added check to make discard alpha pixels and shadow pixels.

When the glyph is created, it automatically comes with a black shadow, as well as a transparent background. This code uses two checks: the first removes the transparent background, and the second removes the black shadow. Adding in a different colored background, and adding options for whether to have a text shadow, should be trivial from here.

Added check to make discard alpha pixels and shadow pixels. 

When the glyph is created, it automatically comes with a black shadow, as well as a transparent background. This code uses two checks: the first removes the transparent background, and the second removes the black shadow. Adding in a different colored background, and adding options for whether to have a text shadow, should be trivial from here.
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.

1 participant