| Age | Commit message (Collapse) | Author |
|
* edit json: allow 0 values for horiz_adv_x_default and enable None for using the glyph width
* enable None value in generate json too
|
|
|
|
|
|
|
|
|
|
|
|
starting point for the conversion, not necessarily the resulting column
|
|
* fix manually clicking pencil icon
* update choices when loading presets
* ignore hidden and disabled params when applying and creating presets
* mark selection param changed when a dependent param is changed
* don't immediately apply when clicking 'Use Last Settings'
* define on_change_hook in __init__
* make adding, updating, and deleting presets clearer
* only skip satin param for strokes thinner than 0.3mm when they have only one subpath
|
|
|
|
|
|
|
|
* remove unuseful param from the dialog
number of imported glyphs is not useful for font maker, they want all of them.
* Update lettering_svg_font_to_layers.xml
|
|
rename lettering_fill_composed_glyphs lettering_organize_glyphs
|
|
* avoid crash on tiny satin
* cleanup small satins too
* fix #3933
---------
Co-authored-by: Kaalleen <reni@allenka.de>
|
|
* remove unused flatten_subpath()
* there will always be two rails here
* handle degenerate zero-length sections
* remove unused SatinColumn.merge()
* mark merge() as private and adjust docstring
|
|
* fix type checking error in overriding path propery
* fix type hints in sew stack
* enable type checking for tartan
* ignore type warnings for dynamic wx module attributes
* fix tartan type errors
* fix circular import
* add type-check and test targets
* use Optional instead
|
|
|
|
|
|
|
|
* style
* param presets: to not overwrite on add when name exists
|
|
* Update lettering_svg_font_to_layers.py
when we get a glyph from the Private Unicode Area, the entry point has no meaning, but hopefully we can get some good information from the glyph_name
* Update font_info.py
kerning information must be associated to the right nanme glyph layer in case of PUA letters
* remove commented code
|
|
... and remove it as a submodule (use pip to install)
|
|
* satin: do not fail on invalid path in first stitch method
* fix validation errors too
|
|
* allow locks on last element of each group
* a layer is not a group
* Update lettering_force_lock_stitches.py
|
|
|
|
* combining glyphs are guessed
* attribute letter seems ok now
* Update option_panel.py
should not have been modified
* second round
* step3
* add sorting whole file by categories
* style
* Update tags.py
remove an unuseful tag
* fixing mistakes pointed out by Kaaleen
thank you Kaalleen
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|