foundrytools-cli 2.0.0__tar.gz → 2.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/PKG-INFO +15 -17
  2. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/README.md +14 -16
  3. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/pyproject.toml +3 -3
  4. foundrytools_cli-2.0.1/src/foundrytools_cli/__init__.py +3 -0
  5. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/utils/__init__.py +12 -10
  6. foundrytools_cli-2.0.0/src/foundrytools_cli/__init__.py +0 -3
  7. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/.gitignore +0 -0
  8. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/LICENSE +0 -0
  9. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/__main__.py +0 -0
  10. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/__init__.py +0 -0
  11. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/cff.py +0 -0
  12. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/cmap.py +0 -0
  13. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/converter/__init__.py +0 -0
  14. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/converter/cli.py +0 -0
  15. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/converter/ttf_to_otf.py +0 -0
  16. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/fix/__init__.py +0 -0
  17. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/fix/cli.py +0 -0
  18. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/fix/legacy_accents.py +0 -0
  19. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/fix/vertical_metrics.py +0 -0
  20. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/font.py +0 -0
  21. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/gsub.py +0 -0
  22. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/hhea.py +0 -0
  23. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/name.py +0 -0
  24. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/os_2.py +0 -0
  25. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/otf.py +0 -0
  26. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/post.py +0 -0
  27. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/print/__init__.py +0 -0
  28. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/print/cli.py +0 -0
  29. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/print/font_info.py +0 -0
  30. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/print/font_names.py +0 -0
  31. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/ttf.py +0 -0
  32. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/utils/__init__.py +0 -0
  33. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/utils/cli.py +0 -0
  34. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/utils/font_organizer.py +0 -0
  35. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/utils/font_renamer.py +0 -0
  36. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/commands/utils/sync_timestamps.py +0 -0
  37. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/utils/logger.py +0 -0
  38. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/utils/task_runner.py +0 -0
  39. {foundrytools_cli-2.0.0 → foundrytools_cli-2.0.1}/src/foundrytools_cli/utils/timer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: foundrytools-cli
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: A set of command line tools to inspect, manipulate and convert font files
5
5
  Project-URL: Homepage, https://github.com/ftCLI/FoundryTools-CLI
6
6
  Author-email: Cesare Gilento <ftcli@proton.me>
@@ -40,22 +40,20 @@ Description-Content-Type: text/markdown
40
40
 
41
41
  # FoundryTools-CLI
42
42
 
43
- FoundryTools-CLI is a command line interface for the FoundryTools library, which
44
- provides a set of tools for working with font files. It is designed to be used
45
- from the command line, allowing users to perform various operations on font
46
- files without the need for a graphical user interface.
47
-
48
- The CLI provides a range of commands for manipulating font files, including
49
- converting between different font formats, extracting and modifying font
50
- metadata, and performing various font-related operations. It is built on top of
51
- the FoundryTools library, which provides a comprehensive set of tools for
52
- working with font files in Python.
53
-
54
- The CLI is designed to be easy to use and provides a consistent interface for
55
- working with different font formats. It is suitable for both developers and
56
- font designers who need to perform various operations on font files from the
57
- command line. The CLI is also extensible, allowing users to add their own
58
- commands and functionality as needed.
43
+ FoundryTools-CLI is a command line interface for the
44
+ [FoundryTools](https://github.com/ftCLI/FoundryTools) library, which provides a set of tools for
45
+ working with font files. It is designed to be used from the command line, allowing users to perform
46
+ various operations on font files without the need for a graphical user interface.
47
+
48
+ The CLI provides a range of commands for manipulating font files, including converting between
49
+ different font formats, extracting and modifying font metadata, and performing various font-related
50
+ operations. It is built on top of the FoundryTools library, which provides a comprehensive set of
51
+ tools for working with font files in Python.
52
+
53
+ The CLI is designed to be easy to use and provides a consistent interface for working with different
54
+ font formats. It is suitable for both developers and font designers who need to perform various
55
+ operations on font files from the command line. The CLI is also extensible, allowing users to add
56
+ their own commands and functionality as needed.
59
57
 
60
58
  ![image](https://github.com/user-attachments/assets/f1389440-8b94-463f-b9c8-29c0c37dfced)
61
59
 
@@ -1,21 +1,19 @@
1
1
  # FoundryTools-CLI
2
2
 
3
- FoundryTools-CLI is a command line interface for the FoundryTools library, which
4
- provides a set of tools for working with font files. It is designed to be used
5
- from the command line, allowing users to perform various operations on font
6
- files without the need for a graphical user interface.
7
-
8
- The CLI provides a range of commands for manipulating font files, including
9
- converting between different font formats, extracting and modifying font
10
- metadata, and performing various font-related operations. It is built on top of
11
- the FoundryTools library, which provides a comprehensive set of tools for
12
- working with font files in Python.
13
-
14
- The CLI is designed to be easy to use and provides a consistent interface for
15
- working with different font formats. It is suitable for both developers and
16
- font designers who need to perform various operations on font files from the
17
- command line. The CLI is also extensible, allowing users to add their own
18
- commands and functionality as needed.
3
+ FoundryTools-CLI is a command line interface for the
4
+ [FoundryTools](https://github.com/ftCLI/FoundryTools) library, which provides a set of tools for
5
+ working with font files. It is designed to be used from the command line, allowing users to perform
6
+ various operations on font files without the need for a graphical user interface.
7
+
8
+ The CLI provides a range of commands for manipulating font files, including converting between
9
+ different font formats, extracting and modifying font metadata, and performing various font-related
10
+ operations. It is built on top of the FoundryTools library, which provides a comprehensive set of
11
+ tools for working with font files in Python.
12
+
13
+ The CLI is designed to be easy to use and provides a consistent interface for working with different
14
+ font formats. It is suitable for both developers and font designers who need to perform various
15
+ operations on font files from the command line. The CLI is also extensible, allowing users to add
16
+ their own commands and functionality as needed.
19
17
 
20
18
  ![image](https://github.com/user-attachments/assets/f1389440-8b94-463f-b9c8-29c0c37dfced)
21
19
 
@@ -71,8 +71,8 @@ exclude = [
71
71
  ]
72
72
 
73
73
  [tool.bumpversion]
74
- current_version = "2.0.0"
75
- commit = false
74
+ current_version = "2.0.1"
75
+ commit = true
76
76
  tag = true
77
77
 
78
78
  [[tool.bumpversion.files]]
@@ -83,4 +83,4 @@ replace = '__version__ = "{new_version}"'
83
83
  [[tool.bumpversion.files]]
84
84
  filename = "docs/source/conf.py"
85
85
  search = 'release = "{current_version}"'
86
- replace = 'release = "{new_version}"'
86
+ replace = 'release = "{new_version}"'
@@ -0,0 +1,3 @@
1
+ VERSION = __version__ = "2.0.1"
2
+
3
+ __all__ = ["VERSION"]
@@ -54,26 +54,28 @@ class BaseCommand(click.Command):
54
54
  """,
55
55
  ),
56
56
  click.Option(
57
- ["-no-rbb", "--no-recalc-bboxes", "recalc_bboxes"],
57
+ ["-rbb", "--recalc-bboxes", "recalc_bboxes"],
58
58
  is_flag=True,
59
- default=True,
59
+ default=False,
60
60
  help="""
61
- Do not recalculate the font's bounding boxes on save.
61
+ Recalculate the font's bounding boxes on save.
62
62
 
63
63
  By default, ``glyf``, ``CFF ``, ``head`` bounding box values and ``hhea``/``vhea``
64
- min/max values are recalculated on save. Also, the glyphs are compiled on importing,
65
- which saves memory consumption and time.
64
+ min/max values are not recalculated on save.
65
+
66
+ When this option is active, the glyphs are compiled on importing, which saves memory
67
+ consumption and time.
66
68
  """,
67
69
  ),
68
70
  click.Option(
69
- ["-no-rtb", "--no-reorder-tables", "reorder_tables"],
71
+ ["-rtb", "--reorder-tables", "reorder_tables"],
70
72
  is_flag=True,
71
- default=True,
73
+ default=False,
72
74
  help="""
73
- Do not reorder the font's tables on save.
75
+ Reorder the font's tables on save.
74
76
 
75
- By default, tables are sorted by tag on save (recommended by the OpenType
76
- specification).
77
+ When this option is active, tables are sorted by tag on save (recommended by the
78
+ OpenType specification).
77
79
  """,
78
80
  ),
79
81
  click.Option(
@@ -1,3 +0,0 @@
1
- VERSION = __version__ = "2.0.0"
2
-
3
- __all__ = ["VERSION"]