fontlab-python-plugmix 1.1.18__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. fontlab_python_plugmix-1.1.18/.gitattributes +4 -0
  2. fontlab_python_plugmix-1.1.18/.github/workflows/docs.yml +86 -0
  3. fontlab_python_plugmix-1.1.18/.github/workflows/pack.yml +68 -0
  4. fontlab_python_plugmix-1.1.18/.github/workflows/release.yml +114 -0
  5. fontlab_python_plugmix-1.1.18/.gitignore +225 -0
  6. fontlab_python_plugmix-1.1.18/AGENTS.md +179 -0
  7. fontlab_python_plugmix-1.1.18/CHANGELOG.md +607 -0
  8. fontlab_python_plugmix-1.1.18/DEPENDENCIES.md +20 -0
  9. fontlab_python_plugmix-1.1.18/Extensions/README.md +75 -0
  10. fontlab_python_plugmix-1.1.18/Extensions/filters/DeleteSmallPaths.fontlabFilter/delete_small_paths.py +57 -0
  11. fontlab_python_plugmix-1.1.18/Extensions/filters/DeleteSmallPaths.fontlabFilter/plugin.json +8 -0
  12. fontlab_python_plugmix-1.1.18/Extensions/filters/MoveOutlines.fontlabFilter/move_outlines.py +41 -0
  13. fontlab_python_plugmix-1.1.18/Extensions/filters/MoveOutlines.fontlabFilter/plugin.json +8 -0
  14. fontlab_python_plugmix-1.1.18/Extensions/filters/RoundOutlineToGrid.fontlabFilter/plugin.json +8 -0
  15. fontlab_python_plugmix-1.1.18/Extensions/filters/RoundOutlineToGrid.fontlabFilter/round_outline_to_grid.py +43 -0
  16. fontlab_python_plugmix-1.1.18/Extensions/filters/ScaleOutlines.fontlabFilter/plugin.json +8 -0
  17. fontlab_python_plugmix-1.1.18/Extensions/filters/ScaleOutlines.fontlabFilter/scale_outlines.py +45 -0
  18. fontlab_python_plugmix-1.1.18/Extensions/filters/SlantOutlines.fontlabFilter/plugin.json +8 -0
  19. fontlab_python_plugmix-1.1.18/Extensions/filters/SlantOutlines.fontlabFilter/slant_outlines.py +42 -0
  20. fontlab_python_plugmix-1.1.18/Extensions/general/ZoomToSelection.fontlabGeneral/plugin.json +8 -0
  21. fontlab_python_plugmix-1.1.18/Extensions/general/ZoomToSelection.fontlabGeneral/zoom_to_selection.py +27 -0
  22. fontlab_python_plugmix-1.1.18/Extensions/palettes/StepAndRepeat.fontlabPalette/plugin.json +8 -0
  23. fontlab_python_plugmix-1.1.18/Extensions/palettes/StepAndRepeat.fontlabPalette/step_and_repeat.py +52 -0
  24. fontlab_python_plugmix-1.1.18/Extensions/reporters/AllAngles.fontlabReporter/all_angles.py +51 -0
  25. fontlab_python_plugmix-1.1.18/Extensions/reporters/AllAngles.fontlabReporter/plugin.json +8 -0
  26. fontlab_python_plugmix-1.1.18/Extensions/reporters/AnchorCloud.fontlabReporter/anchor_cloud.py +30 -0
  27. fontlab_python_plugmix-1.1.18/Extensions/reporters/AnchorCloud.fontlabReporter/plugin.json +8 -0
  28. fontlab_python_plugmix-1.1.18/Extensions/reporters/AngledHandles.fontlabReporter/angled_handles.py +40 -0
  29. fontlab_python_plugmix-1.1.18/Extensions/reporters/AngledHandles.fontlabReporter/plugin.json +8 -0
  30. fontlab_python_plugmix-1.1.18/Extensions/reporters/Blindfold.fontlabReporter/blindfold.py +33 -0
  31. fontlab_python_plugmix-1.1.18/Extensions/reporters/Blindfold.fontlabReporter/plugin.json +8 -0
  32. fontlab_python_plugmix-1.1.18/Extensions/reporters/CenterLines.fontlabReporter/center_lines.py +28 -0
  33. fontlab_python_plugmix-1.1.18/Extensions/reporters/CenterLines.fontlabReporter/plugin.json +8 -0
  34. fontlab_python_plugmix-1.1.18/Extensions/reporters/ColorToner.fontlabReporter/color_toner.py +26 -0
  35. fontlab_python_plugmix-1.1.18/Extensions/reporters/ColorToner.fontlabReporter/plugin.json +8 -0
  36. fontlab_python_plugmix-1.1.18/Extensions/reporters/Crosshair.fontlabReporter/crosshair.py +39 -0
  37. fontlab_python_plugmix-1.1.18/Extensions/reporters/Crosshair.fontlabReporter/plugin.json +8 -0
  38. fontlab_python_plugmix-1.1.18/Extensions/reporters/DuplicateAnchors.fontlabReporter/duplicate_anchors.py +50 -0
  39. fontlab_python_plugmix-1.1.18/Extensions/reporters/DuplicateAnchors.fontlabReporter/plugin.json +8 -0
  40. fontlab_python_plugmix-1.1.18/Extensions/reporters/ExportStatus.fontlabReporter/export_status.py +37 -0
  41. fontlab_python_plugmix-1.1.18/Extensions/reporters/ExportStatus.fontlabReporter/plugin.json +8 -0
  42. fontlab_python_plugmix-1.1.18/Extensions/reporters/GlobalGlyph.fontlabReporter/global_glyph.py +58 -0
  43. fontlab_python_plugmix-1.1.18/Extensions/reporters/GlobalGlyph.fontlabReporter/plugin.json +8 -0
  44. fontlab_python_plugmix-1.1.18/Extensions/reporters/GlyphFocus.fontlabReporter/glyph_focus.py +28 -0
  45. fontlab_python_plugmix-1.1.18/Extensions/reporters/GlyphFocus.fontlabReporter/plugin.json +8 -0
  46. fontlab_python_plugmix-1.1.18/Extensions/reporters/GlyphsInLabelColor.fontlabReporter/glyphs_in_label_color.py +27 -0
  47. fontlab_python_plugmix-1.1.18/Extensions/reporters/GlyphsInLabelColor.fontlabReporter/plugin.json +8 -0
  48. fontlab_python_plugmix-1.1.18/Extensions/reporters/ImpreciseItalicAngle.fontlabReporter/imprecise_italic_angle.py +44 -0
  49. fontlab_python_plugmix-1.1.18/Extensions/reporters/ImpreciseItalicAngle.fontlabReporter/plugin.json +8 -0
  50. fontlab_python_plugmix-1.1.18/Extensions/reporters/KernIndicator.fontlabReporter/kern_indicator.py +52 -0
  51. fontlab_python_plugmix-1.1.18/Extensions/reporters/KernIndicator.fontlabReporter/plugin.json +8 -0
  52. fontlab_python_plugmix-1.1.18/Extensions/reporters/KerningGroupReference.fontlabReporter/kerning_group_reference.py +72 -0
  53. fontlab_python_plugmix-1.1.18/Extensions/reporters/KerningGroupReference.fontlabReporter/plugin.json +8 -0
  54. fontlab_python_plugmix-1.1.18/Extensions/reporters/LabelColor.fontlabReporter/label_color.py +36 -0
  55. fontlab_python_plugmix-1.1.18/Extensions/reporters/LabelColor.fontlabReporter/plugin.json +8 -0
  56. fontlab_python_plugmix-1.1.18/Extensions/reporters/NodeCount.fontlabReporter/node_count.py +22 -0
  57. fontlab_python_plugmix-1.1.18/Extensions/reporters/NodeCount.fontlabReporter/plugin.json +8 -0
  58. fontlab_python_plugmix-1.1.18/Extensions/reporters/NodeIndexes.fontlabReporter/node_indexes.py +26 -0
  59. fontlab_python_plugmix-1.1.18/Extensions/reporters/NodeIndexes.fontlabReporter/plugin.json +8 -0
  60. fontlab_python_plugmix-1.1.18/Extensions/reporters/NodesCloseToZones.fontlabReporter/nodes_close_to_zones.py +35 -0
  61. fontlab_python_plugmix-1.1.18/Extensions/reporters/NodesCloseToZones.fontlabReporter/plugin.json +8 -0
  62. fontlab_python_plugmix-1.1.18/Extensions/reporters/OffcurveOutsideBounds.fontlabReporter/offcurve_outside_bounds.py +31 -0
  63. fontlab_python_plugmix-1.1.18/Extensions/reporters/OffcurveOutsideBounds.fontlabReporter/plugin.json +8 -0
  64. fontlab_python_plugmix-1.1.18/Extensions/reporters/OnlySelectedHandles.fontlabReporter/only_selected_handles.py +38 -0
  65. fontlab_python_plugmix-1.1.18/Extensions/reporters/OnlySelectedHandles.fontlabReporter/plugin.json +8 -0
  66. fontlab_python_plugmix-1.1.18/Extensions/reporters/RSBLine.fontlabReporter/plugin.json +8 -0
  67. fontlab_python_plugmix-1.1.18/Extensions/reporters/RSBLine.fontlabReporter/rsb_line.py +39 -0
  68. fontlab_python_plugmix-1.1.18/Extensions/reporters/Rekha.fontlabReporter/plugin.json +8 -0
  69. fontlab_python_plugmix-1.1.18/Extensions/reporters/Rekha.fontlabReporter/rekha.py +45 -0
  70. fontlab_python_plugmix-1.1.18/Extensions/reporters/SegmentLength.fontlabReporter/plugin.json +8 -0
  71. fontlab_python_plugmix-1.1.18/Extensions/reporters/SegmentLength.fontlabReporter/segment_length.py +36 -0
  72. fontlab_python_plugmix-1.1.18/Extensions/reporters/SelectedCoordinates.fontlabReporter/plugin.json +8 -0
  73. fontlab_python_plugmix-1.1.18/Extensions/reporters/SelectedCoordinates.fontlabReporter/selected_coordinates.py +27 -0
  74. fontlab_python_plugmix-1.1.18/Extensions/reporters/ShowBackground.fontlabReporter/plugin.json +8 -0
  75. fontlab_python_plugmix-1.1.18/Extensions/reporters/ShowBackground.fontlabReporter/show_background.py +22 -0
  76. fontlab_python_plugmix-1.1.18/Extensions/reporters/ShowCharacter.fontlabReporter/plugin.json +8 -0
  77. fontlab_python_plugmix-1.1.18/Extensions/reporters/ShowCharacter.fontlabReporter/show_character.py +36 -0
  78. fontlab_python_plugmix-1.1.18/Extensions/reporters/ShowInterpolation.fontlabReporter/plugin.json +8 -0
  79. fontlab_python_plugmix-1.1.18/Extensions/reporters/ShowInterpolation.fontlabReporter/show_interpolation.py +50 -0
  80. fontlab_python_plugmix-1.1.18/Extensions/reporters/ShowRotated.fontlabReporter/plugin.json +8 -0
  81. fontlab_python_plugmix-1.1.18/Extensions/reporters/ShowRotated.fontlabReporter/show_rotated.py +60 -0
  82. fontlab_python_plugmix-1.1.18/Extensions/reporters/ShowStems.fontlabReporter/plugin.json +8 -0
  83. fontlab_python_plugmix-1.1.18/Extensions/reporters/ShowStems.fontlabReporter/show_stems.py +75 -0
  84. fontlab_python_plugmix-1.1.18/Extensions/reporters/Siblings.fontlabReporter/plugin.json +8 -0
  85. fontlab_python_plugmix-1.1.18/Extensions/reporters/Siblings.fontlabReporter/siblings.py +46 -0
  86. fontlab_python_plugmix-1.1.18/Extensions/reporters/SmartPlumblines.fontlabReporter/plugin.json +8 -0
  87. fontlab_python_plugmix-1.1.18/Extensions/reporters/SmartPlumblines.fontlabReporter/smart_plumblines.py +47 -0
  88. fontlab_python_plugmix-1.1.18/Extensions/reporters/SmoothNodeAngles.fontlabReporter/plugin.json +8 -0
  89. fontlab_python_plugmix-1.1.18/Extensions/reporters/SmoothNodeAngles.fontlabReporter/smooth_node_angles.py +51 -0
  90. fontlab_python_plugmix-1.1.18/Extensions/reporters/SpeedPunk.fontlabReporter/plugin.json +8 -0
  91. fontlab_python_plugmix-1.1.18/Extensions/reporters/SpeedPunk.fontlabReporter/speed_punk.py +124 -0
  92. fontlab_python_plugmix-1.1.18/Extensions/reporters/StemThickness.fontlabReporter/plugin.json +8 -0
  93. fontlab_python_plugmix-1.1.18/Extensions/reporters/StemThickness.fontlabReporter/stem_thickness.py +113 -0
  94. fontlab_python_plugmix-1.1.18/Extensions/reporters/TopsAndBottoms.fontlabReporter/plugin.json +8 -0
  95. fontlab_python_plugmix-1.1.18/Extensions/reporters/TopsAndBottoms.fontlabReporter/tops_and_bottoms.py +34 -0
  96. fontlab_python_plugmix-1.1.18/Extensions/reporters/TwoPointDistance.fontlabReporter/plugin.json +8 -0
  97. fontlab_python_plugmix-1.1.18/Extensions/reporters/TwoPointDistance.fontlabReporter/two_point_distance.py +38 -0
  98. fontlab_python_plugmix-1.1.18/Extensions/reporters/Unitizer.fontlabReporter/plugin.json +8 -0
  99. fontlab_python_plugmix-1.1.18/Extensions/reporters/Unitizer.fontlabReporter/unitizer.py +35 -0
  100. fontlab_python_plugmix-1.1.18/Extensions/reporters/VerticalMetrics.fontlabReporter/plugin.json +8 -0
  101. fontlab_python_plugmix-1.1.18/Extensions/reporters/VerticalMetrics.fontlabReporter/vertical_metrics.py +39 -0
  102. fontlab_python_plugmix-1.1.18/Extensions/tools/ContourPicker.fontlabTool/contour_picker.py +57 -0
  103. fontlab_python_plugmix-1.1.18/Extensions/tools/ContourPicker.fontlabTool/plugin.json +8 -0
  104. fontlab_python_plugmix-1.1.18/Extensions/tools/MeasurementRuler.fontlabTool/measurement_ruler.py +99 -0
  105. fontlab_python_plugmix-1.1.18/Extensions/tools/MeasurementRuler.fontlabTool/plugin.json +8 -0
  106. fontlab_python_plugmix-1.1.18/Extensions/tools/NodeProbe.fontlabTool/node_probe.py +80 -0
  107. fontlab_python_plugmix-1.1.18/Extensions/tools/NodeProbe.fontlabTool/plugin.json +8 -0
  108. fontlab_python_plugmix-1.1.18/Extensions/tools/SmartSelect.fontlabTool/plugin.json +8 -0
  109. fontlab_python_plugmix-1.1.18/Extensions/tools/SmartSelect.fontlabTool/smart_select.py +77 -0
  110. fontlab_python_plugmix-1.1.18/LICENSE +201 -0
  111. fontlab_python_plugmix-1.1.18/NOTICE +228 -0
  112. fontlab_python_plugmix-1.1.18/PKG-INFO +444 -0
  113. fontlab_python_plugmix-1.1.18/PLAN.md +110 -0
  114. fontlab_python_plugmix-1.1.18/README.md +230 -0
  115. fontlab_python_plugmix-1.1.18/Scripts/Plugmix/Show Reporters.py +7 -0
  116. fontlab_python_plugmix-1.1.18/TODO.md +39 -0
  117. fontlab_python_plugmix-1.1.18/WORK.md +246 -0
  118. fontlab_python_plugmix-1.1.18/build.sh +12 -0
  119. fontlab_python_plugmix-1.1.18/docs/.nojekyll +0 -0
  120. fontlab_python_plugmix-1.1.18/docs/404.html +786 -0
  121. fontlab_python_plugmix-1.1.18/docs/app-menu-scripts/index.html +1231 -0
  122. fontlab_python_plugmix-1.1.18/docs/assets/LICENSE +201 -0
  123. fontlab_python_plugmix-1.1.18/docs/assets/NOTICE +228 -0
  124. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/@fortawesome-fontawesome-free/LICENSE.txt.txt +165 -0
  125. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/@mdi-svg/LICENSE.txt +20 -0
  126. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/@primer-octicons/LICENSE.txt +21 -0
  127. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/clipboard/LICENSE.txt +21 -0
  128. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/delegate/readme.md.txt +3 -0
  129. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/escape-html/LICENSE.txt +24 -0
  130. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/focus-visible/LICENSE.md.txt +5 -0
  131. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/good-listener/readme.md.txt +3 -0
  132. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/lucide-static/LICENSE.txt +43 -0
  133. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/lunr/LICENSE.txt +19 -0
  134. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/material-design-color/LICENSE.txt +21 -0
  135. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/retained/apache-2.0.txt.txt +201 -0
  136. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/retained/cc-by-4.0.txt.txt +156 -0
  137. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/retained/materialx-10.1.8-LICENSE.txt +19 -0
  138. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/retained/mit-basecoat-css.txt.txt +21 -0
  139. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/retained/mit-daisyui.txt.txt +21 -0
  140. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/retained/mit-tailwindcss.txt.txt +21 -0
  141. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/retained/ofl-roboto.txt.txt +93 -0
  142. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/retained/ofl-robotomono.txt.txt +93 -0
  143. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/retained/w3c-focus-visible.txt.txt +26 -0
  144. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/rxjs/LICENSE.txt.txt +202 -0
  145. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/select/readme.md.txt +3 -0
  146. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/tiny-emitter/LICENSE.txt +22 -0
  147. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/tslib/CopyrightNotice.txt.txt +15 -0
  148. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend/tslib/LICENSE.txt.txt +12 -0
  149. fontlab_python_plugmix-1.1.18/docs/assets/current-frontend-notices.json +2065 -0
  150. fontlab_python_plugmix-1.1.18/docs/assets/english-search-omissions.json +503 -0
  151. fontlab_python_plugmix-1.1.18/docs/assets/images/favicon.png +0 -0
  152. fontlab_python_plugmix-1.1.18/docs/assets/javascripts/bundle.fc193f93.min.js +16 -0
  153. fontlab_python_plugmix-1.1.18/docs/assets/javascripts/bundle.fc193f93.min.js.map +7 -0
  154. fontlab_python_plugmix-1.1.18/docs/assets/javascripts/workers/search.2c215733.min.js +42 -0
  155. fontlab_python_plugmix-1.1.18/docs/assets/javascripts/workers/search.2c215733.min.js.map +7 -0
  156. fontlab_python_plugmix-1.1.18/docs/assets/stylesheets/main.314bbef5.min.css +1 -0
  157. fontlab_python_plugmix-1.1.18/docs/assets/stylesheets/main.314bbef5.min.css.map +1 -0
  158. fontlab_python_plugmix-1.1.18/docs/assets/stylesheets/palette.a45159b5.min.css +1 -0
  159. fontlab_python_plugmix-1.1.18/docs/assets/stylesheets/palette.a45159b5.min.css.map +1 -0
  160. fontlab_python_plugmix-1.1.18/docs/compatibility-package/index.html +1089 -0
  161. fontlab_python_plugmix-1.1.18/docs/consumer-audit/index.html +1134 -0
  162. fontlab_python_plugmix-1.1.18/docs/development-and-limits/index.html +948 -0
  163. fontlab_python_plugmix-1.1.18/docs/index.html +828 -0
  164. fontlab_python_plugmix-1.1.18/docs/installation/index.html +1009 -0
  165. fontlab_python_plugmix-1.1.18/docs/licence/index.html +1034 -0
  166. fontlab_python_plugmix-1.1.18/docs/plugins/contour-picker/index.html +916 -0
  167. fontlab_python_plugmix-1.1.18/docs/plugins/measurement-ruler/index.html +917 -0
  168. fontlab_python_plugmix-1.1.18/docs/plugins/move-outlines/index.html +948 -0
  169. fontlab_python_plugmix-1.1.18/docs/plugins/node-probe/index.html +917 -0
  170. fontlab_python_plugmix-1.1.18/docs/plugins/round-outline-to-grid/index.html +947 -0
  171. fontlab_python_plugmix-1.1.18/docs/plugins/scale-outlines/index.html +959 -0
  172. fontlab_python_plugmix-1.1.18/docs/plugins/slant-outlines/index.html +950 -0
  173. fontlab_python_plugmix-1.1.18/docs/search/search_index.json +1 -0
  174. fontlab_python_plugmix-1.1.18/docs/sitemap.xml +73 -0
  175. fontlab_python_plugmix-1.1.18/docs/sitemap.xml.gz +0 -0
  176. fontlab_python_plugmix-1.1.18/docs/stylesheets/local.css +2 -0
  177. fontlab_python_plugmix-1.1.18/initScript-snippet.py +9 -0
  178. fontlab_python_plugmix-1.1.18/install.vfpy +39 -0
  179. fontlab_python_plugmix-1.1.18/publish.sh +38 -0
  180. fontlab_python_plugmix-1.1.18/pyproject.toml +37 -0
  181. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/__init__.py +41 -0
  182. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/backend.py +285 -0
  183. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/boot.py +140 -0
  184. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/filter.py +83 -0
  185. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/filters/__init__.py +4 -0
  186. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/filters/apply.py +158 -0
  187. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/filters/delete_small_paths.py +57 -0
  188. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/filters/dialog.py +119 -0
  189. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/filters/host.py +120 -0
  190. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/general.py +144 -0
  191. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/general_plugins/__init__.py +4 -0
  192. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/general_plugins/host.py +137 -0
  193. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/general_plugins/zoom_to_selection.py +27 -0
  194. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/geometry.py +64 -0
  195. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/kinds.py +33 -0
  196. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/menu.py +29 -0
  197. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/palette.py +24 -0
  198. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/palettes/__init__.py +4 -0
  199. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/palettes/apply.py +159 -0
  200. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/palettes/host.py +369 -0
  201. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/palettes/step_and_repeat.py +53 -0
  202. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/palettes/ui.py +86 -0
  203. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugin.py +14 -0
  204. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/__init__.py +4 -0
  205. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/anchor_cloud.py +30 -0
  206. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/angled_handles.py +40 -0
  207. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/center_lines.py +28 -0
  208. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/crosshair.py +39 -0
  209. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/duplicate_anchors.py +50 -0
  210. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/glyph_focus.py +28 -0
  211. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/imprecise_italic_angle.py +44 -0
  212. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/node_indexes.py +26 -0
  213. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/nodes_close_to_zones.py +35 -0
  214. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/offcurve_outside_bounds.py +31 -0
  215. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/only_selected_handles.py +38 -0
  216. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/rsb_line.py +39 -0
  217. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/segment_length.py +36 -0
  218. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/selected_coordinates.py +27 -0
  219. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/smooth_node_angles.py +51 -0
  220. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/tops_and_bottoms.py +34 -0
  221. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/two_point_distance.py +38 -0
  222. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/unitizer.py +35 -0
  223. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/plugins/vertical_metrics.py +39 -0
  224. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/registry.py +434 -0
  225. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/reporter.py +127 -0
  226. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/snapshot.py +285 -0
  227. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/tool.py +104 -0
  228. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/tools/__init__.py +4 -0
  229. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/tools/bridge.py +169 -0
  230. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/tools/host.py +143 -0
  231. fontlab_python_plugmix-1.1.18/src/fontlab_plugmix/tools/smart_select.py +77 -0
  232. fontlab_python_plugmix-1.1.18/src_docs/build.sh +10 -0
  233. fontlab_python_plugmix-1.1.18/src_docs/english_search.py +50 -0
  234. fontlab_python_plugmix-1.1.18/src_docs/md/app-menu-scripts.md +165 -0
  235. fontlab_python_plugmix-1.1.18/src_docs/md/assets/LICENSE +201 -0
  236. fontlab_python_plugmix-1.1.18/src_docs/md/assets/NOTICE +228 -0
  237. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/@fortawesome-fontawesome-free/LICENSE.txt.txt +165 -0
  238. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/@mdi-svg/LICENSE.txt +20 -0
  239. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/@primer-octicons/LICENSE.txt +21 -0
  240. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/clipboard/LICENSE.txt +21 -0
  241. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/delegate/readme.md.txt +3 -0
  242. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/escape-html/LICENSE.txt +24 -0
  243. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/focus-visible/LICENSE.md.txt +5 -0
  244. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/good-listener/readme.md.txt +3 -0
  245. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/lucide-static/LICENSE.txt +43 -0
  246. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/lunr/LICENSE.txt +19 -0
  247. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/material-design-color/LICENSE.txt +21 -0
  248. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/retained/apache-2.0.txt.txt +201 -0
  249. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/retained/cc-by-4.0.txt.txt +156 -0
  250. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/retained/materialx-10.1.8-LICENSE.txt +19 -0
  251. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/retained/mit-basecoat-css.txt.txt +21 -0
  252. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/retained/mit-daisyui.txt.txt +21 -0
  253. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/retained/mit-tailwindcss.txt.txt +21 -0
  254. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/retained/ofl-roboto.txt.txt +93 -0
  255. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/retained/ofl-robotomono.txt.txt +93 -0
  256. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/retained/w3c-focus-visible.txt.txt +26 -0
  257. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/rxjs/LICENSE.txt.txt +202 -0
  258. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/select/readme.md.txt +3 -0
  259. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/tiny-emitter/LICENSE.txt +22 -0
  260. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/tslib/CopyrightNotice.txt.txt +15 -0
  261. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend/tslib/LICENSE.txt.txt +12 -0
  262. fontlab_python_plugmix-1.1.18/src_docs/md/assets/current-frontend-notices.json +2065 -0
  263. fontlab_python_plugmix-1.1.18/src_docs/md/assets/english-search-omissions.json +503 -0
  264. fontlab_python_plugmix-1.1.18/src_docs/md/compatibility-package.md +106 -0
  265. fontlab_python_plugmix-1.1.18/src_docs/md/consumer-audit.md +53 -0
  266. fontlab_python_plugmix-1.1.18/src_docs/md/development-and-limits.md +50 -0
  267. fontlab_python_plugmix-1.1.18/src_docs/md/index.md +13 -0
  268. fontlab_python_plugmix-1.1.18/src_docs/md/installation.md +69 -0
  269. fontlab_python_plugmix-1.1.18/src_docs/md/licence.md +52 -0
  270. fontlab_python_plugmix-1.1.18/src_docs/md/plugins/contour-picker.md +32 -0
  271. fontlab_python_plugmix-1.1.18/src_docs/md/plugins/measurement-ruler.md +31 -0
  272. fontlab_python_plugmix-1.1.18/src_docs/md/plugins/move-outlines.md +53 -0
  273. fontlab_python_plugmix-1.1.18/src_docs/md/plugins/node-probe.md +34 -0
  274. fontlab_python_plugmix-1.1.18/src_docs/md/plugins/round-outline-to-grid.md +56 -0
  275. fontlab_python_plugmix-1.1.18/src_docs/md/plugins/scale-outlines.md +56 -0
  276. fontlab_python_plugmix-1.1.18/src_docs/md/plugins/slant-outlines.md +55 -0
  277. fontlab_python_plugmix-1.1.18/src_docs/md/stylesheets/local.css +2 -0
  278. fontlab_python_plugmix-1.1.18/src_docs/mkdocs.yml +51 -0
  279. fontlab_python_plugmix-1.1.18/src_docs/overrides/main.html +16 -0
  280. fontlab_python_plugmix-1.1.18/src_docs/publish.sh +22 -0
  281. fontlab_python_plugmix-1.1.18/src_docs/requirements.in +5 -0
  282. fontlab_python_plugmix-1.1.18/src_docs/requirements.txt +604 -0
  283. fontlab_python_plugmix-1.1.18/test.sh +49 -0
  284. fontlab_python_plugmix-1.1.18/tests/bundle-map.json +395 -0
  285. fontlab_python_plugmix-1.1.18/tests/check_coverage.py +48 -0
  286. fontlab_python_plugmix-1.1.18/tests/conftest.py +58 -0
  287. fontlab_python_plugmix-1.1.18/tests/extensions/conftest.py +42 -0
  288. fontlab_python_plugmix-1.1.18/tests/extensions/test_bundle_kinds.py +128 -0
  289. fontlab_python_plugmix-1.1.18/tests/extensions/test_plugmix_issue209_background.py +81 -0
  290. fontlab_python_plugmix-1.1.18/tests/extensions/test_plugmix_issue209_identity.py +308 -0
  291. fontlab_python_plugmix-1.1.18/tests/extensions/test_plugmix_issue209_masters.py +185 -0
  292. fontlab_python_plugmix-1.1.18/tests/extensions/test_plugmix_issue209_others.py +259 -0
  293. fontlab_python_plugmix-1.1.18/tests/extensions/test_plugmix_issue209_rotated.py +90 -0
  294. fontlab_python_plugmix-1.1.18/tests/extensions/test_plugmix_issue209_small.py +134 -0
  295. fontlab_python_plugmix-1.1.18/tests/extensions/test_plugmix_issue209_speed_punk.py +120 -0
  296. fontlab_python_plugmix-1.1.18/tests/extensions/test_plugmix_issue209_stems.py +136 -0
  297. fontlab_python_plugmix-1.1.18/tests/extensions/test_plugmix_more_plugins.py +302 -0
  298. fontlab_python_plugmix-1.1.18/tests/extensions/test_plugmix_plugins.py +89 -0
  299. fontlab_python_plugmix-1.1.18/tests/extensions/test_practical_filters.py +124 -0
  300. fontlab_python_plugmix-1.1.18/tests/extensions/test_practical_tools.py +246 -0
  301. fontlab_python_plugmix-1.1.18/tests/test_backend.py +335 -0
  302. fontlab_python_plugmix-1.1.18/tests/test_extension_coverage_gate.py +87 -0
  303. fontlab_python_plugmix-1.1.18/tests/test_extension_manifest.py +111 -0
  304. fontlab_python_plugmix-1.1.18/tests/test_filter.py +848 -0
  305. fontlab_python_plugmix-1.1.18/tests/test_fly_consumers.py +125 -0
  306. fontlab_python_plugmix-1.1.18/tests/test_install_bundles.py +67 -0
  307. fontlab_python_plugmix-1.1.18/tests/test_licence_notices.py +17 -0
  308. fontlab_python_plugmix-1.1.18/tests/test_more_plugins.py +303 -0
  309. fontlab_python_plugmix-1.1.18/tests/test_pack_artifacts.py +199 -0
  310. fontlab_python_plugmix-1.1.18/tests/test_pack_workflow.py +133 -0
  311. fontlab_python_plugmix-1.1.18/tests/test_palette.py +837 -0
  312. fontlab_python_plugmix-1.1.18/tests/test_plugins.py +90 -0
  313. fontlab_python_plugmix-1.1.18/tests/test_recovered_scripts.py +228 -0
  314. fontlab_python_plugmix-1.1.18/tests/test_registry_boot_menu.py +340 -0
  315. fontlab_python_plugmix-1.1.18/tests/test_reporter.py +200 -0
  316. fontlab_python_plugmix-1.1.18/tests/test_snapshot.py +175 -0
  317. fontlab_python_plugmix-1.1.18/tests/test_test_script.py +114 -0
  318. fontlab_python_plugmix-1.1.18/tests/test_tool_general.py +794 -0
  319. fontlab_python_plugmix-1.1.18/tests_docs/test_build.py +94 -0
  320. fontlab_python_plugmix-1.1.18/tests_docs/test_pipeline_english.py +113 -0
  321. fontlab_python_plugmix-1.1.18/tests_docs/test_pipeline_frontend.py +134 -0
  322. fontlab_python_plugmix-1.1.18/tests_docs/test_pipeline_legal.py +61 -0
  323. fontlab_python_plugmix-1.1.18/tests_docs/test_publish.py +176 -0
  324. fontlab_python_plugmix-1.1.18/tests_docs/test_site.py +190 -0
  325. fontlab_python_plugmix-1.1.18/tools/build_pack.py +45 -0
  326. fontlab_python_plugmix-1.1.18/tools/check_pack.py +38 -0
@@ -0,0 +1,4 @@
1
+
2
+ # Preserve exact upstream notices and generated bytes through Git.
3
+ /src_docs/md/assets/** -text
4
+ /docs/** -text
@@ -0,0 +1,86 @@
1
+ # this_file: .github/workflows/docs.yml
2
+ name: Documentation
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ permissions:
7
+ contents: read
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ timeout-minutes: 15
12
+ permissions:
13
+ contents: write
14
+ outputs:
15
+ sha: ${{ steps.publish.outputs.sha }}
16
+ epoch: ${{ steps.epoch.outputs.value }}
17
+ steps:
18
+ - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
19
+ with:
20
+ ref: ${{ github.sha }}
21
+ - id: epoch
22
+ run: |
23
+ epoch=$(git show -s --format=%ct HEAD)
24
+ printf 'value=%s\n' "$epoch" >> "$GITHUB_OUTPUT"
25
+ - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
26
+ with:
27
+ version: '0.13.7'
28
+ python-version: '3.13'
29
+ enable-cache: false
30
+ - name: Prepare locked docs environment
31
+ run: |
32
+ uv venv .docs-venv
33
+ uv pip install --python .docs-venv/bin/python --require-hashes -r src_docs/requirements.txt
34
+ echo "$PWD/.docs-venv/bin" >> "$GITHUB_PATH"
35
+ - run: sh src_docs/build.sh
36
+ env:
37
+ SOURCE_DATE_EPOCH: ${{ steps.epoch.outputs.value }}
38
+ - run: python -m unittest discover -s tests_docs -v
39
+ - id: publish
40
+ env:
41
+ SOURCE_SHA: ${{ github.sha }}
42
+ run: sh src_docs/publish.sh "$SOURCE_SHA"
43
+ qualify-generated-output:
44
+ needs: build
45
+ if: needs.build.outputs.sha != ''
46
+ runs-on: ubuntu-latest
47
+ timeout-minutes: 15
48
+ permissions:
49
+ contents: read
50
+ steps:
51
+ - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
52
+ with:
53
+ ref: ${{ needs.build.outputs.sha }}
54
+ fetch-depth: 2
55
+ persist-credentials: false
56
+ - name: Verify immutable output lineage
57
+ env:
58
+ SOURCE_SHA: ${{ github.sha }}
59
+ OUTPUT_SHA: ${{ needs.build.outputs.sha }}
60
+ SOURCE_DATE_EPOCH: ${{ needs.build.outputs.epoch }}
61
+ run: |
62
+ test "$(git rev-parse HEAD)" = "$OUTPUT_SHA"
63
+ if test "$OUTPUT_SHA" != "$SOURCE_SHA"; then
64
+ test "$(git show -s --format=%P HEAD)" = "$SOURCE_SHA"
65
+ test -z "$(git diff --name-only "$SOURCE_SHA" HEAD -- . ':!docs')"
66
+ test -n "$(git diff --name-only "$SOURCE_SHA" HEAD -- docs)"
67
+ fi
68
+ test "$(git show -s --format=%ct "$SOURCE_SHA")" = "$SOURCE_DATE_EPOCH"
69
+ - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
70
+ with:
71
+ version: '0.13.7'
72
+ python-version: '3.13'
73
+ enable-cache: false
74
+ - name: Prepare locked docs environment
75
+ run: |
76
+ uv venv .docs-venv
77
+ uv pip install --python .docs-venv/bin/python --require-hashes -r src_docs/requirements.txt
78
+ echo "$PWD/.docs-venv/bin" >> "$GITHUB_PATH"
79
+ - run: sh src_docs/build.sh
80
+ env:
81
+ SOURCE_DATE_EPOCH: ${{ needs.build.outputs.epoch }}
82
+ - run: python -m unittest discover -s tests_docs -v
83
+ - name: Require committed output parity
84
+ run: |
85
+ git diff --exit-code HEAD -- docs
86
+ test -z "$(git ls-files --others -- docs)"
@@ -0,0 +1,68 @@
1
+ # this_file: .github/workflows/pack.yml
2
+ name: Pack
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ tags: ['v*']
7
+ pull_request:
8
+ branches: [main]
9
+ permissions:
10
+ contents: read
11
+ jobs:
12
+ pack:
13
+ runs-on: ubuntu-latest
14
+ timeout-minutes: 10
15
+ steps:
16
+ - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
17
+ with:
18
+ persist-credentials: false
19
+ - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
20
+ with:
21
+ version: '0.13.7'
22
+ python-version: '3.13'
23
+ enable-cache: false
24
+ # Only the App-free tests run here; the rest of the suite needs the private App checkout (see TODO.md).
25
+ - name: Build the Extensions pack
26
+ run: |
27
+ set -eo pipefail
28
+ uv run --no-project python tools/build_pack.py dist
29
+ uv run --no-project python tools/check_pack.py dist/fontlab-python-plugmix-extensions.zip
30
+ - name: Run the App-free tests
31
+ run: |
32
+ set -eo pipefail
33
+ uv run --no-project --with pytest==8.4.2 python -m pytest -q -p no:cacheprovider -rs --noconftest -o addopts= \
34
+ tests/test_pack_workflow.py tests/test_extension_coverage_gate.py | tee pytest.log
35
+ if grep -q "SKIPPED" pytest.log; then echo "Unexpected skip"; exit 1; fi
36
+ - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
37
+ with:
38
+ name: fontlab-python-plugmix-extensions
39
+ path: dist/fontlab-python-plugmix-extensions.zip
40
+ if-no-files-found: error
41
+ release:
42
+ needs: pack
43
+ if: startsWith(github.ref, 'refs/tags/v')
44
+ runs-on: ubuntu-latest
45
+ timeout-minutes: 15
46
+ permissions:
47
+ contents: write
48
+ steps:
49
+ - uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
50
+ with:
51
+ name: fontlab-python-plugmix-extensions
52
+ path: dist
53
+ - name: Attach the checked pack to the tag's release
54
+ env:
55
+ GH_TOKEN: ${{ github.token }}
56
+ TAG: ${{ github.ref_name }}
57
+ run: |
58
+ set -eo pipefail
59
+ test -s dist/fontlab-python-plugmix-extensions.zip
60
+ for _ in $(seq 1 20); do
61
+ if gh release view "$TAG" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1; then
62
+ gh release upload "$TAG" dist/fontlab-python-plugmix-extensions.zip --repo "$GITHUB_REPOSITORY" --clobber
63
+ exit 0
64
+ fi
65
+ sleep 30
66
+ done
67
+ echo "release not created by lander within 10 min; run gh release create, then rerun this job" >&2
68
+ exit 1
@@ -0,0 +1,114 @@
1
+ # Releases fontlab-python-plugmix: git tag -> build -> GitHub release -> pypi.org (Trusted Publishing, no token).
2
+ # Generated by pypitrust. Trigger either way:
3
+ # git tag v1.2.3 && git push origin v1.2.3
4
+ # gh workflow run release.yml -f tag=v1.2.3 (or ./publish.sh)
5
+ name: Release
6
+
7
+ on:
8
+ push:
9
+ tags: ["v[0-9]+.[0-9]+.[0-9]+"]
10
+ workflow_dispatch:
11
+ inputs:
12
+ tag:
13
+ description: "Semver tag to release, e.g. v1.2.3"
14
+ required: true
15
+ type: string
16
+
17
+ permissions:
18
+ contents: read
19
+
20
+ concurrency:
21
+ group: release-${{ inputs.tag || github.ref_name }}
22
+ cancel-in-progress: false
23
+
24
+ jobs:
25
+ tag:
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ contents: write
29
+ outputs:
30
+ tag: ${{ steps.check.outputs.tag }}
31
+ steps:
32
+ - id: check
33
+ env:
34
+ TAG: ${{ inputs.tag || github.ref_name }}
35
+ run: |
36
+ if [[ ! "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
37
+ echo "::error::'$TAG' is not a vMAJOR.MINOR.PATCH tag"; exit 1
38
+ fi
39
+ echo "tag=$TAG" >> "$GITHUB_OUTPUT"
40
+ - if: github.event_name == 'workflow_dispatch'
41
+ uses: actions/checkout@v4
42
+ with:
43
+ fetch-depth: 0
44
+ - if: github.event_name == 'workflow_dispatch'
45
+ env:
46
+ TAG: ${{ steps.check.outputs.tag }}
47
+ run: |
48
+ if git rev-parse -q --verify "refs/tags/$TAG" >/dev/null; then
49
+ echo "Tag $TAG already exists; releasing it as is."
50
+ exit 0
51
+ fi
52
+ git config user.name "github-actions[bot]"
53
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
54
+ git tag -a "$TAG" -m "Release $TAG"
55
+ git push origin "refs/tags/$TAG"
56
+
57
+ build:
58
+ needs: tag
59
+ runs-on: ubuntu-latest
60
+ steps:
61
+ - uses: actions/checkout@v4
62
+ with:
63
+ ref: refs/tags/${{ needs.tag.outputs.tag }}
64
+ fetch-depth: 0
65
+ - uses: astral-sh/setup-uv@v5
66
+ - run: uv build
67
+ - name: Check the built version matches the tag
68
+ env:
69
+ TAG: ${{ needs.tag.outputs.tag }}
70
+ run: |
71
+ ls dist/
72
+ ls dist/*-"${TAG#v}"-*.whl >/dev/null || ls dist/*-"${TAG#v}".tar.gz >/dev/null
73
+ - uses: actions/upload-artifact@v4
74
+ with:
75
+ name: dist
76
+ path: dist/
77
+
78
+ github-release:
79
+ needs: [tag, build]
80
+ runs-on: ubuntu-latest
81
+ permissions:
82
+ contents: write
83
+ steps:
84
+ - uses: actions/download-artifact@v4
85
+ with:
86
+ name: dist
87
+ path: dist/
88
+ - env:
89
+ GH_TOKEN: ${{ github.token }}
90
+ TAG: ${{ needs.tag.outputs.tag }}
91
+ run: |
92
+ if gh release view "$TAG" -R "$GITHUB_REPOSITORY" >/dev/null 2>&1; then
93
+ gh release upload "$TAG" dist/* --clobber -R "$GITHUB_REPOSITORY"
94
+ else
95
+ gh release create "$TAG" dist/* --verify-tag --generate-notes --title "$TAG" -R "$GITHUB_REPOSITORY"
96
+ fi
97
+
98
+ pypi:
99
+ needs: github-release
100
+ runs-on: ubuntu-latest
101
+ environment:
102
+ name: pypi
103
+ url: https://pypi.org/p/fontlab-python-plugmix
104
+ permissions:
105
+ id-token: write
106
+ steps:
107
+ - uses: actions/download-artifact@v4
108
+ with:
109
+ name: dist
110
+ path: dist/
111
+ - uses: pypa/gh-action-pypi-publish@release/v1
112
+ with:
113
+ repository-url: https://upload.pypi.org/legacy/
114
+ skip-existing: true
@@ -0,0 +1,225 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ *.lcov
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ # Pipfile.lock
97
+
98
+ # uv
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ # poetry.lock
110
+ # poetry.toml
111
+
112
+ # pdm
113
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
114
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
115
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
116
+ # pdm.lock
117
+ # pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # pixi
122
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
123
+ # pixi.lock
124
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
125
+ # in the .venv directory. It is recommended not to include this directory in version control.
126
+ .pixi/*
127
+ !.pixi/config.toml
128
+
129
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
130
+ __pypackages__/
131
+
132
+ # Celery stuff
133
+ celerybeat-schedule*
134
+ celerybeat.pid
135
+
136
+ # Redis
137
+ *.rdb
138
+ *.aof
139
+ *.pid
140
+
141
+ # RabbitMQ
142
+ mnesia/
143
+ rabbitmq/
144
+ rabbitmq-data/
145
+
146
+ # ActiveMQ
147
+ activemq-data/
148
+
149
+ # SageMath parsed files
150
+ *.sage.py
151
+
152
+ # Environments
153
+ .env
154
+ .envrc
155
+ .venv
156
+ env/
157
+ venv/
158
+ ENV/
159
+ env.bak/
160
+ venv.bak/
161
+
162
+ # Spyder project settings
163
+ .spyderproject
164
+ .spyproject
165
+
166
+ # Rope project settings
167
+ .ropeproject
168
+
169
+ # mkdocs/Zensical documentation
170
+ /site
171
+
172
+ # mypy
173
+ .mypy_cache/
174
+ .dmypy.json
175
+ dmypy.json
176
+
177
+ # Pyre type checker
178
+ .pyre/
179
+
180
+ # pytype static type analyzer
181
+ .pytype/
182
+
183
+ # Cython debug symbols
184
+ cython_debug/
185
+
186
+ # PyCharm
187
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
188
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
189
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
190
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
191
+ # .idea/
192
+
193
+ # Abstra
194
+ # Abstra is an AI-powered process automation framework.
195
+ # Ignore directories containing user credentials, local state, and settings.
196
+ # Learn more at https://abstra.io/docs
197
+ .abstra/
198
+
199
+ # Visual Studio Code
200
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
201
+ # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
202
+ # and can be added to the global gitignore or merged into this file. However, if you prefer, you
203
+ # could uncomment the following to ignore the entire vscode folder
204
+ # .vscode/
205
+ # Temporary file for partial code execution
206
+ tempCodeRunnerFile.py
207
+
208
+ # Ruff stuff:
209
+ .ruff_cache/
210
+ coverage.json
211
+
212
+ # PyPI configuration file
213
+ .pypirc
214
+
215
+ # Marimo
216
+ marimo/_static/
217
+ marimo/_lsp/
218
+ __marimo__/
219
+
220
+ # Streamlit
221
+ .streamlit/secrets.toml
222
+
223
+ # macOS Finder metadata
224
+ .DS_Store
225
+ *.vfpyc
@@ -0,0 +1,179 @@
1
+ ---
2
+ this_file: AGENTS.md
3
+ ---
4
+
5
+ # Plugmix: agent guide
6
+
7
+ ## Owner priority: functional progress first (2026-11-15)
8
+
9
+ Future agents must make large, swift advances in working functionality. Prioritize visible user problems and useful, coherent feature increments. This instruction sets the work order and supersedes older requirements to complete exhaustive testing or build test infrastructure before ordinary implementation.
10
+
11
+ Keep packages coherent and compatible. Check shared APIs, imports and lazy aliases, data formats, dependency direction, object ownership and lifetime, installers, launchers and examples. Update affected providers and consumers together; preserve existing supported behavior and avoid dependency cycles.
12
+
13
+ During implementation, use the smallest meaningful smoke checks and focused regression tests for the changed behavior and affected package boundaries. Detailed testing, exhaustive coverage, broad performance studies and full acceptance matrices can follow in a later testing pass. Do not let test harnesses, sandbox/supervisor design, repeated unchanged suites, evidence machinery or review paperwork become the main project. Build such infrastructure only when a concrete functional defect or necessary safety constraint requires it.
14
+
15
+ Record deferred checks and known limits plainly. Do not call untested native, installed or published behavior verified. Keep existing mandatory delivery hooks, preservation rules, licence/privacy obligations, repository exclusions and explicit native/publication holds intact. When one action is held, continue other authorized functional work instead of expanding unrelated infrastructure.
16
+
17
+ Choose the next substantial useful feature or shared fix and carry its affected providers and consumers together. Timebox supporting investigation; once focused checks establish a usable increment, continue functionality work. Queue detailed testing for a later pass with its concrete remaining checks instead of letting test infrastructure displace product delivery.
18
+
19
+ ## Current-source release qualification — 2026-11-14
20
+
21
+ The older no-release rule applies to its historical source-recovery milestone.
22
+ Current workspace D43 authorizes a qualified new release through normal hooks,
23
+ review, main/tag CI and downloaded-artifact checks. Functional priority changes
24
+ the work order, not mandatory delivery gates or native fences. Keep compatibility
25
+ wheel/sdist, curated Extensions ZIP and startup/helper acceptance separate.
26
+
27
+ ## Live font testing in FontLab (owner instruction, 2026-11-10)
28
+
29
+ Test, verify and edit in the font that is open in FontLab 9. Don't hold back
30
+ because the owner might be working on it. Just work in it. If no font is open,
31
+ open a VFJ from `~/Desktop` first (File > Open, or `fontlab.flPackage(path)`
32
+ and `flWorkspace.instance().addPackage`). Those VFJs are for agents. Add glyphs,
33
+ kerning pairs, elements, contours, masters or anything else the test needs,
34
+ and save the files when that helps. This replaces older rules that required an
35
+ empty FontLab session or forbade editing open fonts. `fl-native.sh --mutating`
36
+ now runs with fonts open (`FL_REQUIRE_EMPTY=1` restores the old check). The
37
+ serialized lock still applies: one native run at a time. Don't quit or restart
38
+ FontLab, and don't close fonts from Python, because that has crashed the host.
39
+
40
+ The recovered `Scripts/` entry points use App `fontlabapp.plugmix`: 39 reporter
41
+ launchers and one menu installer. The retained `fontlab_plugmix` compatibility
42
+ package separately provides 19 reporters, a Filter, a Palette, a Tool and a
43
+ General plugin. Keep these runtime and entry-point groups distinct; both use
44
+ the Plugmix preference filename and must not be installed together in one session. Keep geometry and metrics capture in `snapshot.py`, painter
45
+ access in `backend.py`, and startup imports in `boot.py`.
46
+ Keep reporter `compute()` pure. Reporter compute and paint must not write font
47
+ data. Filters and Palettes can make the documented undoable font edits through
48
+ the host writers. Keep native reads and writes out of pure compute methods.
49
+ Contain exceptions inside paint and Qt signal callbacks.
50
+ Use App's `EditorPainters` and `OwnedMenus` for ownership and teardown.
51
+ Preserve the preference JSON, unknown keys and failed-teardown recovery.
52
+ Use native PythonQt in FontLab. Do not import another Qt binding into the host.
53
+ Preserve Apache-2.0 terms in LICENSE and all attribution in NOTICE.
54
+
55
+ ## Development checks
56
+
57
+ The retained compatibility package descends from
58
+ `dddadcd9bc8cee21d5f7b8fe60027495e13fd41a`; recovered scripts use App separately.
59
+ `src/fontlab_plugmix/` contains the package. `tests/`, `test.sh` and
60
+ `tests/check_coverage.py` provide its own offline suite and coverage check.
61
+ Use an arm64 Python 3.11 process and the owned sibling App source:
62
+
63
+ ```sh
64
+ PLUGMIX_FONTLABAPP_SOURCE="$PWD/../fontlab-fontlabapp" sh test.sh
65
+ ```
66
+
67
+ The runner-layout test also requires a sibling App source directory. Set
68
+ `UV_PYTHON_PREFERENCE=only-system` and verify the actual interpreter is arm64.
69
+ Run this command without selectors. The wrapper installs this local package and
70
+ the selected App source in its uv test environment. With no arguments, it also
71
+ runs `python3 tests/check_coverage.py coverage.json`. Selectors skip that checker.
72
+ Keep the ordinary installed pre-push gate as a separate requirement.
73
+ The recorded installed-hook baseline passed 125 tests with zero changed modules.
74
+ That baseline does not prove the full repository checker passed.
75
+ The later full no-selector `sh test.sh` run on 2026-11-05 at 21:46:13 UTC
76
+ passed: exit 0, 125 tests and the full per-module checker. It used this
77
+ source and owned App `fb6a93776772b996b25604f88711feb300b90109`.
78
+ The observed 96% overall line coverage supplements the unchanged 80%
79
+ combined-module policy. Requalify after a source or App tuple change.
80
+ Offline fake-host tests do not establish native or installed-artifact acceptance.
81
+
82
+ ## Review and delivery
83
+
84
+ Read README, PLAN, TODO, WORK and CHANGELOG before work. Use an isolated checkout.
85
+ Preserve the owner's branches, index, edits, archives and licences.
86
+ Choose one small complete MVP. Name its callers, tests, fixtures, configuration
87
+ and exports. Use graph context and impact before source symbol changes.
88
+ Confirm stale, empty or unknown graph results against the actual source.
89
+
90
+ Run the exact repository checks. Keep the unchanged 80% coverage gate for each
91
+ complete changed production module where the milestone gate applies.
92
+ Measure all forty recovered `Scripts` modules separately with branch coverage
93
+ and the unchanged 80% combined gate; the old package/hook selectors cover only
94
+ `src`. Run all tests with `--cov=Scripts --cov-branch` after the full no-selector
95
+ recipe. Keep actual App registration/persistence/menu and rollback tests; source
96
+ checksums establish provenance, not functional coverage.
97
+ Documentation checks cover headers, fences, links, privacy and the exact diff.
98
+ Keep ordinary installed hooks active. Do not bypass a failed gate.
99
+ Obtain independent specification and quality review before a milestone commit.
100
+ Stage only the approved paths after checking their preimage hashes.
101
+ Run graph change analysis before committing.
102
+
103
+ Issues 230/233 authorize the scoped reviewed recovery and documentation
104
+ milestones, with passing checks before commits and pushes.
105
+ Verify the actual remote branch SHA after a push. Refresh remote refs before
106
+ integration. Reconcile concurrent work and consumers before primary-branch
107
+ integration. Run the applicable combined-source and CI checks.
108
+ Do not infer publication, installation or native acceptance from a branch push.
109
+ Do not create release tags, dispatch release workflows or publish packages for
110
+ this source-recovery milestone.
111
+
112
+ Before obsolete branch or file removal, verify recovery and integration.
113
+ Check fresh owner/worktree attachments and unique work. Preserve sealed evidence
114
+ and protected tags. Do not force-push or rewrite history by implication.
115
+ Keep PLAN future-facing and TODO flat with unchecked open tasks.
116
+ Record only verified scope in CHANGELOG and current checks in WORK.
117
+
118
+ Issue 123 remains paused. Issue 207 candidates require reconciliation with newer
119
+ source. Keep source tests, complete archives, installed origins/RECORD, native
120
+ workflows, canonical promotion, remote delivery and publication separate.
121
+ Do not read or mutate owner fonts, preferences, Output or global update queues.
122
+ Do not install or uninstall in the owner's FontLab user folder.
123
+ Preserve private configuration and source boundaries. Native work requires a
124
+ separate safe owned-fixture session under the workspace D30 checks and fences.
125
+ The D31 zone/master lane remains reserved. D29 generation/publication gates apply.
126
+
127
+ Qualified integration targets `main`.
128
+
129
+ ## Future plugin architecture
130
+
131
+ Issue 210 requires a specified bundle name and manifest contract before code.
132
+ App must own scaffolding, discovery, registration and lifecycle under
133
+ `fontlabapp.plugins`. Plugmix must own concrete bundles under
134
+ `Extensions/reporters`, `filters`, `tools` and `palettes`.
135
+ Discover the actual Extensions root. Test all four kinds, duplicate registration,
136
+ unload/reload, callback failures and owned teardown.
137
+
138
+ Register a Reporters palette and View > Reporters. Put tools in the toolbar and
139
+ Tools > Tool. Put palettes in Window > Panels. `install.vfpy` must prepare a
140
+ minimal startup hook while preserving existing `initScript.py` contents and
141
+ ownership. Prove this with owned fixtures before any owner installation.
142
+ Replace reporter-per-script activation only after discovery and self-registration
143
+ pass. Retain genuine action scripts. Four additional action scripts are optional.
144
+
145
+ Issue 211's nine native probes and four minor fixes remain follow-up work.
146
+ The README's dated native observations do not close those integrated checks.
147
+ The recovered App-based launchers retain their original product bytes. The
148
+ compatibility package is deliberately retained; removing it requires a complete
149
+ consumer/distribution/licence audit and qualified recovery. This additive
150
+ recovery does not finish consolidation or implement the future framework.
151
+
152
+ ## Issue 233 source/build-only documentation
153
+
154
+ Maintained site source is `src_docs/md`, configured by `src_docs/mkdocs.yml`;
155
+ `docs/` is generated output. Use a separate Python 3.13 docs environment, uv
156
+ 0.13.7 and the exact hash-locked requirements. Run `sh src_docs/build.sh` and
157
+ `python -m unittest discover -s tests_docs -v` with that environment on PATH.
158
+ Every main push builds exact source X, optionally makes a normal docs-only child
159
+ Y, and independently verifies immutable lineage, source identity, source epoch
160
+ and complete tracked/untracked generated parity. No private Pages permission,
161
+ configuration, deployment or automatic publication request is enabled.
162
+ Source/generated review, actual Actions, owner installation and native acceptance
163
+ remain separate. Do not change runtime dependencies, startup or recovery pins for
164
+ a site build.
165
+
166
+ ## Integration rounds
167
+
168
+ After each important round, independently verify the result, refresh the actual upstream main (or existing default branch), and reconcile concurrent team work in an isolated successor. Integrate qualified changes upstream through normal gates without force-pushing. Move only verified solved TODO items to cumulative CHANGELOG, update PLAN for remaining work, and continue the authorized backlog. Existing preservation rules, exclusions, pauses, native/install restrictions, private P/L holds and capability gates remain in force.
169
+
170
+ ## Agent workflow (Issue 250, 2026-11-10)
171
+
172
+ - Plan with `superpowers:subagent-driven-development`: one fresh implementer per task, a separate read-only reviewer, then the controller runs the gates and commits.
173
+ - Send bulk, well-specified work to Codex via the `codex-delegate` skill (`node ~/.agents/skills/codex-delegate/scripts/relay.mjs --brief BRIEF --cd WORKTREE`, in the background). Use `claude-delegate` or `cursor-delegate` for second opinions or independent lanes. Delegates never commit, push or tag.
174
+ - Work in a fresh worktree of `origin/main` on the workspace data volume; never pull, switch or reset the owner checkout. Merge `origin/main` again before pushing, keep both sides' CHANGELOG/PLAN/TODO entries, rerun the full suite, lint and graph change analysis, push through the pre-push hook where one is installed (never force), verify the remote SHA and the CI run where a workflow is configured. Held private Pages operations (workspace D41) stay held.
175
+ - Release: tag the next semver above the latest tag and publish a GitHub release. Install released, gated packages into `~/Library/Application Support/FontLab/FontLab 9/` and test live in FontLab 9. This owner route (Issue 250) supersedes, for released packages only, every older line in this guide that forbids installing into the FontLab user folder or its site-packages, owner-managed editable installs, or starting FontLab for a live test (the owner's canonical editable checkouts themselves stay owner-managed): record the previous installed distribution first so it can be restored, and never touch FontLab preferences (owner fonts and documents: see live font editing below); native work goes through the workspace `verification/issue-104/fl-native.sh` gate.
176
+ - Documents: CHANGELOG holds verified completed work; TODO only open or to-verify items; PLAN the major remaining changes; WORK.md the current round only (older WORK bytes are archived on the owner's workspace data volume, not public).
177
+ - Native defects: issues at github.com/fontlab/fl; fixes as pull requests to fontlab/Proteus, fontlab/FontGate or fontlab/pyfontgate. Never commit to the local C++ snapshot.
178
+ - Older "work directly" or "no delegation" lines in this guide are superseded by this section (Issue 250).
179
+ - Live font editing (owner, 2026-11-10; workspace D44): test, verify and edit the font open in FontLab 9, and do not stop because the owner might be working in it. Open a VFJ from `~/Desktop` first (those files are for agents), then add glyphs, kerning pairs, elements, contours, masters or whatever the test needs, and save them freely. This supersedes, for live testing, every older line here that forbids mutating owner fonts or documents or requires owned fixtures only. FontLab preferences, Output folders and global update queues stay untouched. Keep the serialized host lock (`fl-native.sh`, one native run at a time; `--mutating` now allows open fonts); do not quit or restart FontLab and do not close fonts from Python, which has crashed the host.