Clone in a terminal:
Commit 1e65e07
Johan Mattsson - 2017-01-02T13:04:33+00:00
1e65e0776852b38719662e59bbf4127a377252c2johan.mattsson.m@gmail.com

Fix row height in kerning tab

Changed files (1)

Diff

diff --git a/libbirdfont/KerningDisplay.vala b/libbirdfont/KerningDisplay.valaindex d0a6e6a..89c0f87 100644--- a/libbirdfont/KerningDisplay.vala+++ b/libbirdfont/KerningDisplay.vala@@ -156,7 +156,7 @@ public class KerningDisplay : FontDisplay { 		row_height = get_row_height (); 	 		alpha = 1;-		y = get_row_height () + font.base_line + 20;+		y = get_row_height () - font.base_line + 20; 		x = 20; 		w = 0; 		prev = null;@@ -292,7 +292,7 @@ public class KerningDisplay : FontDisplay { 			// draw caret 			if (first_row) { 				x2 = x;-				caret_y = get_row_height () + font.base_line + 20;+				caret_y = get_row_height () - font.base_line + 20; 				cr.save (); 				cr.set_line_width (1.0 / KerningTools.font_size); 				Theme.color_opacity (cr, "Foreground 1", 0.5);

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112