Skip to content

Commit f5dded6

Browse files
committed
[contours] refactor cyan ANSI color function name
1 parent ccc5df1 commit f5dded6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/pathins/contours.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from fontTools.ttLib.tables._g_l_y_f import Glyph # type: ignore
55

66
from .bridge import skia_path_to_ttfont_glyph, ttfont_glyph_to_skia_path
7-
from .stringbuilder import cyan_bold_text
7+
from .stringbuilder import cyan_bright_text
88
from .validators import validate_fontpath, validate_glyph_in_font
99

1010

@@ -32,7 +32,7 @@ def contours_run(args: argparse.Namespace) -> None:
3232

3333
glyph = glyf_table[glyphname]
3434
print(
35-
f"[ {cyan_bold_text(glyphname, nocolor=args.nocolor)} ]: "
35+
f"[ {cyan_bright_text(glyphname, nocolor=args.nocolor)} ]: "
3636
f"{number_of_contours(glyphname, glyph, tt)}"
3737
)
3838
else:
@@ -41,7 +41,7 @@ def contours_run(args: argparse.Namespace) -> None:
4141
glyph = glyf_table[local_glyphname]
4242

4343
print(
44-
f"[ {cyan_bold_text(local_glyphname, nocolor=args.nocolor)} ]: "
44+
f"[ {cyan_bright_text(local_glyphname, nocolor=args.nocolor)} ]: "
4545
f"{number_of_contours(local_glyphname, glyph, tt)}"
4646
)
4747

0 commit comments

Comments
 (0)