ttf2hershey
ttf2hershey copied to clipboard
Encoding other than (PlatformID = 0, Format = 4) is not yet supported
The function CompileCmap
in truetype.py
has a warning:
warnings.warn("Unimplemented: Encoding other than (PlatformID = 0, Format = 4) is not yet supported", Warning)
This limits the ttf files that can be transformed to vector fonts. Many other ttf files have different values, such as PlatformID = 1, Format = 0
Could you adapt your code so it can handle also these kind of font files?