446 Commits

Author SHA1 Message Date
Ben Harris
3d71e77636 Extra mathematical symbols where the correct design seems obvious 2020-06-07 12:49:24 +01:00
Ben Harris
737779a06c Reversed prime and double-prime glyphs 2020-06-07 11:00:17 +01:00
Ben Harris
460ea29da7 Assorted glyphs in the Supplemental Punctuation block 2020-06-07 10:55:43 +01:00
Ben Harris
78f2610451 Add a bunch of reflections and rotations of existing glyphs 2020-06-07 00:24:30 +01:00
Ben Harris
1d4e3daed8 Slight adjustment to ceiling and floor glyphs
They're a kind of bracket, so like other brackets they should span
from baseline to cap height.
2020-06-06 18:58:45 +01:00
Ben Harris
f6c331a999 U+228F SQUARE IMAGE OF and U+2290 SQUARE ORIGINAL OF
GNU APL just used them in a stack dump.
2020-06-01 19:27:33 +01:00
Ben Harris
239639d03f Better APL zilde
The zero is more important than the tilde, so make it properly
zero-shaped even though that turns the tilde into a bar.
2020-05-25 09:27:28 +01:00
Ben Harris
f4484f7cde Tolerable APL quad jot and del tilde
That completes the IBM APL2 character set.
2020-05-25 09:24:10 +01:00
Ben Harris
d8650d1063 Add "install-local" rule to Makefile
It installs into $HOME/.fonts, which is useful to me at least.
2020-05-22 23:05:18 +01:00
Ben Harris
70e1520359 Remove spurious blank line 2020-05-22 23:05:04 +01:00
Ben Harris
f365cf3c2d A pile of extra symbols 2020-05-16 19:29:31 +01:00
Ben Harris
551b84af59 Minor APL polishing 2020-05-16 14:24:06 +01:00
Ben Harris
d18a8519e4 Fix the APL Greek letters, which were a mess 2020-05-16 12:21:50 +01:00
Ben Harris
c9340db9f4 A few extra characters from the GNU APL atomic vector 2020-05-16 01:55:57 +01:00
Ben Harris
455bcaadbc Fix a couple of Unicode values for APL 2020-05-15 09:32:42 +01:00
Ben Harris
24e2d0e091 Reasonably complete attempt at an APL character set 2020-05-14 23:24:47 +01:00
Ben Harris
a777d5117f A few other musical symbols that happen to be feasible
My segno is missing the conventional dots, though.
2020-04-26 15:27:28 +01:00
Ben Harris
a2c30aced9 Double flat sign
Slight creativity required, but I think it works.
2020-04-26 15:16:36 +01:00
Ben Harris
b62dd8d519 An assortment of nice obvious musical symbols
Mostly bar lines and staves.
2020-04-26 15:09:56 +01:00
Ben Harris
84faed5e4c Add a few musical symbols
I thought repeat marks might be useful, and ended up doing a few others.  
The repeat marks and clefs are based on the assumption that a five-line 
stave fills the character cell and that you're using the clefs in their 
most common position.
2020-04-26 12:34:46 +01:00
Ben Harris
bfde955281 Add a NOTE about Microsoft's font design guidelines 2020-04-26 12:34:25 +01:00
Ben Harris
15fe3fb95e Make 'aalt' the first lookup in the font
The OpenType spec says it should be so.
2020-04-02 10:01:51 +01:00
Ben Harris
be7f82e324 A few more small-cap fragments 2020-04-02 09:59:07 +01:00
Ben Harris
c436332f25 Don't emit name ID 16 without 17
The OpenType spec isn't entirely confident here, but it seems to think
that name ID 16 is unnecessary if it's identical to 1, and it makes
sense to me that 16/17 should go together as a pair just like 1/2 do.
2020-03-30 21:02:54 +01:00
Ben Harris
7be4eb6945 Actually generate the 'ss14' substitutions
Without then, the feature doesn't work, and more surprisingly
FontForge puts the description of the feature into string ID 0, which
is meant to be the copyright notice.
2020-03-30 20:26:29 +01:00
Ben Harris
591d365428 Link to release notes from Web page 2020-03-30 00:31:28 +01:00
Ben Harris
6c0e11d6f5 Update version to 002.001 bedstead-002.001 2020-03-29 22:25:20 +01:00
Ben Harris
98bc0342b5 Slightly enlarge font sample images to get better grid-fitting
40 pixels is a bad size; 50 pixels is a slightly better one.
2020-03-29 16:11:21 +01:00
Ben Harris
31a06494cc Moderate tidyings-up of the Web page
It's not nice, but it's not horrifying any more either.
2020-03-29 16:10:36 +01:00
Ben Harris
41b698b29e First attempt at translating sample images into HTML
On browsers that support Web fonts, it seems silly to still be using 
images for displaying font samples.  So I've tried to translate the 
samples into HTML.  The result is a bit of a mess, but it roughly works.  
The images are still there, and the stylesheet tries to arrange that 
they get used where appropriate, and that speech synthesizers don't try 
to read the samples.
2020-03-29 12:21:50 +01:00
Ben Harris
b4a95ce0e3 Add a sample of separated graphics to the Web page 2020-03-29 00:33:48 +00:00
Ben Harris
54d595b850 Make the 'aalt' lookup work properly
Emitting a separate "AlternateSubs2" line for each target doesn't work
properly, so we make a second pass over the alternates for the current
glyph, constructing a single "AlternateSubs2" line afer doing all the
"Substitution2"s.
2020-03-28 22:47:57 +00:00
Ben Harris
b779a48d68 Rationalise mosaic graphics implementation
The "separated graphics" flag is now in the "flags" field, rather than
in the character data, and the bits specifying which cells are painted
are now contiguous.  Also the MOS flag is now called MOS6, to go with
MOS4.  This makes the specification of the ZVBI code points more
complex, but cleans up the Unicode ones, which I think is appropriate.

On the way, I found that 'palt' was being applied to 4-cell mosaic
graphics and fixed that.
2020-03-28 22:13:41 +00:00
Ben Harris
eb3418be04 Add support for separated 4-cell mosaic graphics
The shapes of the 4-cell mosaic graphics are based on an alternative
history in which Teletext adopted 4-cell graphics.  It's obviously
reasonable that such a world would still have separated graphics, so
let's have them.

This makes me thing that the method I've used for flagging separated
graphics is silly, but that's a story for another commit.
2020-03-28 21:35:01 +00:00
Ben Harris
7e8a47cfc5 Implement separated graphics as feature 'ss16'
While Unicode 13 added code points for 6-cell mosaic graphics, it
didn't specify any way to select separated vs contiguous graphics.
This differs fron ZVBI, which used differect code points for separated
and contiguous glyphs.  This means that separated graphics must be a
matter of style, which is consistent with the way that they're
selected by a control character in Teletext.

In OpenType, implement this as a stylistic set, 'ss16', that replaces
the contiguous glyphs with their separated counterparts.  I'm
reserving 'ss14' for the 4-cell equivalent.
2020-03-28 21:03:37 +00:00
Ben Harris
4821654490 Put Latin small caps at their proper Unicode code points
There are Unicode code points for most Latin small capital letters, so 
we may as well make our existing designs for them available under those 
code points.  The glyphs generated by the 'smcp' and 'c2sc' lookups are 
now aliases for the canonical Unicode versions.
2020-03-28 20:15:04 +00:00
Ben Harris
d5c6f9ec42 Use aliases to connect small cap glyphs to their Unicode equivalents 2020-03-28 17:36:20 +00:00
Ben Harris
7216af9189 Remove a stray space 2020-03-28 17:00:41 +00:00
Ben Harris
0264e16018 Make the 'c2sc' feature work like others
Now that we can have aliases, we can arrange that 'smcp' applied to
"a", and 'c2sc' applied to "A" give differently-named glyphs that have
the same appearance.  This means that something attempting to generate
Unicode from PostScript will be able to properly distinguish them.  It
also means that the SC flag can be removed and we can stop making
assumptions about case-mapping of glyph names.
2020-03-28 17:00:14 +00:00
Ben Harris
1dc4e2da16 Add a mechanism for making aliases of glyphs
This is done by making the new glyph contain only a reference to the
old one.  While it's possible to have multiple Unicode code points
reference the same glyph, that's rarely what you want because it's
useful to be able to map back from a glyph name to a code point, and
obviously that requires that the glyph have different names when
accessed through different code points.
2020-03-28 16:53:38 +00:00
Ben Harris
c8c26e41a3 Use 4-cell mosaic graphics to render block, lfblock, and rtblock
The results are the same, but since their Unicode code points are with
the other 4-cell characters, the source code it more intelligible.
2020-03-28 16:19:54 +00:00
Ben Harris
7c3dc41f9a Remove a few unused declarations spotted by GCC 2020-03-28 16:03:12 +00:00
Ben Harris
34e35a93b1 Move generation of uniXXXX names from runtime to compile time
It was getting complicated to ensure that everywhere that needed a
glyph name correctly generated them: simpler to have the preprocessor
generate them once.
2020-03-28 15:59:27 +00:00
Ben Harris
0bc46491d3 More efficient (but hacky) searching for glyphs by name
Now rather than linearly searching the list of glyphs, dolookup() can
do a binary search on a list of glyph names.  This is faster, but the
code is currently very ugly.
2020-03-28 12:37:14 +00:00
Ben Harris
1933bc167f Switch encoding from UnicodeBmp to UnicodeFull
This should have no effect on the OTF output, but it ensures that all
characters are properly encoded in BDF.  It also corrects a technical
invalidity in our SFD files.
2020-03-28 10:48:34 +00:00
Ben Harris
0a21eeaeff Remove the SC flag from D.saa5052 and L.saa5052
It didn't work properly anyway.
2020-03-28 10:17:31 +00:00
Ben Harris
31e3b18e11 Make the 'smcp' lookup work like the stylistic sets
The SC flag is no longer applied to lower-case letters.  Instead,
dolookups() automatically searches for suitably-names glyphs.
2020-03-28 10:05:35 +00:00
Ben Harris
885cfc5560 Switch to using text for the Web page title
A typical Web browser support Web Fonts these days, so there's no need 
to use an image for the purpose.  The other images remain for now since 
they're not really representing text.
2020-03-22 12:59:51 +00:00
Ben Harris
facb08e709 More NOTES on bitmap font sizes 2020-03-22 12:42:46 +00:00
Ben Harris
f5d0ac6a9a Add a gratuitous example of mosaic graphics to the Web page 2020-03-22 12:42:04 +00:00