alt-hack icon indicating copy to clipboard operation
alt-hack copied to clipboard

Add command line argument support to patch-hack.sh patching script

Open chrissimpkins opened this issue 6 years ago • 4 comments

@vl4dimir any interest in adding support for command line options to specify the patched glyph names and the repo root path? This would permit automation with this script (including the release of patched alternate versions of Hack) and would support CI testing of the source patch process.

chrissimpkins avatar Sep 05 '18 03:09 chrissimpkins

@chrissimpkins Sure, sounds like an easy enough change. However I'll be away from my main dev machine for the next two weeks, I can take a look into it after I'm back.

vl4dimir avatar Sep 05 '18 11:09 vl4dimir

No worries and no rush. I am thinking that we can create a set of shell scripts that build desirable combos with the available alternates in this repository. As we continue to expand the alternate selections here we can expand those scripts as well.

chrissimpkins avatar Sep 05 '18 12:09 chrissimpkins

No worries and no rush. I am thinking that we can create a set of shell scripts that build desirable combos with the available alternates in this repository. As we continue to expand the alternate selections here we can expand those scripts as well.

I'm currently working on this. I have a Common Lisp Roswell script going. Unfortunately I have been unable to get woff2 working on my system (it is searching for $HOME/woff2/woff2_compress, which is strange).

equwal avatar Nov 19 '19 01:11 equwal

Here is the permutation spec I am working with:

'((curve "u0028-curved" "("
      "u0029-curved" ")")
     (round "u0028-rounder" "("
      "u0029-rounder" ")")
     (backslash "u0030-backslash" "0")
     (diamond "u0030-diamond" "0")
     (dot "u0030-dotted" "0")
     (forwardslash "u0030-forwardslash" "0")
     (noslab1 "u0031-noslab" "1")
     (flattop3 "u0033-flattop" "3")
     (wider "u003C-wider" "<"
      "u003E-wider" ">")
     (knife "u0066-knife" "f")
     (slabi "u0069-slab" "i"
      "u00EC-slab" "ì"
      "u00ED-slab" "í"
      "u00EE-slab" "î"
      "u00EF-slab" "ï"
      "u0129-slab" "ĩ"
      "u012B-slab" "ī"
      "u012D-slab" "ĭ"
      "u012F-slab" "į"
      "u0131-slab" "ı"
      "u0456-slab" "і"
      "u0457-slab" "ї"))
./generate.ros knife backslash slabi

To get the knife f, backslash 0, and slabbed i.

equwal avatar Nov 19 '19 01:11 equwal