If I set the font on a 2D canvas using something like:
ctx.font = "100 10pt "Helvetica Neue""
Then the weight part of the string is mis-interpreted as 100pt, and the facename is ignored. See the code on line 179 of EJBindingCanvasContext2D.m
Adding support for this will also require that the weight is incorporated into the font's hash (calculated on line 19 of EJFont.mm) too.
If I set the font on a 2D canvas using something like:
ctx.font = "100 10pt "Helvetica Neue""
Then the weight part of the string is mis-interpreted as 100pt, and the facename is ignored. See the code on line 179 of EJBindingCanvasContext2D.m
Adding support for this will also require that the weight is incorporated into the font's hash (calculated on line 19 of EJFont.mm) too.