Unicode Checker https://earthlingsoft.net
counting in hex, decimal, and binary:

Andy Clymer’s explanation of Hexadecimal numbers: http://andyclymer.com/cooper/hexadecimal.html
| ''' | |
| Command-line script to add accented glyphs to a UFO, based on glyph names and anchors existing in the font | |
| ss_dummy.ufo | |
| ''' | |
| from fontParts.fontshell import RFont | |
| from fontTools import agl | |
| def anchor_offset(base_anchor_name, base_glyph, mark_glyph): | |
| ''' |
| """ | |
| contextual menu entry to edit RamsaySt neighbors directly in the glyph window | |
| """ | |
| import objc | |
| import ezui | |
| from AppKit import NSObject | |
| from mojo.subscriber import Subscriber, registerGlyphEditorSubscriber | |
| from lib.tools.debugTools import ClassNameIncrementer |
Unicode Checker https://earthlingsoft.net
counting in hex, decimal, and binary:

Andy Clymer’s explanation of Hexadecimal numbers: http://andyclymer.com/cooper/hexadecimal.html
| ''' | |
| I never understand affine transformations, which is why I made this little | |
| script here. | |
| basic docs: | |
| https://fonttools.readthedocs.io/en/latest/misc/transform.html | |
| rf docs (explains how to convert normal operations (rotate, scale) to | |
| affine transformations): | |
| https://doc.robofont.com/documentation/topics/transformations/ |
| a b c | |
| uni2318 |
| ''' | |
| Contextual menu items for RoboFont’s font overview window | |
| ''' | |
| from AppKit import NSPredicate | |
| from mojo import smartSet | |
| from mojo.roboFont import CurrentFont | |
| from mojo.subscriber import ( | |
| getRegisteredSubscriberEvents, |
| ''' | |
| Robofont: which shortkeys are assigned to what action? | |
| ''' | |
| import AppKit | |
| import itertools | |
| import mojo | |
| import re | |
| from pathlib import Path |
| ''' | |
| Avoid offcurve start points | |
| ''' | |
| from fontTools.ufoLib.pointPen import PointToSegmentPen | |
| def find_offcurve_start(glyph): | |
| ''' | |
| compare coordinates of first bPoint to coordinates of first point |
| ''' | |
| toggle bcp selection | |
| ''' | |
| def toggle_bcp_selection(bcp): | |
| pts = bcp.contour.points | |
| p_prev = pts[(bcp.index - 1) % len(pts)] | |
| p_prev_2 = pts[(bcp.index - 2) % len(pts)] | |
| p_next = pts[(bcp.index + 1) % len(pts)] |
| from importlib import reload | |
| import glyph_move_selection_forward | |
| reload(glyph_move_selection_forward) | |
| g = CurrentGlyph() | |
| glyph_move_selection_forward.move_index(g, -1) |