Skip to content

Conversation

@rgb2hsv
Copy link

@rgb2hsv rgb2hsv commented Jul 25, 2022

This PR adds font dilation as nvgFontDilate() to give better emphasis to text, especially when it is overlaid on an unknown background color or image. It is implemented with gray level morphology, which is approximated with directional convolutions. It can also be used in combination with nvgFontBlur() for a smoother fall-off.
dump

@rgb2hsv rgb2hsv changed the title Font Dilation (i.e. font outline) Font Dilation (font outline) Jul 25, 2022
xfangfang added a commit to xfangfang/borealis that referenced this pull request Dec 23, 2023
@fwsGonzo
Copy link

fwsGonzo commented Apr 6, 2024

Fantastic work! Thanks for doing this.

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.

3 participants