gero3 / facetype.js

typeface.js generator
http://gero3.github.io/facetype.js/
MIT License
653 stars 120 forks source link

Invalid icon conversion "coffee" from Material Design #21

Open MaksSlesarenko opened 5 years ago

MaksSlesarenko commented 5 years ago

When converting material design font, we have noticed that icon "F176" coffee cup is not converted correctly. But at the same time "F177" coffee with arrow is displayed fine

Got: "m 117 0 l 1158 0 l 1158 117 l 117 117 l 117 0 m 1158 751 l 1042 751 l 1042 925 l 1158 925 l 1158 751 m 1158 1042 l 231 1042 l 231 464 q 298 298 233 363 q 464 231 363 233 l 811 231 q 974 298 909 233 q 1042 464 1039 363 l 1042 637 l 1158 637 q 1240 670 1207 637 q 1272 751 1272 703 l 1272 925 q 1240 1009 1272 977 q 1158 1042 1207 1042 z "

Should be: "m 117 0 l 117 117 l 1158 117 l 1158 0 l 117 0 m 985 751 l 985 925 l 868 925 l 868 751 l 985 751 m 985 1042 q 1066 1008 1034 1042 q 1099 925 1099 974 l 1099 751 q 1066 670 1099 703 q 985 637 1034 637 l 868 637 l 868 578 q 800 415 865 480 q 637 347 735 350 l 404 347 q 241 415 307 350 q 174 578 176 480 l 174 1042 l 985 1042 z "