mirror of
https://github.com/mapbox/node-fontnik.git
synced 2025-12-08 20:16:18 +00:00
ft_face->style_name is optional in the TTF spec, we should properly handle the null value case. This adds a font with a null style_name property, an alternate constructor for FaceMetadata, and a test case to confirm style_name is only added to the JavaScript face if the string is not empty.