486 Commits

Author SHA1 Message Date
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
Ben Harris
6b6c93b3f4 Add bold fonts to Ghostscript Fontmap file 2021-10-16 20:35:16 +01:00
Ben Harris
845766a668 Replace (unused) Book weight with (also unused) Light
This is roughly equivalent to moving rising edges one subpixel later,
thinning vertical and horizontal lines by one pixel.  The actual shift
is slightly smaller to ensure that the points of "0" etc don't end up
crossing over themselves.
2021-10-16 20:06:33 +01:00
Ben Harris
147e68b10d Minimal Web page updates for Bedstead Bold 2021-10-16 20:06:33 +01:00
Ben Harris
1708d59598 Add CSS rules for bold faces
This requires choosing a CSS weight for the non-bold versions.  I've
gone for 500, matching what we use in the OS/2 table.  CSS's default
(and "normal") weight is 400, but the matching rules mean that you'll
get 500 if there isn't a 400 available.
2021-10-16 20:06:33 +01:00
Ben Harris
03f5cbbf1a Correct TTF names for bold faces
Unlike other weights, "Bold" can be represented in the normal TTF
Family/Subfamily structure, so it should be put there.  To avoid making
the single printf call for LangName unbearably complex, I've split it
into two, one for the case where the typographic family/subfamily names
(16/17) differ from the basic ones, and one for when they don't.
2021-10-16 20:06:33 +01:00
Ben Harris
58eebbf5f8 Makefile bits for bold faces 2021-10-16 20:06:33 +01:00
Ben Harris
4592cdfb22 Fix outline adjustment for Bedstead Bold
A couple of special cases handle the inside corners of glyphs like
"asterisk".  They're very ad-hoc, but also reasonably simple so I'll
forgive them.
2021-10-16 20:06:33 +01:00
Ben Harris
7bde2d18ab Minimal Makefile bits for making Bedstead Bold 2021-10-16 20:06:33 +01:00
Ben Harris
dea2091ce3 Add a bold weight (+50) to bedstead.c
It produces self-intersecting characters, so it's not quite ready yet.
2021-10-16 20:06:33 +01:00
Ben Harris
63987f1016 Update various external URLs on Web page
Mostly switching to HTTPS, but also a new FontForge home page.
2021-10-16 19:43:47 +01:00
Ben Harris
fae888dcc9 Update Web page for the switch to Git 2021-10-16 19:21:43 +01:00
Ben Harris
43a560f230 Pull out common subexpression of conditions in adjust_weight
By having short names for the co-ordinates of the points we're
considering, we can make the conditions easier to read, which will
help as the conditions become more complex.
2021-10-15 14:24:09 +01:00
Ben Harris
726fa5a495 Re-work weight-adjustment code to work in two passes
It now records how it wants to move each point and them actually moves
the points in a second pass.  This avoids a problem where moving one
point would cause the loop not to correctly recognise the types of
adjacent points in the path.  This in particular affected glyphs with
sharp upper corners (like &) with weights >= 50.
2021-10-11 23:08:57 +01:00
Ben Harris
77cb8d9d8f Add the Fontmap file to the source distribution
It's necessary to build the glyph complement, and I think the source
distribution should include everything necessary to build the binaries
in it.  It doesn't need to include things that are only used for the
Web site, though.
2021-10-10 21:21:35 +01:00
Ben Harris
413736787c Set a maximum width on the body of the Web page
This stops the lines of text becoming excessively long.
2021-10-10 20:41:03 +01:00
Ben Harris
23d235be04 Fix XHTML validity 2021-10-10 20:39:20 +01:00
Ben Harris
04ed02b738 Update version number to 002.002 bedstead-002.002 2020-06-22 21:11:47 +01:00
Ben Harris
e467599a0d Rename glyphs for non-BMP characters to match AGL spec
I'd been calling them "uniXXXXX", but "uXXXXX" is correct.  This
requires a huge pile of aliases for backward compatibility.
2020-06-21 14:30:20 +01:00
Ben Harris
3b7e3ba4cd Rename "uni2126" to "Omega"
The latter is the name recommended by AGLFN 1.7.
2020-06-21 11:00:28 +01:00
Ben Harris
9603805ead Correct various blank lines and Unicode-block comments 2020-06-20 01:10:24 +01:00
Ben Harris
cef0bc73cd Correct 4-cell mosaic graphics glyphs
They were accidentally being generated using 6-cell geometry.
2020-06-20 00:53:22 +01:00
Ben Harris
c12abd663b Add "uni2259" as an alias for "circleplus"
"circleplus" is the AGLFN name, but it was called "uni2259" in
Bedstead 002.000 and 002.001, so the old name should stay for
compatibility, for instance with existing PostScript files.
2020-06-20 00:49:34 +01:00
Ben Harris
fc02ca982f Correct a number of Unicode code points
Found while writing up a NEWS item for the new glyphs.
2020-06-20 00:08:57 +01:00
Ben Harris
1f2ec13d07 Change XQTR_S and YQTR_S to 29
The consequence of this is to narrow the diagonal strokes.  They go
from being 6% wider than horizontal and vertical strokes to being 0.4%
wider.  I like the consistency, but it also has a practical advantage:
at round pixel sizes the daigonal edges no longer pass through pixel
centres.  This means that we're no longer at the mercy of rasterizer
tie-breaking rules so (for instance) Ghostscripts rasterizations are
symmetric now.

Since the shape of diagonal lines on a real SAA5050 is determined by
both edges of a clock whose duty cycle is only specified as being
between 0.4 and 0.6, I claim this is still within the tolerances of
the original.
2020-06-19 22:43:33 +01:00
Ben Harris
541c11eddd Merge editor paste feature from Simon 2020-06-19 22:24:16 +01:00
Ben Harris
49822815b8 Add s and z with swash tails
Not for any good reason, but they seem to work.
2020-06-19 22:22:32 +01:00
Simon Tatham
bc192756b4 editor.py: allow pasting a character description back in.
Middle-clicking will paste from the X primary selection and try to
interpret it as a sequence of octal numbers representing bitmap rows.
2020-06-19 21:33:24 +01:00
Ben Harris
e4024cc6c0 Correct comment on extended width and explain condensed ones too 2020-06-16 09:34:43 +01:00
Ben Harris
707de1ff33 Add a Cyrillic letter that I came across in the wild 2020-06-16 09:17:02 +01:00
Ben Harris
f185e2bbee Names for "similar", "circleplus", and "perpendicular" 2020-06-16 09:16:19 +01:00
Ben Harris
025b51ddfb One extra glyph that obviously goes with others we've got already 2020-06-08 00:55:54 +01:00
Ben Harris
ef20ca4e8c A couple more obvious mathematical symbols 2020-06-07 13:18:16 +01:00
Ben Harris
511b16576a U+214B TURNED AMPERSAND
I forgot to draw this in the previous run of turned characters
2020-06-07 13:02:24 +01:00
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