Skip to content

Batch is not generating SVG #54

@ryanbugden

Description

@ryanbugden

Batch isn’t generating SVG fonts on my end. Webfont report doesn’t indicate any error though. Current workaround is converting OTFs:

from mojo.compile import otf2svg

paths = [insert fonts here]

for path in paths:
    otf2svg(path, path.replace("otf", "svg"))

The report output is something like this:

Web Fonts:

Test_Test_v1-Regular.ufo
---------------------------
source: /path/Test_Test_v1-Regular.ufo

Build SVG
'''''''''
    path: /path/Test_Test_v1-Regular.svg

TTFAutohint options:
********************
addTTFAutoHintInfo     = False
dwClearType            = False
fallbackScript         = False
gdiClearType           = True
grayScale              = False
hintRangeMaximum       = 50
hintRangeMinimum       = 8
hintingLimit           = 200
noHintingLimit         = False
noXHeightIncreaseLimit = False
overRideFontLicense    = False
preHinting             = False
symbolFont             = False
xHeightIncreaseLimit   = 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions