Is there a non-manual way to remove horizontal TT instuctions in FontLab

Martin Wenzel
Martin Wenzel Posts: 48
edited August 2015 in Type Design Software
Hi,

Maybe I’m lucky and there is a way to remove all horizontal TT instructions (controlling the vertical stems and margins) in FL, using a script for example. I'm afraid I'm not familiar with non-robofab python. Any pointer greatly appreciated. (I'm currently messing around with Adobe’s TrueType scripts for FL (from github) but they do not support hinted sidebearings.)

Thanks,
Martin

Comments

  • Here's a FLS5 Python script that does that.  
    The same method can be used to just remove any specific types of instructions — just add a new list into the tthCodes dict and list your commands there. 
  • Hi Adam,

    Thank you, that’s perfect.

    Best,
    Martin