204 Commits

Author SHA1 Message Date
Ben Harris
04bc584c97 Slight tweak to "AE": move crossbar of "A" part down 1 pixel.
That puts it in the same place as in the "A" proper, and aligns with
the advice here:

https://medium.com/@frodefrodefrode/designing-the-letter-%C3%A6-862cffbe22b

"The crossbars are not usually aligned in typographic typefaces ..."
2018-01-03 21:50:03 +00:00
Ben Harris
6120176259 Complete the set of circled and squared plus, minus, and dot. 2017-11-26 23:33:06 +00:00
Ben Harris
a287174507 Add a couple of upside-down characters. 2017-11-26 23:26:58 +00:00
Ben Harris
049d92d5f2 Add prime and double-prime glyphs.
Not the prettiest, but they're visually distinct from apostrophes and
accents.
2017-11-26 16:20:14 +00:00
Ben Harris
f1f7599854 Add therefore and because symbols. 2017-11-26 15:48:33 +00:00
Ben Harris
7174e3015b Add white left and right triangles. 2017-11-26 15:28:53 +00:00
Ben Harris
474ef418ce Add mathematical diamond shapes. 2017-11-26 15:21:36 +00:00
Ben Harris
be454b1d55 Add gratuitous cube root and fourth root symbols. 2017-11-26 14:42:34 +00:00
Ben Harris
ee8a8325ad Add assorted mathematical vertical lines. 2017-11-26 13:54:45 +00:00
Ben Harris
ffc5a9de9c Add mathematical ellipsis characters. 2017-11-26 13:42:13 +00:00
Ben Harris
64dd2d9a28 Two-level brace and summation characters.
The braces are a compromise, since each glyph has to be usable as both
the top and bottom half of a brace.
2017-11-26 12:20:11 +00:00
Ben Harris
fe017bcbc3 Be consistent in capitalisation of block heading comments.
I use sentence case for these where the Unicode standard uses title
case.
2017-11-26 12:02:59 +00:00
Ben Harris
f1bac5326e Add the various long bracket components.
All are derived simply by lengthening the vertical parts of the
standard glyphs.
2017-11-26 12:00:51 +00:00
Ben Harris
fcd5771e00 New, better invsmileface glyph. 2017-11-26 10:28:55 +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
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
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
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
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
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
Ben Harris
cb937ab02c Accented Greek capitals.
Ones with tonos put the accent to the left of the letter rather than
above it, which makes for a rather squashed Omega.  In real teletext,
the tonos is put in the character cell to the left, but I don't know
if that can be coded in Unicode properly.  Maybe I need a silly
multiple substitution for a space followed by an capital with tonos.
2017-08-05 15:47:58 +01:00
Ben Harris
e40c1419a3 Mechanisms to get metadata right for different weights of font.
bedstead.c can now generate Bedstead Book (and all other widths at
that weight).
2017-08-01 23:27:22 +01:00
Ben Harris
805dfe5437 Fix a stray global-scope variable. 2017-08-01 18:25:32 +01:00