Ben Harris
efa7c75586
Correct the name of ordfeminine in df.ps as well.
2017-11-26 10:30:55 +00:00
Ben Harris
fcd5771e00
New, better invsmileface glyph.
2017-11-26 10:28:55 +00:00
Ben Harris
2536b614a2
Python 3 compatibility for the editor.
...
It still works in Python 2.7 as well.
2017-11-26 10:21:52 +00:00
Ben Harris
c33fc255ec
New unhappy face glyph.
...
It was the only missing face in the BMP.
2017-11-26 10:04:37 +00:00
Ben Harris
5723961091
U+2126 OHM SIGN
2017-11-24 22:20:25 +00:00
Ben Harris
88348059ee
Add U+2044, "fraction".
...
I think that completes StandardEncoding.
2017-11-24 22:04:13 +00:00
Ben Harris
f09162f992
Assorted accents from StandardEncoding.
2017-11-24 22:00:40 +00:00
Ben Harris
c3842c2963
Add "fi" and "fl" ligatures.
...
Not actually enabled as ligatures, since that would be silly, but some
character sets want them as presentation forms.
2017-11-24 21:38:42 +00:00
Ben Harris
08e561d2e3
Add capital schwa glyph.
...
I keep seeing it in Commons filenames written in Azerbaijani.
2017-11-21 22:50:02 +00:00
Ben Harris
458304cb30
Add partialdiff glyph.
...
It's part of Mac Roman, and probably some other interesting encodings.
2017-11-21 22:17:37 +00:00
Ben Harris
fc04f77124
Add the tab-key glyph.
...
Because it's just about possible.
2017-11-21 11:43:30 +00:00
Ben Harris
f26a79bb56
Subset and superset symbols.
...
The proper subset symbol is only slightly different from lower-case C,
but I think that's inevitable.
2017-11-21 11:28:15 +00:00
Ben Harris
c9d168e234
Large mathematical operators: summation, product, and integral.
...
All of these span the full height of the character cell, since that way
they'll work equally badly with subscripts and superscripts.
2017-11-21 11:21:35 +00:00
Ben Harris
75e04065fb
A tolerable perthousand sign.
...
I've made so many bad attempts at this character that this feels like
a win. Also, it's an annoyingly common character in character sets
I'd like to cover.
2017-11-06 00:50:16 +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
6270d56611
Set the "H" flag on all glyphs in SFD files.
...
This turns out to be all it takes to get FontForge to autohint fonts
on generation. FontForge's autohinter isn't perfect, but it's pretty
good and certainly better than anything else I've got.
2017-08-12 10:11:28 +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
9a93b07e13
Makefile machinery for stroked fonts.
2017-08-12 09:36:43 +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
Ben Harris
63b418811a
A scattering of additional characters from Latin Extended-A.
2017-08-09 23:25:04 +01:00
Ben Harris
7864d4d1c8
Clip character names to boxes in glyph complement.
...
Ideally, I'd do something more elegant with over-long glyph names, but
at least keeping them in the boxes doesn't look terrible.
2017-08-09 22:23:48 +01:00
Ben Harris
6a099893dd
Add U+0149, "napostrophe".
...
That's the only character that Font Library says is missing for
supporting Afrikaans, so I may as well implement it even if Unicode
does say its use is strongly discouraged.
2017-08-09 22:03:56 +01:00
Ben Harris
051d1c662c
Emit open contours starting at the beginning.
...
Before this change, emit_path() would emit contours starting at
whichever point was earliest in the points array. That was fine for
closed contours, but it meant the open contours tended to be emitted
in multiple parts. Now it first searches for start points of open
contours and emits those, and then does what it used to do to emit the
remaining (closed) ones. This has no effect (other than to slow
things down a bit) for fully-closed paths like those in outline
versions of Bedstead, but it makes the stroked ones much cleaner. Now
a contour can only end at a tip or at a 3-way junction.
2017-08-08 23:23:55 +01:00
Ben Harris
82d22a5289
It's the future: C has a boolean type.
2017-08-08 22:26:58 +01:00
Ben Harris
bc10355aa5
Extract code to emit a single contour from emit_path().
...
I want to make emit_path() more complex, so pulling out this obvious
unit seems wise.
2017-08-08 22:25:05 +01:00
Ben Harris
bfd3fbdbf7
Quick note on patent describing character rounding technique.
2017-08-08 22:12:59 +01:00
Ben Harris
9a7866ad1b
Additional characters for Polish.
...
Thanks to <http://www.twardoch.com/download/polishhowto/ > for
guidance. All misinterpretations are my own. One character is
missing because I still don't have a good way to do an accented
capital S.
2017-08-08 01:33:16 +01:00
Ben Harris
a9d3d9660a
Remove explicit mention of Dwarf Fortress files from "all" target.
...
They're pulled in by $(DISTFILES) anyway.
2017-08-08 00:55:54 +01:00
Ben Harris
1abfbc4307
Don't generate BDF for non-default fonts.
...
The other widths will generate terrible bitmaps, so just don't bother.
2017-08-08 00:37:06 +01:00
Ben Harris
8cb534f2f0
Don't generate PFA and AFM files by default, and don't ship them.
...
They were only built because I didn't know how to make Ghostscript
use OTF files directly. Now that I do, there's no need to keep
them, so dropping them for 002.000 makes sense.
2017-08-08 00:29:47 +01:00
Ben Harris
e3711118a2
Better TTF name generation.
...
Now more-correctly generate family/subfamily names, both the versions
for programs that can't handle much variety (IDs 1 and 2), and the
proper typographic ones (IDs 16 and 17). This should stop "Medium"
turning up in my font selector.
2017-08-07 23:37:17 +01:00
Ben Harris
d3a6dc5ebe
Quick notes on stroking with FontForge.
2017-08-07 01:50:47 +01:00
Ben Harris
beda7a12f3
Fix FontForge Makefile rules to work properly.
...
When generating secondary targets, they still need to pass the name of
the primary target to FontForge.
2017-08-06 23:12:09 +01:00
Ben Harris
dd7d33d90d
Add *.afm to the list of things cleaned by "make clean".
2017-08-06 22:59:48 +01:00
Ben Harris
d6b14dd2ee
Remove alternate arrows.
...
While pretty, they were inauthentic and awkward to use. This also
removes the 'salt' lookup, which was inappropriate anyway.
2017-08-06 21:33:11 +01:00
Ben Harris
be6345ccad
Add default suffices to ss* lookups.
...
They aren't used as yet, but maybe a bit of extra FontForge scripting
will enable me to avoid searching for glyphs myself.
2017-08-06 21:28:26 +01:00
Ben Harris
7f6d1b8abc
Add explicit BlueValues, OtherBlues, and BlueFuzz.
...
BlueValues gains the upper edge of symbols and Hebrew letters.
OtherBlues gains the bottom edge of symbols. BlueFuzz is set to zero
because it's unnecessary (and this is recommended by the Type 1 spec).
2017-08-06 18:28:03 +01:00
Ben Harris
5e29327447
Add an assortment of punctuation from the U+2000 block.
2017-08-06 15:12:19 +01:00
Ben Harris
a3ab3b0485
Glyph for U+2010 HYPHEN. Also non-breaking hyphen and NBSB.
...
All glyphs we had already, but under new names.
2017-08-06 13:20:26 +01:00
Ben Harris
8d25cf8256
Daggers, being another embarrassing omission from StandardEncoding.
2017-08-06 13:06:12 +01:00
Ben Harris
af159282c8
Glyphs for some of the pictorial control characters in ECMA-17.
...
Some were already present. Some are difficult.
2017-08-06 12:57:19 +01:00
Ben Harris
86f292d938
Redesign alphanumeric control pictures.
...
They now fill the character cell, which makes them consistent with
fractions.
2017-08-06 11:05:49 +01:00
Ben Harris
7b9260e73c
Fill in graphics for the rest of the C0 controls.
...
The two-character mnemonics were specified in ECMA-17 (November 1968).
2017-08-06 00:44:18 +01:00
Ben Harris
d5284c5fad
Change design of Greek tonos over lower-case letters to a dot.
...
This matches ETS 300 706: May 1997, and also the photos of actual
Greek teletext at <https://www.cambus.net/teletext-in-greece/ >.
2017-08-05 23:52:49 +01:00
Ben Harris
818cf14946
Add "longs" (U+017F) glyph.
...
Based on "f" with the crossbar removed.
2017-08-05 23:07:09 +01:00
Ben Harris
ba00715ec9
Visible space character.
...
It seems like the sort of thing a monospaced font should have.
2017-08-05 17:10:03 +01:00
Ben Harris
0f05db334b
Accented Greek lower-case.
...
Currently, the tonos used for these looks much like an acute accent.
ETS 300 706 shows a dot-shaped tonos instead, so maybe I should change
to that.
2017-08-05 17:04:11 +01:00