Skip to content

rhaeguard/phont

Repository files navigation

phont

A very basic True-Type Font rendering.

phont_video.mp4

setup

From within the root directory:

pip install -r requirements.txt
python main.py

todo??

  • Incorporate the metrics properly
  • Antialiasing (it's a very simple subpixel antialiasing)
  • Blinking cursor to show the position.
    • Allow moving cursor
  • Open a file
  • UI to allow users to select different fonts or open files
    • Allow more controls over the font size, color, etc.
  • Read the font contents without a special library (fonttools in this case)

fonts used for experimenting

I do not own any of the fonts used in this repository. All the fonts are used for experimentation purposes and no commercial use.