Changeset 16596 in niluje


Ignore:
Timestamp:
Oct 20, 2019, 12:21:07 AM (8 weeks ago)
Author:
NiLuJe
Message:

And add notes for Adobe Source Serif Pro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Kobo_Hacks/Patches/REMINDER

    r16589 r16596  
    105105export PATH="${PATH}:${HOME}/.local/bin"
    106106
    107 Clone Literata (https://github.com/googlefonts/literata)
     107# Clone Literata (https://github.com/googlefonts/literata)
    108108
    109109# Patch line-heights:
     
    142142
    143143NOTE: I would also tend to prefer the OTF variant to avoid a Cubic to Quadratic conversion (AA on the TTF variant might be *ever* so slightly darker, though).
     144
     145----
     146
     147Same deal w/ Adobe's Source Serif Pro
     148
     149# Install AFDKO
     150pip install --user -U afdko --pre
     151# Huh.
     152chmod -cvR a+x ${HOME}/.local/lib/python3.7/site-packages/psautohint/autohintexe
     153find ${HOME}/.local/bin/ -type f \! -perm /u+x -exec chmod a+x '{}' \+
     154
     155# Make sure that ends up in *front* of $PATH, to avoid a conflict with the Transifex client...
     156export PATH="${HOME}/.local/bin:${PATH}"
     157
     158# Clone it (https://github.com/adobe-fonts/source-serif-pro)
     159
     160# Patch line-heights:
     161sed -e 's/1036;/800;/g' -i familyTables.fea familyOS2.fea
     162sed -e 's#<integer>1036</integer>#<integer>800</integer>#g' -i */*/*/*.ufo/fontinfo.plist
     163sed -e 's/-335;/-200;/g' -i familyTables.fea familyOS2.fea
     164sed -e 's/335;/200;/g' -i familyOS2.fea
     165sed -e 's#<integer>-335</integer>#<integer>-200</integer>#g' -i */*/*/*.ufo/fontinfo.plist
     166sed -e 's#<integer>335</integer>#<integer>200</integer>#g' -i */*/*/*.ufo/fontinfo.plist
     167
     168# Rebuild:
     169./build.sh
Note: See TracChangeset for help on using the changeset viewer.