25. April 2026

Random Rotate

mekkablue • objc rewrite (no Python install necessary) commit 59b0e2671b0eb51793a58a20bde84b9048f3de4b Author: mekkablue <rainer@schriftlabor.at> Date: Mon Mar 30 15:01:11 2026 +0200 Rotate from center commit bb225d3f1bf3ee6cd7ea29d041b2a33123b14224 Author: mekkablue <rainer@schriftlabor.at> Date: Mon Mar 30 10:35:59 2026 +0200 gitignore for Xcode/objc commit aedba85cd981adeea1883eb52ef7db88c74ac42e Author: mekkablue <rainer@schriftlabor.at> Date: Mon Mar 30 09:28:37 2026 +0200 First working objc version commit d04238f68ee4cc1387bda32d937a0afacf592184 Author: Claude <noreply@anthropic.com> Date: Mon Mar 30 06:25:06 2026 +0000 Restructure: move Python plugin to python/, add ObjC Xcode project in objc/ - Moves RandomRotate.glyphsFilter → python/RandomRotate.glyphsFilter to preserve the existing Python plugin. - Adds objc/RandomRotate.xcodeproj (Xcode 16 bundle target) that builds RandomRotate.glyphsFilter directly into the repo root (CONFIGURATION_BUILD_DIR = $(SRCROOT)/..), mirroring the layout used by Risorizer, CutAndShake and PixelSlanter. - ObjC source files: RandomRotate.h/.m implementing GSFilterPlugin with ARC, -undefined dynamic_lookup linker flag, and FRAMEWORK_SEARCH_PATHS pointing at /Applications/Glyphs 3.app/Contents/Frameworks. - IBdialog.xib carries over the same "Max Angle" dialog from the Python version. - Post-build shell phase auto-installs the bundle into ~/Library/Application Support/Glyphs 3/Plugins after each build. https://claude.ai/code/session_01LyxSKe9GTbBDNBkFZCWGNX

24. April 2026

Cut and Shake

Claude • Remove becomeFirstResponder to eliminate focus-ring size illusion The macOS focus ring draws a blue glow 3-4 pt outside the first responder's frame, making it appear larger than the unfocused fields. Combined with "Number of Cuts" text nearly filling its 100 pt label column (leaving only the standard 8 pt gap before the field), the focused field looked visually larger even though all three frames are identical. Removing the call lets all three fields render with equal visual weight on open. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh

Cut and Shake

mekkablue • Improved wording, fixed custom parameter commit b836a6bbd47580a7089293cf64f7607b4f11235d Author: mekkablue <rainer@schriftlabor.at> Date: Fri Apr 24 09:10:10 2026 +0200 Improved wording, fixed custom parameter commit de4db2772ebca935c19aea8d924054b8eda59ed4 Author: Claude <noreply@anthropic.com> Date: Fri Apr 24 05:57:29 2026 +0000 Fix export crash: layerForKey: → layerForId: (unrecognized selector) The forward-declared method was named layerForKey: but the actual GlyphsCore runtime method on GSGlyph is layerForId:. Calling the non-existent selector threw NSInvalidArgumentException during export, which Glyphs reported as "error with plugin Cut and Shake". Interactive use was unaffected because processFont:withArguments: (the only caller) is only invoked at export time. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh commit 905ec8b0c35c523357fab7103f8fa2165542084b Author: Claude <noreply@anthropic.com> Date: Fri Apr 24 05:52:18 2026 +0000 Fix unequal field widths by pinning all field leading edges to superview Labels with HHP=251 overrode the inter-sibling trailing-alignment constraints (c04/c05), causing MoveLabel/RotateLabel to use their shorter intrinsic widths and their fields to start further left than CutsField. Decouple fields from labels by pinning all three leading edges directly to RootView at x=128 (20 left-margin + 100 label-column + 8 gap), guaranteeing identical field positions and widths regardless of label content size. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh commit 251624f518b5ec3814d434d7f18c2b488cc69628 Author: Claude <noreply@anthropic.com> Date: Thu Apr 23 20:25:49 2026 +0000 Redesign filter dialog: longer labels, shorter fields, label tooltips - Labels renamed: "Cuts" → "Number of Cuts", "Move" → "Max Move", "Rotate" → "Max Rotation" for clarity. - Label column widened to 100 pt (was 44 pt) to accommodate the longest label; c19 constraint updated accordingly. - Input fields narrowed to 62 pt (was 151 pt) — comfortably fits 4–5 figures at macOS system font while the dialog shrinks to 210 pt (was 239 pt). - All six labels and fields now carry matching tooltips so hovering anywhere on a row shows the parameter description. - Added missing placeholderString="" to RotateField for consistency with CutsField and MoveField. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh commit 986a1bbe0d57698ed3eb90beadf73e318670988e Author: Claude <noreply@anthropic.com> Date: Thu Apr 23 20:16:43 2026 +0000 Fix build error: declare layerForKey: via category so compiler accepts it GSGlyph.h does not expose layerForKey: in the installed SDK headers, but the method exists at runtime. Added a local @interface category (same pattern already used for GlyphsToolOther cutPathsInLayer:) so the compiler accepts the call in processFont:withArguments:. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh commit 82c1712d7ab40430b612d36e8e5e414825433ac4 Author: Claude <noreply@anthropic.com> Date: Thu Apr 23 17:19:38 2026 +0000 Fix three ObjC filter issues: angled cuts, custom parameter layer iteration, equal field widths - randomCutLayer: now gives each cut endpoint an independently-random Y (or X) coordinate, producing diagonal cuts that match the Python version instead of always-orthogonal horizontal/vertical cuts. - processFont:withArguments: switches from `glyph.layers` fast enumeration to the SDK-template pattern (fontMasterAtIndex: + layerForKey:), which reliably reaches master layers during export and avoids issues with Glyphs' custom ordered-dictionary collection. - IBdialog.xib gains an explicit width=44 constraint on CutsLabel, pinning the label column to a fixed size so all three input fields resolve to the same width under Auto Layout on every macOS version. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh

Cut and Shake

Claude • Fix export crash: layerForKey: → layerForId: (unrecognized selector) The forward-declared method was named layerForKey: but the actual GlyphsCore runtime method on GSGlyph is layerForId:. Calling the non-existent selector threw NSInvalidArgumentException during export, which Glyphs reported as "error with plugin Cut and Shake". Interactive use was unaffected because processFont:withArguments: (the only caller) is only invoked at export time. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh

Cut and Shake

Claude • Fix unequal field widths by pinning all field leading edges to superview Labels with HHP=251 overrode the inter-sibling trailing-alignment constraints (c04/c05), causing MoveLabel/RotateLabel to use their shorter intrinsic widths and their fields to start further left than CutsField. Decouple fields from labels by pinning all three leading edges directly to RootView at x=128 (20 left-margin + 100 label-column + 8 gap), guaranteeing identical field positions and widths regardless of label content size. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh

23. April 2026

Cut and Shake

Claude • Redesign filter dialog: longer labels, shorter fields, label tooltips - Labels renamed: "Cuts" → "Number of Cuts", "Move" → "Max Move", "Rotate" → "Max Rotation" for clarity. - Label column widened to 100 pt (was 44 pt) to accommodate the longest label; c19 constraint updated accordingly. - Input fields narrowed to 62 pt (was 151 pt) — comfortably fits 4–5 figures at macOS system font while the dialog shrinks to 210 pt (was 239 pt). - All six labels and fields now carry matching tooltips so hovering anywhere on a row shows the parameter description. - Added missing placeholderString="" to RotateField for consistency with CutsField and MoveField. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh

Cut and Shake

Claude • Fix build error: declare layerForKey: via category so compiler accepts it GSGlyph.h does not expose layerForKey: in the installed SDK headers, but the method exists at runtime. Added a local @interface category (same pattern already used for GlyphsToolOther cutPathsInLayer:) so the compiler accepts the call in processFont:withArguments:. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh

Cut and Shake

Claude • Fix three ObjC filter issues: angled cuts, custom parameter layer iteration, equal field widths - randomCutLayer: now gives each cut endpoint an independently-random Y (or X) coordinate, producing diagonal cuts that match the Python version instead of always-orthogonal horizontal/vertical cuts. - processFont:withArguments: switches from `glyph.layers` fast enumeration to the SDK-template pattern (fontMasterAtIndex: + layerForKey:), which reliably reaches master layers during export and avoids issues with Glyphs' custom ordered-dictionary collection. - IBdialog.xib gains an explicit width=44 constraint on CutsLabel, pinning the label column to a fixed size so all three input fields resolve to the same width under Auto Layout on every macOS version. https://claude.ai/code/session_01MURxLMimAN2ueWJe4mAWAh

22. April 2026

21. April 2026

19. April 2026

18. April 2026

17. April 2026

16. April 2026

14. April 2026

Subtractor

mekkablue • Merge branch 'claude/add-masked-components-checkbox-1vXJQ'

Subtractor

Claude • Remove stale subtract components before placing a new masked component When the mask option is active in Edit view, any components on the layer whose glyph name equals or starts with the subtract-shapes prefix are stripped before the new component is added. This prevents duplicate subtract components from accumulating across repeated filter runs. The tooltip on the 'Add as Masked Components' checkbox now documents this behaviour. https://claude.ai/code/session_0111BBtHhcwvQuhN1hEWCeWS

Subtractor

mekkablue • Version 1.0.2: "Added non-destructive mask option for Edit view."

Subtractor

Claude • Apply centering/rotation/offset transforms to masked components When 'Add as Masked Components' is active, the same Center Bounding Boxes, Random Rotate, and Random Offset settings now apply to the placed GSComponent via a computed affine transform matrix. The matrix is derived by composing the three operations—centering translation, rotation around the (possibly shifted) bbox pivot, and random offset—into a single (m11,m12,m21,m22,tX,tY) tuple that produces an algebraically identical result to what subtractFromLayer applies to paths. A new buildComponentTransform() helper encapsulates the derivation. https://claude.ai/code/session_0111BBtHhcwvQuhN1hEWCeWS

13. April 2026

Subtractor

Claude • Add 'Add as Masked Components' checkbox (Edit view only) When checked, the filter skips the boolean subtraction and instead appends a GSComponent of the chosen subtract glyph to the layer with component.attributes['mask'] = 1. The option is stored as a user preference and exposed in the GUI dialog (new checkbox below 'Center Bounding Boxes'). It is intentionally excluded from generateCustomParameter so it has no effect on batch-export custom parameters. https://claude.ai/code/session_0111BBtHhcwvQuhN1hEWCeWS

11. April 2026

Hanzi IDS Component Explorer

Erikyin • feat: 加入筆畫數篩選功能(CNS11643 整合) (#10) * feat(#9): 加入筆畫數篩選功能 從 CNS11643-OpenData 的 CNS_stroke.txt 載入筆畫資料,編譯進 ids.pdata (新增 strokes 欄位),並在主視窗底部加入離散滑桿(±0/±1/±2/±3/±5/關閉) 讓使用者依與當前主字的筆畫差篩選右側相關字面板。 資料層 - IDSGenerator 新增 cns_properties_path 與 _load_stroke_data - _save_pdata 把 strokes 寫入紀錄;以 lstrip("0") 處理 BMP/非 BMP 不同 hex 寬度 - 覆蓋率約 76,983 字(74.8%),剩餘為超出 CNS 範圍的 Ext-G/H 罕字 核心 API - HanziCore._convert_format 保留 strokes 欄位(向後相容舊資料庫) - HanziCore.get_stroke_count / filter_by_strokes - 主字無資料時回退為全顯示,避免空白面板 UI - localization 新增 slider_stroke_label / slider_stroke_off / tooltip_stroke_filter - glyphs_ui showDerivedCheckbox 左移 56px,騰出空間給 vanilla.Slider - 滑桿狀態跨 session 持久化(settings strokeFilterTick) - 套用於 update_related_display 的 sister 與 derived 兩個迴圈 - 無筆畫資料的字僅在「關閉」時顯示 文件 - NOTICE 補上 CNS_stroke.txt 來源說明 - CHANGELOG 新增 1.0.3 區段 - README 中英版同步說明新功能與資料覆蓋率 測試 - tests/test_hanzi_core_strokes.py:15 測試(get_stroke_count + filter_by_strokes) - tests/test_ids_generator.py:新增 6 測試(stroke 載入 + 整合) - 全套 30 測試通過 closes #9 * feat(#9): 滑桿狀態加上常駐顯示 原本筆畫篩選滑桿的當前值只能透過 hover tooltip 看到,不直覺。 新增右側 inline TextBox 常駐顯示當前值(±0/±1/±2/±3/±5/OFF), slider 縮短 40px 騰出空間。 - 新增 _format_stroke_filter_value() helper 回傳簡短顯示字串 - 重新命名 _update_stroke_filter_tooltip → _refresh_stroke_filter_display 同時更新 tooltip 與 inline 文字 - on_stroke_filter_changed 改呼叫新 helper - tooltip 仍保留完整功能說明(hover 時顯示) * fix(#9): 滑桿狀態文字改靠左對齊貼緊滑桿 原本 alignment=right 讓短文字(中文「關」1 字)與滑桿之間 出現大量左側空白,視覺上像有 20px 缺口。改為 left 對齊後 文字緊貼滑桿右緣,且不論 OFF/±0/±5/關 長度都一致。 順便把 TextBox 寬度從 36 縮到 30,並把 slider 右側 margin 從 -82 調回 -76 收緊空間。 * chore(#9): v1.0.3 版本號更新 - Info.plist: CFBundleShortVersionString 1.0.2 → 1.0.3, CFBundleVersion 3 → 4 - pyproject.toml: version 1.0.1 → 1.0.3(先前與 Info.plist 不同步) - pyproject.toml: 加上 py-modules=[] 明確宣告無 Python 套件,避免 setuptools 在 data/ 與 LICENSES/ 之間做自動探索失敗 - CHANGELOG 1.0.3 區段補上字符與筆畫覆蓋統計,並新增 release 連結 - CHANGELOG 1.0.3 條目補「滑桿狀態常駐顯示」這次迭代結果

10. April 2026

8. April 2026

Show TrueType Curves

Henrique Beier • Draw deviation label at max-deviation point instead of glyph bounds Place the deviation label near the actual point of maximum deviation, offset along the PS-to-TT normal vector, rather than below the glyph bounding box. Also returns the point and normal from `_computeLayerDeviation` so callers can use them without recomputing.