Repository navigation
Import brush tips and packs with pressure opacity and pen tilt - #157
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brush presets can now embed imported bitmap masks and be shared as portable packs. The Preset panel imports PNG/JPEG/WebP/TIFF tips, GIMP GBR brushes, sampled Photoshop ABR packs, and
.schist-brushesJSON packs, and exports all saved recipes. Imports preserve existing presets, rename duplicate names, and apply only after the updated library is saved.Validation (separate native and wasm target directories, excluding other worktrees’ workspace artifacts):
make test-richer-brushes: 66 passing tests across import/persistence, plugin API, paint engine, brush workflows and retouch regressions. Includes ABR raw/PackBits versions and exhaustive truncation, malformed/bounded imports, portable pack persistence, duplicate naming, pressure coverage/undo, rectangular masks, tilt and canvas rotation, event batching, selection, pencil and eraser.make check-brush-workflows: native editor and all targets compile.make check-richer-brushes-web: wasm editor and actual DOM pen input path compile.make check-i18n: Rust catalog tests, all 150 shipped catalogs/font coverage, locale aliases and web loader tests pass.make lint-richer-brushes: strict Clippy (-D warnings) passes for every changed crate and all targets.cargo fmt --all --checkandgit diff --check: clean.Checks used
CARGO_BUILD_JOBS=2, dev/test debug information disabled and incremental compilation disabled. Only the existingproc-macro-error2future-compatibility notice remains. ABR compatibility is verified with synthetic fixtures, not every third-party exporter; physical tablet smoke testing remains outstanding.