On Thu, 2015-09-10 at 14:43 +0200, Roman Haefeli wrote:
Pd-extended already dealt with the issue and apparently found a fix. What would speak against incorporating that fix into Pd?
Something I found in Pd-extended is a different metric matrix in pd-gui.tcl . I took over some of Pd-extended's values and it does already a better job, but still not perfect:
diff --git a/tcl/pd-gui.tcl b/tcl/pd-gui.tcl index 92c632e..b10ced6 100755 --- a/tcl/pd-gui.tcl +++ b/tcl/pd-gui.tcl @@ -125,10 +125,10 @@ set font_weight "normal" # sizes of chars for each of the Pd fixed font sizes: # fontsize width(pixels) height(pixels) set font_fixed_metrics {
The width of the sizes 8 and 10 are OK now, but 10 is now one pixel taller on Linux compared to Windows. Size 12 didn't change at all. It is still wider and one pixel taller on Windows compared to Linux.
Roman