photopea / Typr.js

Typr.js - process fonts in Javascript
MIT License
914 stars 73 forks source link

Added cleanString function to remove characters (from a given string)… #29

Closed FFRock96 closed 8 months ago

FFRock96 commented 5 years ago

Hi,

Since I found no solution to remove from a string characters that are not supported by a specific font (not included in the font table), I decided to add this function that simply uses the stringToGlyphs function to know if a character has a correspondent glyph representation.