Refactors encodeFloat, font matrix and flex args

<del>Looks like BlueScale needs by be scaled by 1000 (according to freetype code) -- incorrectness (?) found by #2493 in FreeBSD</del>

Refactoring of flex code is done to avoid any float numbers in charstring