| Age | Commit message (Collapse) | Author |
|
|
|
* fix issue with bad color names and define element colors at one place and reuse
* fix bad tartan color
* verify color in gradient block
* add thread color tests
* use default color behavior for elements linked to non-existing definitions (gradients)
* Added mypy change for tests (authored by: CapellanCitizen)
|
|
* do not redefine underscore
* Disallow any redefinitions going forward
---------
Co-authored-by: CapellanCitizen <>
|
|
|
|
* remove normalization in glyph filter
remove glyph normalization gui/lettering/main_panel, as it breaks the glyph filtering
remove some spelling mistake in the comments, correct some comment
if a glyph from the svg font file is a non chasing mark (like combining accent, or cedilla) the inkscape label of the corresponding glyph group created by lettering_font_sample was empty or unreadable, make it visible . Same in the line label.
and although it is not related
correct one glyph in malika font
* correct warning in lettering_font_sample
do the warnings correctly when there is somethng wrong with the glyph list in the font.json gile
* Update lettering_font_sample.py
fix a typo
|
|
|
|
Revert "add icc color workaround (#3687)" and use 1.4.x inkex
|
|
Fix package build with Nix package manager
|
|
|
|
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 commit reverts 4cfb02c370e2f09d59658f652c4b15bd41d46d6e
which did not fix anything as far as I can tell.
The inkex.Color constructor has been doing the same split
logic since 2018 and the used ColorCMS class isn't available
in the inkex that's bundled with Inkscape which breaks
packaging for Linux distros such as NixOS.
To prevent such breakages from being introduce accidentally
in the future the pinned inkex version is changed to the git tagged
version EXTENSIONS_AT_INKSCAPE_1.4.1.
Fixes #3824.
|
|
* 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
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* manual stitch: apply clipping
* add clip to cache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* lettering along path: fix multipart glyphs and rtl
* improve handling of multiline text
|
|
|
|
|
|
|
|
|
|
(#3702)
|
|
|
|
|
|
(#3694)
|
|
|
|
|
|
* twist monicha
* Update lettering_font_sample.py
* better use default value
* and leave Monicha alone in this branch
* ensure command and marker symbols
---------
Co-authored-by: Kaalleen <reni@allenka.de>
|
|
|
|
|