Clone in a terminal:
Commit ba3a189
Johan Mattsson - 2015-04-19T18:03:37+00:00
ba3a189fc91387162e6171ed06b6125dfe89eba5johan.mattsson.m@gmail.com

Fix kerning handle

Changed files (1)

Diff

diff --git a/libbirdfont/KerningDisplay.vala b/libbirdfont/KerningDisplay.valaindex 16d92d0..370033e 100644--- a/libbirdfont/KerningDisplay.vala+++ b/libbirdfont/KerningDisplay.vala@@ -739,8 +739,6 @@ public class KerningDisplay : FontDisplay { 	 	public void set_active_handle (double ex, double ey) { 		double item_size = 1.0 / KerningTools.font_size;-		double y = 100 * item_size;-		double x = 20; 		double w = 0; 		double d, kern; 		double min = double.MAX;@@ -750,7 +748,9 @@ public class KerningDisplay : FontDisplay { 		double fs = KerningTools.font_size; 		Glyph glyph = new Glyph.no_lines (""); 		Font font = BirdFont.get_current_font ();-		+		double y = font.get_height () * item_size;+		double x = 20;+				 		GlyphRange? gr_left, gr_right; 		 		Glyph? prev = null;

Contact

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