buffer overrun errors
resource leak
Merge pull request #1047 from JoesCat/master

leaks, buffer overrun
buffer overrun errors
resource leak
Update Ukrainian translation
Merge branch 'master' of https://github.com/fontforge/fontforge
Merge pull request #1048 from yurchor/master

Update Ukrainian translation
Fixed bSmallCaps() to use position_maps and actually work.

The SmallCaps() native scripting function as implemented was entirely
worthless except for transforming any glyph it was given into a
tangled mess at the baseline.  This was due to the fact that it did
not populate a complete genericchange structure with position maps and
a smallcaps structure.

This change enables minimal useful operation of SmallCaps() using the
same values as appear by default in the small caps dialog box in the UI.
Allow bSmallCaps() to take a scale argument.
First get SmallCaps constants, then override.
Added 2nd parameter to SmallCaps for the hscale.