HOME | DD

VanDerPhunck — Hershey font renderer in AVS

Published: 2004-08-10 10:54:17 +0000 UTC; Views: 530; Favourites: 0; Downloads: 113
Redirect to original
Description A vector font writer for AVS. (using SSCs)

ABOUT HERSHEY FONTS: [link]

Here's an example where i use this code in a scroller: [link]


The conversion script is written for matlab (Sorry about that).. I should have written it in vbs or something. Anyway it works... If you'd like a different font but is unable to use my converter script, please let me know ... I might do it for you.


the vectorfonts are stored in 2 megabuf tables: chardir and chardata...

chardata contains the coordinates of the fonts only. if a line to a point should be skipped, then the coordinate is is stored as (x-100,y-100)


chardir contains contains 4 values per ascii value:
* first coordinate index in chardata
* number of coordinates
* left spacing
* right spacing


Feel free to use this in your own visualizations but give me credit for it please.
Related content
Comments: 1

default-cube [2015-11-22 23:20:27 +0000 UTC]

Easier to use the Hershey fonts with Python these days.

👍: 0 ⏩: 0