Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-13 Thread Michael Steinberg
Hello all! Thank you very much for the feedback. As I understand the technique works well enough on many different hardware levels (I'm using it myself in an i5 iGPU), so that's good to know. I tweaked the character placement to get in accordance with what the truetype font specifies. Beside

Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-12 Thread Michael Steinberg
Hey, thanks for noticing. That and more off by one errors I'm working on to fix currently. As I said, not polished, rather proof-of-concept. Michael Am 12.09.2016 um 17:18 schrieb Bernhard Stegmaier: Hi, looks great! One nitpicking question about the comparison screenshots: It looks like

Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-12 Thread Bernhard Stegmaier
Hi, looks great! One nitpicking question about the comparison screenshots: It looks like the baselines of the three letters are not the same… “N” is higher than “D”, “D” is higher than “G”. It doesn’t look like this in the blurry version… Where does this come from? Regards, Bernhard > On 10

Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-12 Thread Tomasz Wlostowski
On 10.09.2016 17:05, Michael Steinberg wrote: > 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

Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-11 Thread José Ignacio
Hi, I just committed some basic CMake support to that repo, it should compile on all platforms provided you have the freetype and boost libraries installed (I don't know which minimum versions are required). It compiled successfully on Debian stretch with boost 1.61 and freetype 2.6.3. On Sun,

Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-11 Thread Michael Steinberg
Hello Jean-Pierre, Could you tell us more about this command-line tool? the tool uses the MSDF-library by Viktor Chlumsky, adds a rectangle bin packing algorithm (max rectangles global) to pack the texture atlas and outputs in the format that is used by KiCad currently. Given that, for full

Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-10 Thread Simon Wells
same here on osx On Sun, Sep 11, 2016 at 2:38 PM, Chris Pavlina wrote: > Works great on my big-ass board, and looks *so* much better. Zooming > feels ever so slightly slower on this board, but not enough to matter. > > On Sat, Sep 10, 2016 at 05:05:24PM +0200, Michael

Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-10 Thread Chris Pavlina
Works great on my big-ass board, and looks *so* much better. Zooming feels ever so slightly slower on this board, but not enough to matter. On Sat, Sep 10, 2016 at 05:05:24PM +0200, Michael Steinberg wrote: > Hello there, > > I've been working on trying to solve the blurred font issue in the

Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-10 Thread Vesa Solonen
10/09/16, 18:05, Michael Steinberg kirjoitti: > 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. Seems fine on [AMD/ATI] RV610 [Radeon HD 2400 PRO/XT] using open source drivers of Ubuntu 16.04.

Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-10 Thread firewalker
It seems to work as expected on Arch Linux 32 bit. On Sat, Sep 10, 2016 at 6:05 PM, Michael Steinberg wrote: > 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"

Re: [Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-10 Thread José Ignacio
It works great on my end! As for the tool, I think it would be good to just have it in a repo on github, as it could be very useful for other projects too. On Sat, Sep 10, 2016 at 10:05 AM, Michael Steinberg wrote: > Hello there, > > I've been working on trying to solve the

[Kicad-developers] "Multichannel signed distance field" font rendering

2016-09-10 Thread Michael Steinberg
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