Skip to content

Instantly share code, notes, and snippets.

@ctrlcctrlv
Last active May 28, 2019 04:42
Show Gist options
  • Save ctrlcctrlv/b73de5420cc712893dc7b01cdd9e0c2d to your computer and use it in GitHub Desktop.
Save ctrlcctrlv/b73de5420cc712893dc7b01cdd9e0c2d to your computer and use it in GitHub Desktop.
Style A for TT2020 font.

Style A

For each character:

  1. Export as SVG.
  2. Open SVG in Inkscape.
  3. Export PNG image at 600 DPI.
  4. Add layer mask (white). (gimp-layer-add-mask)
  5. Select layer mask. (gimp-layer-set-edit-mask)
  6. Filters→Render→Noise→Plasma… Turbulence 4.5. (plug-in-plasma)†
  7. Adjust Brightness and Contrast. Brightness 50. Contrast 127. (gimp-brightness-contrast)
  8. Apply layer mask. (gimp-layer-remove-mask, MASK-APPLY)
  9. Alpha to selection. (gimp-image-select-item)
  10. Select→Distort… Threshold 127, Spread 12, Granularity 12, Smooth 1. (script-fu-distress-selection)
  11. New layer. (gimp-image-add-layer)
  12. Delete old layer. (gimp-image-remove-layer)
  13. Bucket fill selection. (gimp-edit-bucket-fill)
  14. Export to PNG. (file-png-save-defaults)
  15. Re-import to FontForge.
  16. Auto trace, ignore white, default settings.

† Random seed should be of sequence 11, 22, 33, 44 … 99, 111, 222, 333, 444, … 999, 1111.

@ctrlcctrlv
Copy link
Author

ctrlcctrlv commented May 28, 2019

Two example glyph generated using the Style A formula with differing seeds (11, 22).

Input:

Output:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment