529 Commits

Author SHA1 Message Date
Ben Harris
1bbf25bf26 Fill in disunified mathematical operators and punctuation
Table 22-5 in Unicode 15.0 lists a number of mathematical operators
that have been disunified from punctuation characters because in some
fonts they might look different or because they otherwise need
different handling.  In some cases Bedstead only had a glyph for one
of the two characters.  Now we have both in all cases.  Here's what
happened in each case:

U+002D HYPHEN vs U+2122 MINUS SIGN: both already present and
different.

U+003F SOLIDUS vs U+2215 DIVISION SLASH: U+003F copied as U+2215.

U+005C REVERSE SOLIDUS vs U+2216 SET MINUS: U+005C copied as U+2216.

U+002A ASTERISK vs U+2217 ASTERISK OPERATOR: U+002A copied as U+2217.

U+25E6 WHITE BULLET vs U+2218 RING OPERATOR: new U+25E6 designed based
on U+2022 BULLET.  It's identical to U+25AB WHITE SMALL SQUARE but I
think that's reasonable.  Bullets represent a font's preference and
are likely to be identical to some geometric shape.

U+007C VERTICAL LINE vs U+2223 DIVIDES: both already present and
identical.

U+2016 DOUBLE VERTICAL LINE vs U+2225 PARALLEL TO: both already
present and identical.

U+003A COLON vs U+2236 RATIO: new U+2236 drawn one pixel higher than
U+003A.

U+007E TILDE vs U+223C TILDE OPERATOR: both already present and
different.

U+00B7 MIDDLE DOT vs U+22C5 DOT OPERATOR: U+00B7 copied as U+22C5.
2024-05-05 10:16:04 +01:00
Ben Harris
6737442dd5 Fix character code for U+2969 2024-05-04 23:23:10 +01:00
Ben Harris
9e442c62d3 Add halfwidth forms of some characters
Specifically halfwidth forms of characters where we already have
ambiguous versions.  Bedstead is intrinsically a half-width font, so
the halfwidth forms should look the same as the ambiguous ones.
2024-05-04 20:30:52 +01:00
Ben Harris
d97807a6cf Double-stroke "A" on the right not the left
This matches which stroke is conventionally thickest.
2024-05-04 14:41:52 +01:00
Ben Harris
dd35eed4ed Private use area mappings for separated 4-cell mosaic graphics 2024-05-04 14:36:34 +01:00
Ben Harris
5c78953e15 An attempt at U+223E INVERTED LAZY S
I've deliberately made it have obvious hooks to distinguish it from
U+223D SINE WAVE.
2024-05-02 22:11:27 +01:00
Ben Harris
d016cef1ba A rather weird attempt at mathematical angle brackets
BQN wants U+27E8 MATHEMATICAL LEFT ANGLE BRACKET and U+27E9
MATHEMATICAL RIGHT ANGLE BRACKET in addition to the usual three kinds
of bracket and less-than and greater-than signs.  I've come up with a
design that is at least visually distinct from all the others and
might be argued to be consistent with the way we represent oblique
lines in other characters (e.g. capital A).
2024-05-02 21:24:23 +01:00
Ben Harris
b855a1f38b Add APL's "circle jot"
I'mk a bit torn between this design and one that makes the circle the
height of a capital O, but this one is more consistent with out other
circles and jots.
2024-05-02 14:35:51 +01:00
Ben Harris
a275770e42 Encode otherwise-unencoded glyphs in the private use area
There are several glyphs in Bedstead that are not encoded at standard
Unicode code points.  In most cases this is because they're font
variants of other glyphs, and in one case it's a character that's
simply not in Unicode ("oldsheqel").  These can be accessed using
OpenType features or by glyph name, but not all applications make
those available or easy to use.  Giving all the glyphs code points
makes them usable (albeit with some ugliness) in pretty much any
application.

The code points I've used are in the "Reserved for font hacks" range
in the ConScript Unicode Registry, which should minimise their chances
of colliding with other useful things.
2024-05-01 22:41:51 +01:00
Ben Harris
555ce05e86 Revert "Turn off font subsetting when generating glyph complement."
Bedstead is now so large that Ghostscript 10.00.0 insists on subsetting
it (and telling us it's doing so) anyway.

This reverts commit 8371e8afb823e2e383e8a6cfcf0c7fc75907a674.
2024-04-30 23:46:24 +01:00
Ben Harris
931cee21b0 Fix double-struck f
For some reason I'd drawn it one pixel too tall.
2024-04-30 23:27:47 +01:00
Ben Harris
738d385a8a Adjust double-struck M to put the double stroke on the right
That corresponds with where the heavy stroke is in normal roman fonts.
2024-04-30 23:23:32 +01:00
Ben Harris
4f19ec80e8 Double-struck N, finally
Ordinary roman typefaces make the diagonal of an N thick and the
vertical strokes thin, so I think it's entirely legitimate for the
diagonal to be the member that gets doubled even if that looks a bit
odd.  That finally gets me the full double-struck alphabet.
2024-04-30 23:20:51 +01:00
Ben Harris
975e2a1fc7 Quine corners
One of these is used by BQN, but obviously if I'm going to have one I
should have all four.

According to Unicode document L2/07-004, "Proposal to add Medievalist
and Iranianist punctuation characters to the UCS", "The ideally formed
QUINE CORNER (U+231C-U+231F) has equal-length sides and sit at cap
height and on the baseline".  I've tried to implement that here.
2024-04-30 22:59:36 +01:00
Ben Harris
c690b03489 14 more harpoons
I wanted one for BQN, but the excessive generality of Supplemental
Arrows-B sucked me in.
2024-04-30 21:16:51 +01:00
Ben Harris
764daf098f Multimap and left multimap
Both are used by BQN.
2024-04-30 21:16:31 +01:00
Ben Harris
de38a8f99b Arrows with hooks
The leftwards one is used by BQN; the right is for symmetry.
2024-04-30 21:15:42 +01:00
Ben Harris
cfdc8e9649 Double-struck A
Once I stopped trying to base it on the normal A it became quite easy.
Only N to go now!
2024-04-30 10:44:56 +01:00
Ben Harris
ecb1ed128c Fix top of double-struck V 2024-04-30 10:39:21 +01:00
Ben Harris
279745dae2 Double-struck M and v 2024-04-30 10:15:17 +01:00
Ben Harris
72cdc182bf More double-struck letters
I've got most of them done, but there are a few where I haven't come
up with a good design yet.
2024-04-30 09:41:25 +01:00
Ben Harris
f6abd0d81f Actually acceptable double-struck "f" 2024-04-30 01:38:34 +01:00
Ben Harris
97da8474b9 Add a double-struck "r" as well 2024-04-30 01:35:53 +01:00
Ben Harris
15a86c6ec9 Rough double-struck letters used by BQN (wsfgxWSFGX)
Slightly to my surprise, they all look good apart from the 'f'.
2024-04-30 00:51:19 +01:00
Ben Harris
e96898a3b7 A few more glyphs from Supplemental Punctuation
Specifically:

U+2E17 DOUBLE OBLIQUE HYPHEN
U+2E1A HYPHEN WITH DIAERESIS
U+2E1B TILDE WITH RING ABOVE
U+2E1E TILDE WITH DOT ABOVE
U+2E1F TILDE WITH DOT BELOW
U+2E22 TOP LEFT HALF BRACKET
U+2E23 TOP RIGHT HALF BRACKET
U+2E24 BOTTOM LEFT HALF BRACKET
U+2E25 BOTTOM RIGHT HALF BRACKET
U+2E32 TURNED COMMA
U+2E35 TURNED SEMICOLON
U+2E39 TOP HALF SECTION SIGN
U+2E55 LEFT SQUARE BRACKET WITH STROKE
U+2E56 RIGHT SQUARE BRACKET WITH STROKE
U+2E57 LEFT SQUARE BRACKET WITH DOUBLE STROKE
U+2E58 RIGHT SQUARE BRACKET WITH DOUBLE STROKE
U+2E59 TOP HALF LEFT PARENTHESIS
U+2E5A TOP HALF RIGHT PARENTHESIS
U+2E5B BOTTOM HALF LEFT PARENTHESIS
U+2E5C BOTTOM HALF RIGHT PARENTHESIS
U+2E5D OBLIQUE HYPHEN
2023-12-29 20:30:22 +00:00
Ben Harris
f2dc40f0fc Added U+2720 MALTESE CROSS 2023-12-29 17:14:08 +00:00
Ben Harris
10a4887d30 A few reasonably obvious bits of Latin Extended-D 2023-04-08 22:19:54 +01:00
Ben Harris
948828e8b3 Universal and existential quantifiers 2023-02-19 17:48:30 +00:00
Ben Harris
f4d70be7c8 Fix XML tag mismatch in Web page heading 2022-09-15 10:11:40 +01:00
Ben Harris
53a8073d86 import the "re" module in the editor
Without it, pasting doesn't actually work.
2022-09-14 09:21:12 +01:00
Ben Harris
84b8a0ae0b Correct shape of reversed 's' to match normal one 2022-07-09 23:02:54 +01:00
Ben Harris
49b4a3683e Fix a couple of glyphs that I screwed up
Specifically U+01DB LATIN CAPITAL LETTER U WITH DIAERESIS AND GRAVE and
U+01DC LATIN SMALL LETTER U WITH DIAERESIS AND GRAVE now actually have
graves.
2022-03-26 17:52:46 +00:00
Ben Harris
f72fa0a358 A few more currency symbols
U+20A3 FRENCH FRANC SIGN and U+20A4 LIRA SIGN are part of WGL4; U+20A0
EURO-CURRENCY SIGN was easy (and no-one will care if I got it wrong).
2022-03-04 22:11:13 +00:00
Ben Harris
f778711741 Provide a glyph for U+00AD SOFT HYPHEN
WGL4 wants one, and it's not like it's difficult.
2022-03-04 21:39:37 +00:00
Ben Harris
ba056bc380 Replace span with div in h1 of Web page
This makes the masked object the same height as the containing
heading, which avoids the dark bars above and below it when on a
brighter display than mine.
2022-02-27 14:49:45 +00:00
Ben Harris
bcf0160700 Update version to 002.004 bedstead-002.004 2022-02-27 13:51:02 +00:00
Ben Harris
d322f0fcb4 Updated date in authorship comment 2022-02-27 13:25:05 +00:00
Ben Harris
1475a00b27 Slightly darken <code> etc
That makes their different word spacing look a little less confusing.
2022-02-26 23:40:37 +00:00
Ben Harris
dfc5e415f4 New title for Web page and some other tweaks
The new title is a fade from a (manipulated) photo of the word
"Bedstead" displayed by my Beeb on a CRT monitor into the title text in
Bedstead Extended.  The other visible tweak is to increase the left
margin so that the headings have some clearance from the left edge of
the window.  At the same time, I've set the other margins explicitly to
the 8px that Firefox and Chromium use by default.
2022-02-26 23:17:59 +00:00
Ben Harris
74e1f8e75d Add a picture of "Bedstead" on a CRT for the new page title
Generated from a photo using this command:

convert IMGP8893.JPG -crop 3200x1150+0+720 -scale 22.5%x25% \
    -modulate 150,80 -quality 80 -strip titlebg.jpg
2022-02-26 23:15:29 +00:00
Ben Harris
927f1fe478 Correct underline position
The correct underline position is (in my opinion) in the lowest pixel
of the character cell, in line with the descender of the "g".  This is
where the BBC Micro's cursor is by default.

It turns out that there are two ways to specify the underline
position: Type 1 fonts and AFM files specify the centre of the line,
while the OpenType 'post' table specifies the top edge ("for
historical reasons").  Experimentation demonstrates that FontForge's
"UnderlinePosition" uses the Type 1 definition and converts it to the
OpenType version as necessary.
2022-02-26 22:13:12 +00:00
Ben Harris
08dda21e63 A load more of Latin Extended Additional
I had the relevant bit of UnicodeData.txt open and some of them looked
easy.
2022-02-14 19:15:57 +00:00
Ben Harris
e28db513a0 A few characters that enwiki lists as useful for pinyin
Only the ones that were easy to draw, though.
2022-02-14 18:42:04 +00:00
Ben Harris
e004f9169c Add the missing accented vowels for hanyu pinyin
That's carons on various vowels and some u+dieresis+other accent.
These are some double accents that we can actually represent.
2022-02-14 15:38:38 +00:00
Ben Harris
f76da21590 Split images for Web page into a new make target
"make all" shouldn't depend on things that aren't in the source
distribution, and now it doesn't.  The images that are only used for the
Web site are now generated by a separate "all-web" target.  I'm not sure
this is the right long-term approach, but it's good enough for now.
2021-11-05 00:20:46 +00:00
Ben Harris
9236b2b46e Add df.ps to DISTFILES
It's needed to build the *-df.png tilesets for Dwarf Fortress, so
obviously it should be part of the source distribution.
2021-11-05 00:07:52 +00:00
Ben Harris
9dee7c71a4 Actually fill in the date for 002.003
Obviously there was going to be something I forgot.
2021-10-16 23:14:54 +01:00
Ben Harris
a83d38bd02 Update version to 002.003 bedstead-002.003 2021-10-16 21:58:25 +01:00
Ben Harris
58b3481609 Remove CC0 button from Web page
A couple of reasons.  Firstly, being hosted externally it was an
unnecessary privacy leak.  I could have included it in the
distribution (and thus hosted it myself), but it would have perversely
been the least free thing in there.

Secondly, its colours jarred with the rest of the page.  If the button
were free, I could adjust its colours to match the rest of the page,
but it's not and changing its colours isn't allowed.  I did wonder
about playing games with CSS filters, but that would be complicated
and not really in keeping with the spirit of the licence.

Given both of those, removing it seems like the simplest approach.
2021-10-16 21:34:07 +01:00
Ben Harris
ab9a89483b Minimal re-arrangement of Web page into a less silly layout 2021-10-16 21:13:34 +01:00