| Age | Commit message (Collapse) | Author |
|
Fixes the following error when executing the tests during a Nix build:
Traceback (most recent call last):
File "/build/inkstitch/lib/elements/element.py", line 714, in handle_unexpected_exceptions
yield
File "/build/inkstitch/lib/elements/element.py", line 650, in embroider
stitch_groups = self._load_cached_stitch_groups(previous_stitch, next_element)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/inkstitch/lib/debug/debug.py", line 172, in decorated
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/build/inkstitch/lib/elements/element.py", line 541, in _load_cached_stitch_groups
stitch_groups = get_stitch_plan_cache().get(cache_key)
^^^^^^^^^^^^^^^^^^^^^^^
File "/build/inkstitch/lib/utils/cache.py", line 31, in get_stitch_plan_cache
cache_dir = get_user_dir('cache')
^^^^^^^^^^^^^^^^^^^^^
File "/build/inkstitch/lib/utils/paths.py", line 50, in get_user_dir
os.makedirs(path)
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 225, in makedirs
PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
|
|
Fixes the following error when attempting to build the Nix package:
python bin/generate-inx-files;
Traceback (most recent call last):
File "/build/inkstitch/bin/generate-inx-files", line 59, in <module>
from lib.inx.generate import generate_inx_files
File "/build/inkstitch/lib/inx/generate.py", line 6, in <module>
from .extensions import generate_extension_inx_files
File "/build/inkstitch/lib/inx/extensions.py", line 10, in <module>
from ..commands import (COMMANDS, GLOBAL_COMMANDS, LAYER_COMMANDS,
File "/build/inkstitch/lib/commands.py", line 16, in <module>
from .i18n import N_, _
File "/build/inkstitch/lib/i18n.py", line 10, in <module>
from .utils import cache, get_resource_dir
File "/build/inkstitch/lib/utils/__init__.py", line 6, in <module>
from . import cache as cache_module # Slight hack to allow cache to be imported for monkeypatching
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/inkstitch/lib/utils/cache.py", line 13, in <module>
from lib.utils.settings import global_settings
File "/build/inkstitch/lib/utils/settings.py", line 84, in <module>
global_settings = GlobalSettings()
^^^^^^^^^^^^^^^^
File "/build/inkstitch/lib/utils/settings.py", line 48, in __init__
self.__settings_file = os.path.join(get_user_dir(), "settings.json")
^^^^^^^^^^^^^^
File "/build/inkstitch/lib/utils/paths.py", line 50, in get_user_dir
os.makedirs(path)
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 225, in makedirs
PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
|
|
This introduces a new workflow that just runs the tests
on pull requests and pushes and takes ~1min30s in the GitHub CI.
The previous build workflow didn't run on PRs and takes an hour.
|
|
|
|
* switch from NFKC to NFC
* Additional normalization.
---------
Co-authored-by: CapellanCitizen <>
|
|
While the trims default was changed in pyembroidery back in 2019
with c4242f0f940c86766c0c27f65b5a09641b0af4bd that change only
made it into the used Ink/Stitch fork of pyembroidery in 2022
with 28534cf1a8d692687d9f40c3be622e0945b5a2ee.
So trims have been broken in Ink/Stitch since v2.2.0.
Fixes #2813.
|
|
|
|
|
|
* firststeps
* Update element_info.py
* Update element_info.py
* Update element_info.py
add some help
* make style...
* rename a variable and fix a mistake
* make headline nicer
|
|
* first steps
* Update lettering_svg_font_to_layers.py
* add more user parameters
* Update lettering_svg_font_to_layers.py
* round the horiz_adv_x
* remove scoriers
* better handle the case when the reference glyph is not in the font
|
|
|
|
* add euphoria script,renamed as allegria
* Update →.svg
add some ending position to avoid ties at satin's tip.
|
|
modify some kerning values
|
|
|
|
|
|
|
|
|
|
* reöove ss glyph
* Update →.svg
* also update json
|
|
* removed strip flag from linux pyinstaller that caused numpy import issue
* test numpy binary with strip flag
* added clean flag to pyinstaller args
* done testing removed strip flag from pyinstaller args
---------
Co-authored-by: rejbasket <rejbasket@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* select embroidery elements: disable live preview
* add to help text: run multiple times
|
|
* smoothing: ensure start and end of original path
* clamp path: never intersecting path could also be entirely in the exterior of the shape
|
|
|
|
* ensure that also satins have no fill
|
|
|
|
|
|
Co-authored-by: rejbasket <rejbasket@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* add & when missing in the embroidery font but existing in the original font
garamond
auberge marif & auberge marif small
cooper marif
deja vu forward and backward
inkstitch small and medium
kaushan script
millimarif
nickainley
ondulamarif medium small and xl
shojumaru
* small correction
|