You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also allow visualizing each glyph as it's created, though there's no
code for pausing long enough to see the glyphs. The focus is producing
the TTF quickly, not producing pretty pictures.
# (new_glyph was created with font.createChar(orig_glyph.encoding)
642
652
new_glyph.glyphname=orig_glyph.glyphname
643
-
dots=extract_dots(orig_glyph, False) # TODO: Refactor extract_dots to remove drawing code or make it optional
653
+
dots=extract_dots(orig_glyph, args.visualize) # TODO: Refactor extract_dots to remove drawing code or make it optional
644
654
fordotindots:
645
655
contour=circle_at(dot, size=args.radius)
646
656
new_glyph.foreground+=contour
@@ -708,11 +718,7 @@ def parse_args():
708
718
parser.add_argument('-r', '--radius', action="store", type=float, default=15, help="Radius of dots, in em units (default 15)")
709
719
parser.add_argument('-s', '--spacing', action="store", type=float, default=6.0, help="Spacing of dots, as a multiple of dot radius (default 6.0 for 600%%)")
0 commit comments