The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Fix row height in kerning tab

These changes was commited to the Birdfont repository Mon, 02 Jan 2017 13:04:33 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 02 Jan 2017 13:04:33 +0000 (14:04 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 02 Jan 2017 13:04:33 +0000 (14:04 +0100)
commit 1e65e0776852b38719662e59bbf4127a377252c2
tree 9c3c1a78ed0fb770d632f6b499f948033409227e
parent 211190fbd18ae8d6553d2c494dbcb9599cf7fe78
Fix row height in kerning tab

libbirdfont/KerningDisplay.vala
--- a/libbirdfont/KerningDisplay.vala +++ b/libbirdfont/KerningDisplay.vala @@ -156,7 +156,7 @@ 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 @@ // 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);