← Back to team overview

kicad-developers team mailing list archive

"Multichannel signed distance field" font rendering

 

Hello there,

I've been working on trying to solve the blurred font issue in the OpenGL canvas. The current state of the work can be found in my branch "sdf" ( https://code.launchpad.net/~decimad/kicad/+git/kicad/+ref/sdf ). It uses a technique called "multichannel signed distance field" to recreate clear edges and corners in high zoom situations. The code is not polished for commiting yet! A motivational comparison screenshot before/after: https://s10.postimg.io/k00tnaax5/comparison.png

It would be great if brave members could test the branch to see if it runs well on different hardware levels and if you are happy with the visuals.

To create the font texture atlas I wrote a command-line tool that is only set up to build on windows currently (nothing platform dependent included, but it's currently a visual studio project). I don't know if there's a space to upload helper tools and if platform dependency would be accepted there. I could probably upload it to a github project though.

Cheers!
Michael



Follow ups