chiark / gitweb /
bedstead.git
8 years agoAdd endash.
Ben Harris [Sun, 6 Nov 2016 22:17:43 +0000 (22:17 +0000)]
Add endash.

If I'm going to render Bedstead's Web page in Bedstead, it had better
have all the glyphs I use on that page.

8 years agoPut the whole Web page into Bedstead.
Ben Harris [Sun, 6 Nov 2016 21:53:57 +0000 (21:53 +0000)]
Put the whole Web page into Bedstead.

With "palt" enabled, it looks fairly good.

8 years agoCredit Simon as well, since he designed a few glyphs.
Ben Harris [Sun, 6 Nov 2016 21:24:38 +0000 (21:24 +0000)]
Credit Simon as well, since he designed a few glyphs.

8 years agoMore character names in the NOTES file.
Ben Harris [Sun, 6 Nov 2016 19:33:38 +0000 (19:33 +0000)]
More character names in the NOTES file.

8 years agoMove pixel aspect ratio discussion from NOTES to bedstead.c.
Ben Harris [Sun, 6 Nov 2016 16:16:39 +0000 (16:16 +0000)]
Move pixel aspect ratio discussion from NOTES to bedstead.c.

8 years agoReplace endash with emdash in sample.ps.
Ben Harris [Sun, 6 Nov 2016 14:36:34 +0000 (14:36 +0000)]
Replace endash with emdash in sample.ps.

This follows the change of name for that glyph in Bedstead, based on
ZVBI's Unicode mapping.

8 years agoUpdate non-copyright dates.
Ben Harris [Sun, 6 Nov 2016 01:02:44 +0000 (01:02 +0000)]
Update non-copyright dates.

8 years agoWeb page: use Bedstead for <code> etc if possible.
Ben Harris [Sun, 6 Nov 2016 00:41:29 +0000 (00:41 +0000)]
Web page: use Bedstead for <code> etc if possible.

8 years agoAdd a Content-type for SFD files.
Ben Harris [Sat, 5 Nov 2016 23:57:19 +0000 (23:57 +0000)]
Add a Content-type for SFD files.

8 years agoAdd some subscripts.
Ben Harris [Sat, 5 Nov 2016 22:49:50 +0000 (22:49 +0000)]
Add some subscripts.

Specifically in those cases where they could be generated by lowering
the existing superscripts.

8 years agoSort the additional glyphs by Unicode code point.
Ben Harris [Sat, 5 Nov 2016 15:06:32 +0000 (15:06 +0000)]
Sort the additional glyphs by Unicode code point.

8 years agoRemove Arabic support entirely.
Ben Harris [Sat, 5 Nov 2016 14:21:29 +0000 (14:21 +0000)]
Remove Arabic support entirely.

With the copyright status of the SAA5050 glyphs resolved, the Arabic
glyphs stolen from an EBU document were the only thing left in
bedstead.c with dubious copyright.  Since I have no evidence of their
actual use, I don't think they're worth the trouble any more.

If someone can find an actual Arabic teletext character generator
using a 5x9 matrix, I'll be quite happy to reinstate support.

8 years agoLooks like I need "static inline" for modern GCC.
Ben Harris [Sat, 5 Nov 2016 13:50:19 +0000 (13:50 +0000)]
Looks like I need "static inline" for modern GCC.

8 years agoUpdate copyright notice to match licence update.
Ben Harris [Sat, 5 Nov 2016 13:47:52 +0000 (13:47 +0000)]
Update copyright notice to match licence update.

8 years agoDedicate Bedstead to the public domain using CC0.
Ben Harris [Sat, 5 Nov 2016 13:36:23 +0000 (13:36 +0000)]
Dedicate Bedstead to the public domain using CC0.

Since the original SAA5050 face is essentially in the public domain, and
I don't want my contributions to narrow the permitted uses.

8 years agoUpdate copyright text based on s55 CDPA.
Ben Harris [Fri, 4 Nov 2016 23:49:55 +0000 (23:49 +0000)]
Update copyright text based on s55 CDPA.

Looks like since 2015 Bedstead hasn't been infringing the SAA5050
copyright.

9 years agoBump version number and copyright date. bedstead-001.001
Ben Harris [Tue, 24 Nov 2015 23:06:52 +0000 (23:06 +0000)]
Bump version number and copyright date.

9 years agoDistribution bits for Bedstead Extended.
Ben Harris [Tue, 24 Nov 2015 22:36:07 +0000 (22:36 +0000)]
Distribution bits for Bedstead Extended.

This adds the extended font to the distribution package and also a
little picture to show what Bedstead Extended looks like.

9 years agoMention Bedstead Extended on the Web page and reword text generally.
Ben Harris [Tue, 24 Nov 2015 00:16:32 +0000 (00:16 +0000)]
Mention Bedstead Extended on the Web page and reword text generally.

It now mentions the font name and makes rather more of the smoothing
algorithm and custom glyphs.

9 years agoCorrect spelling of "sine".
Ben Harris [Mon, 23 Nov 2015 01:03:51 +0000 (01:03 +0000)]
Correct spelling of "sine".

9 years agoFix weirdly broken Dcaron.
Ben Harris [Mon, 23 Nov 2015 00:57:46 +0000 (00:57 +0000)]
Fix weirdly broken Dcaron.

9 years agoU+223F SINE WAVE and U+2393 DIRECT CURRENT SYMBOL FORM TWO
Ben Harris [Mon, 23 Nov 2015 00:41:29 +0000 (00:41 +0000)]
U+223F SINE WAVE and U+2393 DIRECT CURRENT SYMBOL FORM TWO

I was using them for something else and realised they weren't in Bedstead.

10 years agoSet WWS bit in 'OS/2' header.
Ben Harris [Mon, 1 Sep 2014 17:28:16 +0000 (18:28 +0100)]
Set WWS bit in 'OS/2' header.

Bedstead only varies in width for now.

10 years agoSet the 'OS/2' fsWidthClass field correctly for extended font.
Ben Harris [Mon, 1 Sep 2014 17:23:21 +0000 (18:23 +0100)]
Set the 'OS/2' fsWidthClass field correctly for extended font.

In consequence, arrange a better mechanism for varying settings between
font versions.

10 years agoCode to produce Bedstead Extended.
Ben Harris [Mon, 1 Sep 2014 15:53:55 +0000 (16:53 +0100)]
Code to produce Bedstead Extended.

Bedstead Extended is a version of Bedstead with approximately the
dimensions of an SAA5050 displaying on a 576i display.

10 years agoAdd my file of odd notes.
Ben Harris [Mon, 25 Aug 2014 23:12:06 +0000 (00:12 +0100)]
Add my file of odd notes.

10 years agoAdd MIME type for OTF files. bedstead-001.000
Ben Harris [Tue, 12 Aug 2014 21:10:21 +0000 (22:10 +0100)]
Add MIME type for OTF files.

10 years agoRemove another mention of Arabic.
Ben Harris [Tue, 12 Aug 2014 21:09:41 +0000 (22:09 +0100)]
Remove another mention of Arabic.

10 years agoAdd MIME type for .otf files.
Ben Harris [Tue, 12 Aug 2014 21:02:34 +0000 (22:02 +0100)]
Add MIME type for .otf files.

10 years agoDon't mention Arabic in the Web page.
Ben Harris [Tue, 12 Aug 2014 21:01:36 +0000 (22:01 +0100)]
Don't mention Arabic in the Web page.

10 years agoFix positioning of sample.
Ben Harris [Tue, 12 Aug 2014 20:57:46 +0000 (21:57 +0100)]
Fix positioning of sample.

10 years agoComment out Armenian alphabet from sample and reduce its size accordingly.
Ben Harris [Tue, 12 Aug 2014 20:55:23 +0000 (21:55 +0100)]
Comment out Armenian alphabet from sample and reduce its size accordingly.

10 years agoCall this Bedstead 001.000.
Ben Harris [Tue, 12 Aug 2014 20:45:58 +0000 (21:45 +0100)]
Call this Bedstead 001.000.

I can't remember any reason why I shouldn't.

11 years agoAnother tweak to whitepixel().
Ben Harris [Thu, 26 Dec 2013 16:23:20 +0000 (16:23 +0000)]
Another tweak to whitepixel().

Now changing XQTR and YQTR has the hoped-for effect, changing the thickness of diagonal lines.  Without changing it, character outlines are unchanged.

11 years agoDo internal path manipulations in design units.
Ben Harris [Thu, 26 Dec 2013 14:17:02 +0000 (14:17 +0000)]
Do internal path manipulations in design units.

blackpixel() and whitepixel() now produce paths in design units, so
emit_path() doesn't have any transformation to do.

11 years agoRedesign vec_bearing to distinguish all directions.
Ben Harris [Thu, 26 Dec 2013 13:58:29 +0000 (13:58 +0000)]
Redesign vec_bearing to distinguish all directions.

It now returns the shortest representable vector parallel to its
argument, so it can be used to distinguish between all possible
directions of vector.  This means that the rest of the code can be
more flexible it what it produces.  This makes no change to the
resulting font.

11 years agoSlight simplification to whitepixel().
Ben Harris [Thu, 26 Dec 2013 08:06:03 +0000 (08:06 +0000)]
Slight simplification to whitepixel().

Previously, when two black corners of a white pixel were adjacent,
they were both modified so as not to overlap.  Now only one corner is
modified, albeit slightly more radically.  This has no practical
effect on the output, but it makes the code simpler.

11 years agoNcaron and ncaron.
Ben Harris [Thu, 26 Dec 2013 07:58:10 +0000 (07:58 +0000)]
Ncaron and ncaron.

11 years agoComment on what some functions do.
Ben Harris [Thu, 26 Dec 2013 07:57:28 +0000 (07:57 +0000)]
Comment on what some functions do.

11 years agoDcaron and dcaron.
Ben Harris [Wed, 25 Dec 2013 12:50:33 +0000 (12:50 +0000)]
Dcaron and dcaron.

11 years agoAll of the accented 'Z's from Latin Extended-A.
Ben Harris [Fri, 20 Dec 2013 16:31:49 +0000 (16:31 +0000)]
All of the accented 'Z's from Latin Extended-A.

11 years agoTweak to small-caps 'Z' to make it distinct from the lower-case.
Ben Harris [Fri, 20 Dec 2013 16:19:49 +0000 (16:19 +0000)]
Tweak to small-caps 'Z' to make it distinct from the lower-case.

Accented capital 'Z's can thus be consistent with it and distinct from
their lower-case equivalents.

11 years agoRemaining characters to complete Teletext G0 Czech/Slovak set.
Ben Harris [Fri, 20 Dec 2013 16:13:30 +0000 (16:13 +0000)]
Remaining characters to complete Teletext G0 Czech/Slovak set.

Also upper-case versions of most.  Scaron is omitted because it's
difficult to make it distinct from scaron.

11 years agoU+1F681 HELICOPTER
Simon Tatham [Thu, 19 Dec 2013 09:25:48 +0000 (09:25 +0000)]
U+1F681 HELICOPTER

Because it came up last night, and it struck me as cute once I'd drawn
it.

11 years agoU+2607 LIGHTNING and U+2608 THUNDERSTORM.
Ben Harris [Wed, 18 Dec 2013 23:00:54 +0000 (23:00 +0000)]
U+2607 LIGHTNING and U+2608 THUNDERSTORM.

11 years agoU+2260 NOT EQUAL TO is called "notequal" by AGLFN.
Ben Harris [Wed, 18 Dec 2013 22:31:34 +0000 (22:31 +0000)]
U+2260 NOT EQUAL TO is called "notequal" by AGLFN.

11 years agoHere are my best efforts at filling in the missing pieces of the VT100
Simon Tatham [Wed, 18 Dec 2013 22:21:22 +0000 (22:21 +0000)]
Here are my best efforts at filling in the missing pieces of the VT100
line-drawing character set.

11 years agoSmall diff against bedstead.c, plus Python/Tk user interface.
Simon Tatham [Wed, 18 Dec 2013 21:32:17 +0000 (21:32 +0000)]
Small diff against bedstead.c, plus Python/Tk user interface.

11 years agoBug fix: don't pass a size_t when printf expects an int.
Ben Harris [Wed, 18 Dec 2013 19:03:08 +0000 (19:03 +0000)]
Bug fix: don't pass a size_t when printf expects an int.

Spotted by Simon.

11 years agoU+2609 SUN, because it was easy.
Ben Harris [Wed, 18 Dec 2013 18:34:03 +0000 (18:34 +0000)]
U+2609 SUN, because it was easy.

11 years agoAdd U+2708 AIRPLANE.
Ben Harris [Wed, 18 Dec 2013 18:11:03 +0000 (18:11 +0000)]
Add U+2708 AIRPLANE.

I accidentally drew it a while ago, and since it's in Unicode...

11 years agoFix U+2155 VULGAR FRACTION ONE FIFTH.
Ben Harris [Wed, 18 Dec 2013 17:48:17 +0000 (17:48 +0000)]
Fix U+2155 VULGAR FRACTION ONE FIFTH.

Simon noticed that its '1' was taller than that for all the other fractions.

11 years agoU+2017 DOUBLE LOW LINE, to complete CP850.
Ben Harris [Sun, 8 Dec 2013 16:08:56 +0000 (16:08 +0000)]
U+2017 DOUBLE LOW LINE, to complete CP850.

11 years agoUnicode thick box-drawing characters.
Ben Harris [Sun, 8 Dec 2013 00:38:03 +0000 (00:38 +0000)]
Unicode thick box-drawing characters.

11 years agoAdd the remaining musical symbols from the Miscellaneous Symbols block.
Ben Harris [Sat, 7 Dec 2013 22:43:15 +0000 (22:43 +0000)]
Add the remaining musical symbols from the Miscellaneous Symbols block.

11 years agoAdd a glyph for U+FFFD REPLACEMENT CHARACTER.
Ben Harris [Sat, 7 Dec 2013 21:30:11 +0000 (21:30 +0000)]
Add a glyph for U+FFFD REPLACEMENT CHARACTER.

11 years agoComment out Arabic and Armenian.
Ben Harris [Sat, 7 Dec 2013 21:29:44 +0000 (21:29 +0000)]
Comment out Arabic and Armenian.

I'm not sufficiently confident in either of them to include them in
Bedstead 001.000.

11 years agoA few extra characters from the Teletext G2 supplementary set.
Ben Harris [Tue, 3 Dec 2013 22:58:24 +0000 (22:58 +0000)]
A few extra characters from the Teletext G2 supplementary set.

11 years agoCharacter encoding tweaks for compatibility with ZVBI.
Ben Harris [Tue, 3 Dec 2013 21:55:25 +0000 (21:55 +0000)]
Character encoding tweaks for compatibility with ZVBI.

Character 6/0 on the SAA5050 changes from U+2013 EN DASH to U+2014 EM
DASH.

Character 7/15 (all variants) changes from U+25AE BLACK VERTICAL
RECTANGLE to U+25A0 BLACK SQUARE.

Shape of U+25A1 WHITE SQUARE tweaked to match the new U+25A0.

11 years agoList more files in Web page.
Ben Harris [Sun, 1 Dec 2013 23:22:59 +0000 (23:22 +0000)]
List more files in Web page.

11 years agoLink for zip file.
Ben Harris [Sun, 1 Dec 2013 17:08:36 +0000 (17:08 +0000)]
Link for zip file.

11 years agoChange version to 000.990 so I don't accidentally make a release with
Ben Harris [Sun, 1 Dec 2013 17:04:42 +0000 (17:04 +0000)]
Change version to 000.990 so I don't accidentally make a release with
the same version number as the last one.

11 years agoImproved "make dist", now with version numbers.
Ben Harris [Sun, 1 Dec 2013 16:58:06 +0000 (16:58 +0000)]
Improved "make dist", now with version numbers.

11 years agoTrivial "make dist" rule.
Ben Harris [Tue, 26 Nov 2013 23:29:02 +0000 (23:29 +0000)]
Trivial "make dist" rule.

11 years agoAdd U+222A UNION to go with intersection.
Ben Harris [Tue, 26 Nov 2013 00:48:16 +0000 (00:48 +0000)]
Add U+222A UNION to go with intersection.

11 years agoAdd U+20AA NEW SHEQEL SIGN.
Ben Harris [Tue, 26 Nov 2013 00:44:35 +0000 (00:44 +0000)]
Add U+20AA NEW SHEQEL SIGN.

I'd expected this to be impossible, but then I noticed that the two
parts of the sign can overlap very little and wondered if I could get
away with not overlapping them at all.  I think I did.

11 years agoAdd U+20ac EURO SIGN.
Ben Harris [Tue, 26 Nov 2013 00:23:01 +0000 (00:23 +0000)]
Add U+20ac EURO SIGN.

Not particularly pretty, but it'll do.

11 years agoFix Unicode code point for SF110000.
Ben Harris [Mon, 25 Nov 2013 22:40:16 +0000 (22:40 +0000)]
Fix Unicode code point for SF110000.

Detected by bdf2psf.

11 years agoProper glyph names for 1/3 and 2/3.
Ben Harris [Sun, 24 Nov 2013 23:30:12 +0000 (23:30 +0000)]
Proper glyph names for 1/3 and 2/3.

11 years agoImproved lessequal and greaterequal symbols, approved by mathematicians.
Ben Harris [Sun, 24 Nov 2013 20:08:40 +0000 (20:08 +0000)]
Improved lessequal and greaterequal symbols, approved by mathematicians.

11 years agoMove Dwarf Fortress font down a pixel to match BDF.
Ben Harris [Sun, 24 Nov 2013 19:37:01 +0000 (19:37 +0000)]
Move Dwarf Fortress font down a pixel to match BDF.

11 years agoDescriptive comment for df.ps.
Ben Harris [Sun, 24 Nov 2013 19:36:01 +0000 (19:36 +0000)]
Descriptive comment for df.ps.

11 years agoMakefile improvements.
Ben Harris [Sun, 24 Nov 2013 19:23:23 +0000 (19:23 +0000)]
Makefile improvements.

Add extra targets to represent the created BDF and AFM files, in case I
ever care.  Also tweak continuation lines.

11 years agoChange Dwarf Fortress character 0xED to be phi1 rather than phi.
Ben Harris [Sun, 24 Nov 2013 13:30:35 +0000 (13:30 +0000)]
Change Dwarf Fortress character 0xED to be phi1 rather than phi.

IBM's definition of CP437[1] makes it clear that this character should
be a closed phi, but for some reason their mapping from Graphic
Character Global Identifier (GCGID) to Unicode gets the two phi
variants the wrong way around, which means that a lot of CP437 to
Unicode mappings list this character as U+03C6.

[1] <http://www-01.ibm.com/software/globalization/cp/cp00437.html>

11 years agoChange Dwarf Fortress character 0xe1 to germandbls.
Ben Harris [Sun, 24 Nov 2013 12:45:27 +0000 (12:45 +0000)]
Change Dwarf Fortress character 0xe1 to germandbls.

All sources I can find agree that position in CP437 is canonically
German sharp s and not Greek beta.

11 years agoMore fractions.
Ben Harris [Sun, 24 Nov 2013 00:15:08 +0000 (00:15 +0000)]
More fractions.

This completes the Unicode fractions from the "Number forms" block.

11 years agoUse "-q" flag to gs to get less pointless noise.
Ben Harris [Sat, 23 Nov 2013 22:54:35 +0000 (22:54 +0000)]
Use "-q" flag to gs to get less pointless noise.

11 years agoMove character images to bottom of character cell instead of top.
Ben Harris [Sat, 23 Nov 2013 22:03:15 +0000 (22:03 +0000)]
Move character images to bottom of character cell instead of top.

The SAA5050 data sheet shows that there's a blank scanline at the top of
each alphanumeric character compared with the mosaic graphics
characters.  Adjust the font ascent and descent to correctly represent
this.

11 years agoMechanism for making a 10-pixel DF font.
Ben Harris [Sat, 23 Nov 2013 19:11:19 +0000 (19:11 +0000)]
Mechanism for making a 10-pixel DF font.

11 years agoUse GNU Make pattern rules to get correct requirements for sample images.
Ben Harris [Sat, 23 Nov 2013 19:03:57 +0000 (19:03 +0000)]
Use GNU Make pattern rules to get correct requirements for sample images.

11 years agoCorrectly mark "clean" as a phony Makefile target.
Ben Harris [Sat, 23 Nov 2013 18:55:14 +0000 (18:55 +0000)]
Correctly mark "clean" as a phony Makefile target.

11 years agoUse Ghostscript's "-o" option to simplify commands.
Ben Harris [Sat, 23 Nov 2013 18:53:52 +0000 (18:53 +0000)]
Use Ghostscript's "-o" option to simplify commands.

11 years agoAdd Makefile rules to generate BDF files.
Ben Harris [Wed, 13 Nov 2013 23:34:10 +0000 (23:34 +0000)]
Add Makefile rules to generate BDF files.

11 years agoUse stylistic sets to access chip-specific characters.
Ben Harris [Wed, 13 Nov 2013 23:15:59 +0000 (23:15 +0000)]
Use stylistic sets to access chip-specific characters.

Now, for characters where the various SAA5050 variants differ from one
another (or from my aesthetic sense), a "stylistic set" lookup can be
used to force the use of the variants from a particular chip.  "ss01"
gives SAA5051 shapes, "ss02" gives SAA5052 shapes, and "ss04" gives
SAA5054 shapes.  Bedstead's usual shapes are entirely compatible with
the other chips in the series.

11 years agotypo
Ben Harris [Mon, 4 Nov 2013 09:49:30 +0000 (09:49 +0000)]
typo

11 years agoFar too many arrows
Ben Harris [Sun, 3 Nov 2013 16:14:44 +0000 (16:14 +0000)]
Far too many arrows

11 years agoU+2B1A DOTTED SQUARE to go with our dotted circle.
Ben Harris [Sun, 3 Nov 2013 12:38:01 +0000 (12:38 +0000)]
U+2B1A DOTTED SQUARE to go with our dotted circle.

11 years agoTweaks and additions to geometric symbols.
Ben Harris [Sun, 3 Nov 2013 12:27:18 +0000 (12:27 +0000)]
Tweaks and additions to geometric symbols.

11 years agoSuperscripts: U+2070 to U+207F.
Ben Harris [Sun, 3 Nov 2013 11:03:22 +0000 (11:03 +0000)]
Superscripts: U+2070 to U+207F.

One of these is required by CP437, and I thought I may as well have the
full set.

11 years agoAdd 'radical' character.
Ben Harris [Sat, 2 Nov 2013 17:29:47 +0000 (17:29 +0000)]
Add 'radical' character.

11 years agoFix names of circumflexed letters in DF font.
Ben Harris [Sat, 2 Nov 2013 17:29:35 +0000 (17:29 +0000)]
Fix names of circumflexed letters in DF font.

11 years agoMechanism for generating Dwarf Fortress font.
Ben Harris [Sat, 2 Nov 2013 17:19:39 +0000 (17:19 +0000)]
Mechanism for generating Dwarf Fortress font.

11 years agoMore merge fixes
Ben Harris [Fri, 1 Nov 2013 21:29:10 +0000 (21:29 +0000)]
More merge fixes

11 years agoSpurious left-over conflict marker.
Ben Harris [Fri, 1 Nov 2013 21:27:45 +0000 (21:27 +0000)]
Spurious left-over conflict marker.

11 years agoMerge CP437 changes.
Ben Harris [Fri, 1 Nov 2013 21:02:26 +0000 (21:02 +0000)]
Merge CP437 changes.

11 years agoAdd a load of characters (mostly symbolic) for code page 437.
Ben Harris [Fri, 1 Nov 2013 20:05:45 +0000 (20:05 +0000)]
Add a load of characters (mostly symbolic) for code page 437.

Also reallocate the mostly-filled block character away from U+2588 FULL
BLOCK because it doesn't fill the entire character cell.  I've introduced
a new glyph that does.

12 years agoPOSIXify Makefile (using short variable names rather than long ones).
Ben Harris [Sat, 2 Jun 2012 11:39:11 +0000 (12:39 +0100)]
POSIXify Makefile (using short variable names rather than long ones).
Bedstead can now be made with GNU Make.

13 years agoEighths
Ben Harris [Tue, 8 May 2012 22:23:48 +0000 (23:23 +0100)]
Eighths

13 years agoA few more easy accented Latin characters.
Ben Harris [Tue, 8 May 2012 22:09:22 +0000 (23:09 +0100)]
A few more easy accented Latin characters.

13 years agoShorten macrons so that they're more consistent with other fonts and
Ben Harris [Tue, 8 May 2012 21:33:00 +0000 (22:33 +0100)]
Shorten macrons so that they're more consistent with other fonts and
allow for overbars (which ought to be longer than macrons).