- Python 65%
- HTML 26.2%
- TeX 7.9%
- Shell 0.5%
- CSS 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| alterations | ||
| ascii_debug_out | ||
| experiments | ||
| experiments-v01 | ||
| output | ||
| styled_fonts | ||
| Amiri-Bold.ttf | ||
| Amiri-BoldItalic.ttf | ||
| Amiri-Italic.ttf | ||
| Amiri-Regular.ttf | ||
| check-glyphs.py | ||
| Cheiro-Regular.eot | ||
| Cheiro-Regular.svg | ||
| Cheiro-Regular.ttf | ||
| Cheiro-Regular.woff | ||
| Cheiro-Regular.woff2 | ||
| Clypto-Regular.eot | ||
| Clypto-Regular.svg | ||
| Clypto-Regular.ttf | ||
| Clypto-Regular.woff | ||
| Clypto-Regular.woff2 | ||
| comparison-tree.txt | ||
| CursiveGalactic-Regular.g2n | ||
| CursiveGalactic-Regular.ttf | ||
| dactyl.ttf | ||
| debug.py | ||
| demo.html | ||
| detailed-errors.log | ||
| errors.log | ||
| file-list.txt | ||
| findings.txt | ||
| font-experiment-viewer.html | ||
| font-manifest.json | ||
| FONTLOG.txt | ||
| get_tree.sh | ||
| glyph-test.txt | ||
| LICENSE | ||
| Lingojam_cipher-Regular.ttf | ||
| Logico_philosophicus-Regular.g2n | ||
| Logico_philosophicus-Regular.ttf | ||
| make-font-manifest.py | ||
| make_degradation_doc.py | ||
| make_experiments-v01.py | ||
| make_experiments.py | ||
| NovaMonoStandardGalactic.ttf | ||
| README.md | ||
| sample_sequence.py | ||
| Sga-Regular.eot | ||
| Sga-Regular.g2n | ||
| Sga-Regular.svg | ||
| Sga-Regular.ttf | ||
| Sga-Regular.woff | ||
| Sga-Regular.woff2 | ||
| sga_jitter.html | ||
| shapeform.g2n | ||
| shapeform.ttf | ||
| source.txt | ||
| stylesheet.css | ||
| Systada-Regular.eot | ||
| Systada-Regular.svg | ||
| Systada-Regular.ttf | ||
| Systada-Regular.woff | ||
| Systada-Regular.woff2 | ||
| Systada.g2n | ||
| Systada.ttf | ||
| transform-v2.py | ||
| transform-v3.py | ||
| transform.py | ||
Procedural Typography Laboratory
A collection of custom fonts, experimental font transformations, degradation sequences, visualization tools, and document-generation utilities built on FontTools.
The project explores the idea that typography can be treated as a dynamic process rather than a fixed object. Fonts become trajectories. Glyphs become evolving structures. Documents become experiments in legibility, decay, distortion, erosion, collapse, and transformation.
Repository Overview
The repository contains:
- Original fonts
- Styled variants
- Experimental transformations
- Automated sequence generators
- Compound degradation models
- HTML preview tools
- LaTeX degradation-document generators
- Diagnostic and debugging utilities
Installation
Python Dependencies
pip install fonttools
Optional:
pip install brotli
pip install lxml
For LaTeX generation:
sudo apt install texlive-full
or at minimum:
sudo apt install texlive-luatex
Repository Layout
Original Fonts
Examples:
Sga-Regular.ttf
Systada-Regular.ttf
NovaMonoStandardGalactic.ttf
Cheiro-Regular.ttf
Clypto-Regular.ttf
shapeform.ttf
dactyl.ttf
These serve as source material for transformations.
Styled Fonts
styled_fonts/
Contains manually generated style variants:
bold
italic
expand
condense
outline
shadow
Experimental Variants
experiments/static/
Contains one-off transformed fonts.
Examples:
jitter
wave
quantize
shear
collapse
droop
dropout
asc_evap
Transformation Sequences
experiments/sequences/
Each directory contains a progressive transformation.
Example:
Sga-Regular_jitter_seq/
Sga-Regular_jitter_000.ttf
Sga-Regular_jitter_001.ttf
...
Sga-Regular_jitter_007.ttf
Sequence 000 is closest to the original.
Sequence 007 is the most transformed.
These are intended for animation, visualization, or document degradation experiments.
Compound Transformations
experiments/compound/
Contains multi-stage degradation models.
Examples:
full_decay
dissolution
wave_erosion
geological
These combine multiple transformations into a single progression.
Generating Experimental Fonts
Main generator:
python make_experiments.py
This creates:
experiments/static/
experiments/sequences/
experiments/compound/
depending on configuration.
Generated fonts are normalized before saving to prevent coordinate overflow.
Checking Glyph Integrity
python check-glyphs.py
Used to verify:
- Missing glyphs
- Broken contours
- Coordinate issues
- Encoding problems
Debugging Font Generation
Logs:
errors.log
detailed-errors.log
Common failure:
Value does not fit in format h
This means transformed coordinates exceeded the TrueType signed 16-bit range.
The generator should normalize coordinates before writing.
Previewing Fonts
HTML Preview
Generate a visual contact sheet:
python sample_sequence.py \
--fonts experiments/sequences/Sga-Regular_jitter_seq \
--out preview.html
Open:
firefox preview.html
or
python -m http.server
then visit:
http://localhost:8000
Creating Typographic Degradation Documents
The repository includes:
make_degradation_doc.py
This converts a sequence of fonts into a progressively mutating document.
Example:
python make_degradation_doc.py \
--fonts experiments/sequences/Sga-Regular_jitter_seq \
--text source.txt \
--granularity paragraph \
--out output
Granularity Modes
Paragraph
Each paragraph receives a different font.
--granularity paragraph
Sentence
Each sentence receives a different font.
--granularity sentence
Word
Each word receives a different font.
--granularity word
This often creates striking degradation effects.
Page
Fonts change every simulated page.
--granularity page
Compiling Generated Documents
After generation:
cd output
lualatex main.tex
Output:
main.pdf
The PDF gradually transitions through the font sequence.
Example Experiments
Information Decay
Use:
full_decay
to simulate archival deterioration.
Geological Drift
Use:
geological
to create slow structural mutation.
Signal Corruption
Use:
dropout
or
collapse
to model information loss.
Wave Distortion
Use:
wave
or
wave_erosion
to simulate transmission instability.
Research Directions
Potential applications include:
- Procedural typography
- Experimental publishing
- Visual cryptography
- Artificial writing systems
- Information decay studies
- Archival aesthetics
- Legibility experiments
- Computational paleography
- Dynamic manuscripts
- Generative art
Typical Workflow
Generate transformations:
python make_experiments.py
Inspect sequences:
python sample_sequence.py \
--fonts experiments/sequences/Sga-Regular_jitter_seq
Generate a document:
python make_degradation_doc.py \
--fonts experiments/sequences/Sga-Regular_jitter_seq \
--text source.txt
Compile:
cd output
lualatex main.tex
Study the resulting progression from stable typography to transformed typography.
License
See:
LICENSE
for licensing information.