An improvement to #23 that allows overwriting any arbitrary font object data, for example the usWeightClass, as demonstrated in /examples/simple/main.js
This refactor still relies on only a dumb object passed in, so no closer to the API level solution you suggested, but somewhat more flexible in the meantime.
An improvement to #23 that allows overwriting any arbitrary font object data, for example the usWeightClass, as demonstrated in /examples/simple/main.js
This refactor still relies on only a dumb object passed in, so no closer to the API level solution you suggested, but somewhat more flexible in the meantime.