Some useful strings and tools to use in spacing and kerning type.
(Text wasn't directly given, so this is what I remember).
Useful to adapt slightly as needed, but it's helpful that it's a simple, brief set of tests.
| from vanilla.dialogs import * | |
| from mojo.UI import AskString | |
| from mojo.UI import OutputWindow | |
| import pprint | |
| ######## Spaced-separated list of glyphs to ignore in check (e.g. experimental glyphs) ######## | |
| glyphsToIgnore = "" | |
| ############################################################################################### |
| { | |
| "version": "2.0.0", | |
| "tasks": [ | |
| { | |
| "label": "Run in RoboFont", | |
| "type": "shell", | |
| "command": "robofont", | |
| "args": [ | |
| "-p", | |
| "${file}" |
Some useful strings and tools to use in spacing and kerning type.
(Text wasn't directly given, so this is what I remember).
Useful to adapt slightly as needed, but it's helpful that it's a simple, brief set of tests.
This is my code for the miniKbd, customized from the TwoEncoder-Multimode starter setup.
In mode 1, it controls macOS system music – play/pause, up/down volume, and skip/prev song.
In mode 2, it controls the Chrome extension Video Speed Controller – play/pause, skip forward/back by 5 seconds, and speed increase/decrease.
To avoid existing shortcut keys on Vimeo, I have separately configured the Video Speed Controller settings to use W for decrease speed and E for increase speed.
| # requires XMLstarlet: https://brewformulas.org/Xmlstarlet | |
| # requires gftools: pip install git+https://github.com/googlefonts/gftools | |
| # updates isFixedPitch attribute 'value' from 0 to 1 on OpenType POST table | |
| # | |
| # USAGE: | |
| # TTX a file in the family to see its current version number in nameID 5 | |
| # $ ttx -t name <font_path> | |
| # then, on the command line, run: | |
| # $ chmod +x <relative_path>/set-is_fixed_pitch.sh |
| /*! Github Dark v1.20.78 (2018-10-30) */ | |
| /*! Repository: https://github.com/StylishThemes/GitHub-Dark */ | |
| /*! Userstyle: http://userstyles.org/styles/37035 */ | |
| /*! License: https://creativecommons.org/licenses/by-sa/4.0/ */ | |
| /* Override default browser styles */ | |
| button { | |
| color: #b5b5b5 !important; | |
| } |
| --- | |
| version: 1.0 | |
| domains: | |
| - docu.glyphsapp.com | |
| url_patterns: | |
| - docu.glyphsapp.com/* | |
| timestamp: '2018-12-18T23:54:21Z' | |
| id: UWuj | |
| redirect_url: https://docu.glyphsapp.com/Core/Classes/GSFontMaster.html | |
| shared_via: StyleURL - (https://www.styleurl.app) import and export CSS changes from |
| # ------------------------------------------------- | |
| # -- set vars below ------------------------------- | |
| # note: "em" probably offers better control | |
| units="px" | |
| # provide a media query granularity (in pixels) | |
| granularity = 25 | |
| # provide start & end viewport widths |
| /* ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */ | |
| /* Use with the Stylus Chrome extension */ | |
| /* Paste it into a Stylus style for URLs starting with https://mail.google.com */ | |
| /* (Probably won't work forever, but works as of November 2018) */ | |
| /* ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ */ | |
| /* =========================================================================== */ |
| /* Make GMail more readable on large screens with centered column and SF typeface for all text */ | |
| /* Based on a Styus doc by @weiweihuanghuang */ | |
| /* Use with https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne */ | |
| body, | |
| input, | |
| textarea, | |
| select, | |
| * | |
| { |