Skip to content

About

LFF (LibreCAD Font File) library in Python

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

python-lff

LFF (LibreCAD Font File) library in Python

Features:

  • 🧩 Parse LFF file
  • 📝 Write LFF file with specific precision
  • 🔧 Tuning LFF in various way
    • 🪺 NestedChar: find nested char in glyphs
    • 0️⃣ ZeroVector: remove two identidy vertex
    • 🎯 RoundVertex: round vertex to nearby grid
    • 🔄 MergePath: merge path with same vertex
    • 🚫 NoComment: remove comment for glyphs

TODO:

  • Use multi-thread or concurrent for NestedChar algorithm

Usage

parse and write LFF, optional tuning LFF:

python -m lff <LFF>

Tuning LFF in batch

python -m lff.tuning <LFF>

License

python-lff is licensed under GNU GPLv2, same as LibreCAD

About

LFF (LibreCAD Font File) library in Python

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages