12 Commits

Author SHA1 Message Date
Ben Harris
77efacaa0a Add some SPDX-License-Identifier headers
In places where they don't get in the way.
2024-10-24 00:01:26 +01:00
Ben Harris
fcbb3c8d90 Minimally-functional code for expanding dots.
It takes a little bit of effort to avoid segfaulting FontForge, and so
currently Bedstead Plotter Thin has dots in the middle of its dots.
These probably shouldn't stay.
2018-03-08 22:33:36 +00:00
Ben Harris
f438f9ad7e strokefont: Slightly clean up chiseltip invocation 2018-03-06 21:39:47 +00:00
Ben Harris
12127d0a04 strokefont.py: Set SFNT "Preferred Family"
At present, this is just the same as the family name.
2018-03-06 21:35:35 +00:00
Ben Harris
dd3c9d4845 Skeleton code for adjusting dots in plotter fonts.
In light fonts, they end up almost invisible, but I have a plan.
2018-03-03 20:46:26 +00:00
Ben Harris
43c895f9ac When stroking a font, adjust the BlueValues accordingly. 2017-11-26 22:53:00 +00:00
Ben Harris
a0feec7f38 Improve nib shape for Bedstead Chiseltip.
It's now an integer approximation to the original 20° 100×50 rectangle
that I first used.
2017-08-18 22:46:41 +01:00
Ben Harris
ebceeb0166 Set underline width for stroked fonts. 2017-08-18 22:46:18 +01:00
Ben Harris
b83df76033 strokefont: Better font name handling
This gets the PostScript names right.  TTF names are more difficult.
2017-08-12 10:05:52 +01:00
Ben Harris
f7290084a3 strokefont: Set StdHW and StdVW appropriately to pen. 2017-08-12 09:41:01 +01:00
Ben Harris
f43c450449 strokefont: More object-oriented approach.
Now we have one class for each broad class of stroked font.  I think
this will be easier to manage.
2017-08-12 09:25:56 +01:00
Ben Harris
2c5fc3b5bc Beginnings of a script to stroke fonts.
The plan is that bedstead.c will produce a single-path font and then
this script will stroke it in various ways, adapting the font metadata
appropriately.
2017-08-12 00:04:22 +01:00