adg: allow floats in scale components
commit26fc203fc5436b6a29feaa46f842d6885618e69f
authorNicola Fontana <ntd@entidi.it>
Tue, 20 Mar 2018 20:27:11 +0000 (20 21:27 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 20 Mar 2018 20:27:11 +0000 (20 21:27 +0100)
treec7cb7f189afe6fff84ebb7ee69fe4331c8589274
parent23c762fe0621854156eb5aaf2fd28b743bb02ba4
adg: allow floats in scale components

Allow floating values as numerator or denominator in scale texts, e.g.
now "4.2:1", "2:3.2" and "1.2:3.4" are valid scales.
src/adg/adg-utils.c
src/adg/tests/test-pango-style [deleted file]
src/adg/tests/test-utils.c