foundrytools-cli 1.1.7__tar.gz → 1.1.9__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.
- {foundrytools-cli-1.1.7/foundrytools_cli.egg-info → foundrytools-cli-1.1.9}/PKG-INFO +1 -1
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_post.py +2 -1
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/ttf_to_otf.py +2 -0
- foundrytools-cli-1.1.9/foundryToolsCLI/__init__.py +3 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9/foundrytools_cli.egg-info}/PKG-INFO +1 -1
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/setup.py +1 -1
- foundrytools-cli-1.1.7/foundryToolsCLI/__init__.py +0 -3
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/LICENSE +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/MANIFEST.in +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/README.md +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/__init__.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_assistant.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_cff.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_converter.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_fix.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_hhea.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_metrics.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_name.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_os2.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_otf.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_print.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_ttf.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/CLI/ftcli_utils.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/Font.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/VFont.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/__init__.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/assistant/UI.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/assistant/__init__.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/assistant/fonts_data.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/assistant/styles_mapping.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/constants.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/__init__.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/options.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/otf_to_ttf.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/sfnt_to_web.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/ttc_to_sfnt.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/variable_to_static.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/web_to_sfnt.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/printer/UI.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/printer/__init__.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/tables/CFF_.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/tables/OS_2.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/tables/__init__.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/tables/head.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/tables/hhea.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/tables/name.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/tables/post.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/__init__.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/bits_tools.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/cli_tools.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/click_tools.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/logger.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/otf_tools.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/ps_recalc_stems.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/ps_recalc_zones.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/skia_tools.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/text_tools.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/timer.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/ttf_tools.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/__main__.py +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundrytools_cli.egg-info/SOURCES.txt +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundrytools_cli.egg-info/dependency_links.txt +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundrytools_cli.egg-info/entry_points.txt +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundrytools_cli.egg-info/not-zip-safe +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundrytools_cli.egg-info/requires.txt +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundrytools_cli.egg-info/top_level.txt +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/requirements.txt +0 -0
- {foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/setup.cfg +0 -0
|
@@ -35,6 +35,7 @@ from foundryToolsCLI.Lib.utils.timer import Timer
|
|
|
35
35
|
)
|
|
36
36
|
@click.option(
|
|
37
37
|
"--fixed-pitch/--no-fixed-pitch",
|
|
38
|
+
is_flag=True,
|
|
38
39
|
default=None,
|
|
39
40
|
help="""Sets or clears the `isFixedPitch` value.""",
|
|
40
41
|
)
|
|
@@ -54,7 +55,7 @@ def cli(
|
|
|
54
55
|
):
|
|
55
56
|
"""A command line tool to manipulate the 'post' table."""
|
|
56
57
|
|
|
57
|
-
if not any([italic_angle, ul_position, ul_thickness, fixed_pitch]):
|
|
58
|
+
if not any([italic_angle, ul_position, ul_thickness, fixed_pitch]) is not None:
|
|
58
59
|
logger.error(Logs.no_parameter)
|
|
59
60
|
return
|
|
60
61
|
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/ttf_to_otf.py
RENAMED
|
@@ -86,6 +86,8 @@ class TTF2OTFRunner(object):
|
|
|
86
86
|
cff_font.save(output_file)
|
|
87
87
|
cff_font = Font(output_file, recalcTimestamp=False)
|
|
88
88
|
cff_font.otf_fix_contours(min_area=25, verbose=False)
|
|
89
|
+
cff_font.recalc_avg_char_width()
|
|
90
|
+
cff_font.recalc_max_context()
|
|
89
91
|
|
|
90
92
|
if self.options.subroutinize:
|
|
91
93
|
cff_font.otf_subroutinize()
|
|
@@ -18,7 +18,7 @@ def _get_requirements():
|
|
|
18
18
|
|
|
19
19
|
setuptools.setup(
|
|
20
20
|
name="foundrytools-cli",
|
|
21
|
-
version="1.1.
|
|
21
|
+
version="1.1.9",
|
|
22
22
|
description="A set of command line tools to inspect, manipulate and convert font files",
|
|
23
23
|
long_description=long_description,
|
|
24
24
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/assistant/fonts_data.py
RENAMED
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/assistant/styles_mapping.py
RENAMED
|
File without changes
|
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/otf_to_ttf.py
RENAMED
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/sfnt_to_web.py
RENAMED
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/ttc_to_sfnt.py
RENAMED
|
File without changes
|
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/converters/web_to_sfnt.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/ps_recalc_stems.py
RENAMED
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundryToolsCLI/Lib/utils/ps_recalc_zones.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundrytools_cli.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{foundrytools-cli-1.1.7 → foundrytools-cli-1.1.9}/foundrytools_cli.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|