Changeset 17623 in niluje


Ignore:
Timestamp:
Jul 31, 2020, 1:47:38 AM (9 days ago)
Author:
NiLuJe
Message:

Kobo Stuff:

  • More Literata shenangians…
File:
1 edited

Legend:

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

    r17617 r17623  
    173173
    174174sed -re 's/(stylename=")[[:digit:]]{1,2}?pt ([[:alpha:] ]*?")/\1\2/g' -i *.designspace
    175 sed -e 's:filename="instance_ufo/Literata-:filename="instance_ufo/Lit3rata-:g' -i *.designspace
     175sed -e 's:filename="instance_ufo/Literata:filename="instance_ufo/Lit3rata:g' -i *.designspace
    176176sed -re 's:<string>[[:digit:]]{1,2}?pt ([[:alpha:] ]*?)</string>:<string>\1</string>:g' -i *.ufo/fontinfo.plist
    177177
     
    221221        #       since this would fix it, too...
    222222        # Start by stripping the optical size from the filename to make gftools happy...
    223         tmp_font="$(echo "${font}" | sed -re 's:Lit3rata-[[:digit:]]{1,2}pt:Lit3rata-:')"
     223        tmp_font="$(echo "${font}" | sed -re 's:Lit3rata[[:digit:]]{1,2}pt-:Lit3rata-:')"
    224224        mv -v "${font}" "${tmp_font}"
    225225        gftools nametable-from-filename "${tmp_font}"
Note: See TracChangeset for help on using the changeset viewer.