555 Commits

Author SHA1 Message Date
Ben Harris
aa596a604b Alias mappings for 'rtlm'
These are characters that have the Bidi_Mirroring_Glyph but don't
appear in the OpenType Mirroring Pairs List (OMPL).  In a couple of
cases, these are listed by Unicode as "best fit" and I think I should
actually redraw the tildes the other way around.
2024-06-02 14:21:57 +01:00
Ben Harris
bddc409560 Add 'rtlm' (right-to-left mirrored) lookup
This implements the Bidi_Mirrored Unicode property for those characters
that don't have a Bidi_Mirroring_Glyph.  These are the characters listed
at the end of BidiMirroring-15.1.0.txt.  I haven't yet assigned them PUA
code-points.  The characters with a Bidi_Mirroring_Glyph that don't
appear in the OpenType Mirroring Pairs List (OMPL) still need aliases
added.
2024-06-02 14:21:57 +01:00
Ben Harris
ecf4d042a0 U+2AFE WHITE VERTICAL BAR
It seemed silly to have the tall version but not the normal one.
2024-06-02 14:21:09 +01:00
Ben Harris
78f2ef9b4a More ANDs and ORs with bars above and below
I had NAND, NOR, and XOR from Mathematical Operators.  This adds five
more characters from Supplementary Mathematical Operators to fill in
the gaps.
2024-06-02 11:18:23 +01:00
Ben Harris
148e6b657e A load more large mathematical operators
The TeX "unicode-math" package conveniently lists a bunch of characters
that it treats as the kind of large operator that takes limits. Bedstead
has a standard treatment for these, stretching them over the full height
of the character cell.  So I've drawn some that are in Plain TeX or
otherwise reasonably easy.  One exception is the n-ary square cap and
cup operators because I can't work out how to distinguish them from the
n-ary product and coproduct.
2024-06-02 11:02:31 +01:00
Ben Harris
2f4f128b47 Flattened parentheses
According to the TeX "unicode-math" documentation, these are in Plain
TeX, so I think they're mainstream enough that Bedstead should have
them.
2024-06-02 10:44:17 +01:00
Ben Harris
5606348e45 Correct ordering of a couple of glyphs 2024-06-01 23:18:00 +01:00
Ben Harris
612d65862a Update version to 002.006 bedstead-002.006 2024-05-24 15:22:16 +01:00
Ben Harris
c916e6251a Correct ordering of squares and circles with quadrants
That's U+25F0 to U+25F7.
2024-05-14 08:17:44 +01:00
Ben Harris
2d919655cf Update version to 002.005 bedstead-002.005 2024-05-12 00:57:49 +01:00
Ben Harris
c2b3187eb5 Update authorship date 2024-05-12 00:07:49 +01:00
Ben Harris
9607e2ff95 Move glyph complement 40 pt rightward
This places it roughly in the middle of an A4 page, and more
importantly within the margins of my LaserJet 1100.
2024-05-11 22:39:03 +01:00
Ben Harris
7a622c0209 U+22C6 STAR OPERATOR
This is usually five-pointed, and I seem to have come up with an
acceptable five-pointed design.  This matches the existing U+235F APL
FUNCTIONAL SYMBOL CIRCLE STAR.  U+2363 APL FUNCTIONAL SYMBOL STAR
DIAERESIS is modified to match.
2024-05-11 21:58:17 +01:00
Ben Harris
d922a43261 Corrected glyph name for U+22C5 DOT OPERATOR
AGLFN says it should be "dotmath".  It wasn't in the last release, so
no backward-compatibility alias.
2024-05-11 19:45:49 +01:00
Ben Harris
fb990fe7ef XOR, NAND, and NOR
We've got AND and OR, so may as well have the rest.
2024-05-11 14:54:43 +01:00
Ben Harris
8bf9ede22b Yijing monograms, digrams, and trigrams
Unfortunately, the hexagrams won't really fit in Bedstead.
2024-05-11 14:35:55 +01:00
Ben Harris
ac569c276e Revert "Private use area mappings for separated 4-cell mosaic graphics"
It looks like these will have an official mapping in the next version of
Unicode, so I'll leave out the PUA mapping and put in a proper mapping
once they're in Unicode proper.

This reverts commit dd35eed4ed411ca3468306f5a281118cef8a2f28.
2024-05-10 21:34:31 +01:00
Ben Harris
f04285cfe8 Further harpoons 2024-05-10 21:34:26 +01:00
Ben Harris
04f1cdf76f Add U+2686 to U+2689
That's {WHITE,BLACK} CIRCLE WITH {DOT RIGHT,TWO DOTS}.  One of them is
used by BQN but we may as well have all four.
2024-05-10 20:40:33 +01:00
Ben Harris
66546110d3 A few more APL symbols
U+2361 APL FUNCTIONAL SYMBOL UP TACK DIAERESIS
U+2362 APL FUNCTIONAL SYMBOL DEL DIAERESIS
U+2365 APL FUNCTIONAL SYMBOL CIRCLE DIAERESIS
2024-05-05 22:13:35 +01:00
Ben Harris
0cc42a86b9 Three more glyphs used by BQN
U+22C8 BOWTIE, U+2389 CIRCLED HORIZONTAL BAR WITH NOTCH, and U+238A
CIRCLED TRIANGLE DOWN.
2024-05-05 22:00:39 +01:00
Ben Harris
004261bffa Empty set symbol, since I can do a tolerable one 2024-05-05 20:58:21 +01:00
Ben Harris
6660803262 A few more circled operators and a new Oslash
The new Oslash is probably better than the old one, with a slash that
actually passes through the O.  It's also distinguishable from the new
U+2298 CIRCLED DIVISION SLASH.
2024-05-05 20:38:59 +01:00
Ben Harris
2269fc7bc6 A couple of n-ary circled operators to go with normal ones 2024-05-05 19:44:41 +01:00
Ben Harris
fbc0bc5e6e Make various circled operators bigger
It was very hard to tell apart U+2295 CIRCLED PLUS and U+233E APL
FUNCTIONAL SYMBOL CIRCLE JOT.  Making the circles the size of an
upper-case 'O' has helped with that.  I've enlarged U+2296 CIRCLED
MINUS and U+2299 CIRCLED DOT OPERATOR to match.  I've left U+25CB
WHITE CIRCLE alone because it probably wants to be distinct from
upper-case 'O' and it doesn't have anything in it.
2024-05-05 17:11:35 +01:00
Ben Harris
948ffe99d5 Add glyphs for deprecated angle brackets
Unicode 15.0 says that U+2329 LEFT-POINTING ANGLE BRACKET and U+232A
RIGHT-POINTING ANGLE BRACKET are deprecated because they're
canonically equivalent to CJK wide angle brackets.  However in a
purely narrow font like Bedstead I think it's reasonable to provide
them and they have AGLFN-assigned names ("angleleft" and "angleright")
that people might still use.  I've make them visually identical to the
more modern U+27E8 MATHEMATICAL LEFT ANGLE BRACKET and U+27E9
MATHEMATICAL RIGHT ANGLE BRACKET.
2024-05-05 10:26:41 +01:00
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