Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frankrolf/showdist
Robofont extension to show quick info about point selection.
https://github.com/frankrolf/showdist
point-distance python robofont-extension
Last synced: about 2 months ago
JSON representation
Robofont extension to show quick info about point selection.
- Host: GitHub
- URL: https://github.com/frankrolf/showdist
- Owner: frankrolf
- Created: 2014-09-04T16:14:30.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-07-31T09:20:24.000Z (5 months ago)
- Last Synced: 2024-10-13T11:13:02.500Z (2 months ago)
- Topics: point-distance, python, robofont-extension
- Language: Python
- Homepage:
- Size: 1.21 MB
- Stars: 16
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# showDist
**Robofont extension to show quick information about point- or anchor selection.**
This extension lives in a tiny space in the top left of the glyph window.
When two or more points are selected, the exension will show information about the horizontal and vertical distance between those points. If the points are not on a horizontal or vertical line, the extension will also show the diagonal distance and the angle between the selected points or anchors.Selection of a single point will return distances and angles of attached BCPs, selection of a single BCP will return distance and angle from that BCP to its base point. This information is interactively updated as points are dragged.
Note: If a selection consists of more than two points or anchors, the extension will show the values for the bounding box of the current selection.
- Version 1.2: add static BCP-length information
- Version 1.3: make selections in multiple windows possible
- Version 1.4: add interactive BCP-length information
- Version 1.7: fix angle direction, support rulers, properly remove observers
- Version 1.8: observer updates
- Version 2.0.0: Rewrite using Subscriber
- Version 2.0.1: bugfix
- Version 2.0.2: text is now following size and color of point coordinates
- Version 2.0.3: also consider anchor selections----
This extension (especially the text-in-window part) is heavily based on David Jonathan Ross’ [ShowMouseCoordinates](https://github.com/FontBureau/fbOpenTools/tree/master/ShowMouseCoordinates).
Installing this extension will activate it; it won’t show in any menus.
To remove the extension just delete `showDist.roboFontExt` from the extensions folder.Released under MIT license.