The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Faster rendering of fallback fonts in the overview tab

Changes made to libbirdfont/Renderer/Text.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/Renderer/Text.vala +++ libbirdfont/Renderer/Text.vala @@ -260,7 +260,7 @@ double h; glyph.boundaries (out x1, out y1, out x2, out y2); h = Math.fmax (y1, y2) - Math.fmin (y1, y2); - h *= get_scale(glyph) - glyph.baseline * get_scale(glyph); + h *= get_scale (glyph) - glyph.baseline * get_scale (glyph); if (h > max_height) { max_height = h; }