bitmap2ttf icon indicating copy to clipboard operation
bitmap2ttf copied to clipboard

Fix FontForge script generation on Windows

Open Rirush opened this issue 3 years ago • 0 comments

On Windows, the script contains paths that look like this:

Import("a\b\c", 0)

FontForge interprets this path as abc instead of a/b/c. This patch escapes backslashes on Windows, generating paths like this:

Import("a\\b\\c", 0)

These paths are correctly treated as a/b/c, making this work on Windows.

Rirush avatar Jan 23 '23 19:01 Rirush