u/JetSerge

Image 1 — CrossGlyph: font converter for CrossPoint with pixel accurate live preview
Image 2 — CrossGlyph: font converter for CrossPoint with pixel accurate live preview
Image 3 — CrossGlyph: font converter for CrossPoint with pixel accurate live preview
Image 4 — CrossGlyph: font converter for CrossPoint with pixel accurate live preview
▲ 48 r/XTEINK

CrossGlyph: font converter for CrossPoint with pixel accurate live preview

https://github.com/CrazyCoder/crossglyph

I've been working on a font converter with advanced options to fine tune the fonts and see the result in real time before you drop the files on the SD card.

It uses the exact code from the CrossPoint rendering core, so it produces the same result as you will see on the actual device running the latest firmware.

Changing any setting renders in 10 to 100ms.

It works locally on your machine: Windows, macOS or Linux in portable mode. Download, unpack, run ./crossglyph.sh or crossglyph.cmd. It will download the runtime and dependencies (uv->python->libraries) once and open your browser for the UI on localhost.

You can also run it in the Docker container mode, self hosted on your server or local for isolation, just mount your workspace folder with the fonts. Helper scripts provided.

Default converters support only font size and a couple more options. CrossGlyph exposes 14 advanced FreeType rasterizing settings.

  • It has grayscale hinting option which uses an older engine that works better for grayscale screens as the default one is tuned for cleartype color rendering
  • Mono rasterizing is very useful if you prefer reading without antialiasing
  • You can also tune line/word/letter spacing, gamma, weight, etc
  • It also has 1/4 fractional font size settings which can help fit the font into pixel grid better
  • Variable width fonts like Merriweather and Bitter are also supported
  • It can even render modern Arabic fonts

Export option builds all your configured fonts at once in multithreaded mode, so it's pretty fast even for many fonts and sizes.

And you can build two fonts from one with a suffix (to cover 8 sizes with finer steps if you want).

Press and hold a mouse on the preview to peek before/after.

Enjoy!

u/JetSerge — 1 day ago

CrossGlyph: font converter for CrossPoint with pixel accurate live preview

https://github.com/CrazyCoder/crossglyph

I've been working on a font converter with advanced options to fine tune the fonts and see the result in real time before you drop the files on the SD card.

It uses the exact code from the CrossPoint rendering core, so it produces the same result as you will see on the actual device running the latest firmware.

Changing any setting renders in 10 to 100ms.

It works locally on your machine: Windows, macOS or Linux in portable mode. Download, unpack, run ./crossglyph.sh or crossglyph.cmd. It will download the runtime and dependencies (uv->python->libraries) once and open your browser for the UI on localhost.

You can also run it in the Docker container mode, self hosted on your server or local for isolation, just mount your workspace folder with the fonts. Helper scripts provided.

Default converters support only font size and a couple more options. CrossGlyph exposes 14 advanced FreeType rasterizing settings.

  • It has grayscale hinting option which uses an older engine that works better for grayscale screens as the default one is tuned for cleartype color rendering
  • Mono rasterizing is very useful if you prefer reading without antialiasing
  • You can also tune line/word/letter spacing, gamma, weight, etc
  • It also has 1/4 fractional font size settings which can help fit the font into pixel grid better
  • Variable width fonts like Merriweather and Bitter are also supported
  • It can even render modern Arabic fonts

Export option builds all your configured fonts at once in multithreaded mode, so it's pretty fast even for many fonts and sizes.

And you can build two fonts from one with a suffix (to cover 8 sizes with finer steps if you want).

Press and hold a mouse on the preview to peek before/after.

Enjoy!

u/JetSerge — 1 day ago