Heh... for Qt I had to divide the font "pixelSize" by something like 1.7 and multiply that value by the requested Tab size to get something that looked right...
On GTK I had to jump through some hoops, multiplying the font size by 1024 (and then multiplying that number by the tab size) !!
At the end of the day, I suppose it all *looks* kind of similar. I guess it depends on how exact you need it to be??
..or you just make it up as you go ;-)
On GTK I had to jump through some hoops, multiplying the font size by 1024 (and then multiplying that number by the tab size) !!
At the end of the day, I suppose it all *looks* kind of similar. I guess it depends on how exact you need it to be??
..or you just make it up as you go ;-)