Skip to content

HugoJourdan/Glyphs-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glyphs Script

Some Python scripts to be used with the Glyphs font editor, written by Hugo Jourdan.

⚓ Anchors

  • Delete Anchors in all Masters for Selected Glyphs

💿 App

  • Toggle Preview Blur : Useful if used with shortcut.
  • Toggle Reporters : Show/Hide all activated reporters.
  • CleanMyGlyphs : All-in-one script to make your Glyphs file sparkle. It cleans up megatons of rubbish and makes your file look brand new. Just like the first day.

🌈 Color Label

Script for colour labels. Useful if you assign a keyboard shortcut to them

  • Set LayerColor to [XXX] : Change LayerColor to all Selected Glyph
  • Update LayerColor of full Component Glyph : If a Glyph is made only with components, and if these components share same layer color label, sync it to the glyph.
  • Remove ColorLayer for Selected Glyph in All Masters
  • Swicth LayerColor to GlyphColor : If all layers of a Glyph has same LayerColor, set GlyphColor same and remove LayerColor Labels.
  • Copy GlyphColor to None LayerColor : Copy GlyphColor to LayerColor is layer doesn't have Color Label.

🧩 Components

  • Propagande Component to other Masters : Copy components of selected layer to other masters if missing.
  • Remove all Corner Component for Selected Master

🔁 Export

  • Export Trial Version : Export Trial version
  • Group and Rename Exports : Generate "FileName" and "Export Folder" CP for each instances.

ℹ️ Font Info

  • Set Axis Location for all masters and instances : Set "Axis Mapping" Custom Parameter in Font. For axes [wght] and [wdth], values are based on usWeightClass/usWidthClass from Exports. For custom axe, values are based on axes value from Exports. If the font has masters corresponding exports, it will set "Axis Location" Custom Parameter to masters with value based on them.
    WeightClass and WidthClass values follow OpenType OS/2 specification"

  • Set Axis Location for all masters and instances : Set Axis Location for all masters and instances based on Weight Class and Width Class. (Only set Axis Location to master if they share same axe values as Insstance)

📏 Guide

  • Create Guides for Marks : Create global guides based on circumflex position in  and â. Guides are visible only in Uppercase and Lowercase.

🎛️ Instance

  • Show Only Active Instances : Show only active Instances in Preview.

🔖 Layer

  • Clear Selected Glyph in all Masters
  • Delete Special Layers for Selected Glyph
  • Selects points above selection
  • Selects points below selection
  • Selects points right selection
  • Selects points left selection
  • Vertically Center Manager : User interface to vertically align layers to your vertical metrics.

🆎 Kerning

  • Report missing revelant Kerning Pairs : Report a list of possible revelant kerning pair missing for selected Master in Sample Strings array. It use data from Reveland Kerning Raw.json by André Fuchs (@andre-fuchs)

🫴 Selection

  • Selected point handles

↔️ Spacing

  • Spacing String Maker

🪟 Tabs

  • Fit tab in EditView