9 Commits

Author SHA1 Message Date
Ben Harris
9b8a3dc4fd Rename "angular" cedilla as "square"
They both have angles, after all.  Also "square" sorts more
conveniently in the 'aalt' lookup.
2025-02-02 11:29:58 +00:00
Ben Harris
39474c8fc0 Add 'ss05' which maps all of U+0020..U+007E to SAA5055 glyphs
This seems appropriate for something that wants to treat these as ASCII
glyphs with their ambiguous semantics.

This uses the existing apostrophe.curly, and also adds grave.curly (an
alias for quotereversed) and bar.broken (an alias for brokenbar).  Of
course there are also 'cvXX' features to enable each one individually as
well.
2025-01-19 00:49:30 +00:00
Ben Harris
9f2acba7bd Add character variant for curly apostrophe (SAA5051/2)
Unicode takes the position that U+0027 APOSTROPHE is always a straight
apostrophe and is you want a curly one you should use U+2019 RIGHT
SINGLE QUOTATION MARK (or U+02BC MODIFIER LETTER APOSTROPHE but let's
not get into that here).  Bedstead generally follows that, putting the
SAA5050 straight apostrophe at U+0027 and the SAA5055 curly one at
U+2019.

Older character standards, though, conflated those two and treated the
difference between them as one of font design.  In particular, ETS 300
706: May 1997, "Enhanced Teletext specification" treats position 2/7 as
being the same character in all national sub-sets of the Latin G0
primary set.  When coverting Teletext data to Unicode, ZVBI maps 2/7 to
U+0027 whichever national sub-set is in use.

This means that to faithfully display Teletext data in the way that an
SAA5051/2 would, Bedstead needs to interpret U+0027 as a curly
apostrophe.  I have accomplished this by adding a new "apostrophe.curly"
alias and including that in the 'ss01' and 'ss02' Stylistic Sets.  It
also, of course, gains a new Character Variant feature, 'cv07', so that
you can turn the curly apostrophe on and off independently.

This does cause me to wonder whether there should be a stylistic set to
map U+0020..U+007E onto the SAA5055 glyphs.
2025-01-19 00:49:30 +00:00
Ben Harris
237d5f515d Rename two 'cvXX' features based on SAA5054 shapes
The features that generate the variant ocircumflex and ccedilla glyphs
are now treated a being variants of lower-case 'o' and cedilla
respectively.  Unlike the SAA5051/2 variants, we don't yet have
variants of their base glyphs.  Indeed, for the lower-case 'o' we
probably never will, because the variant is "larger accented versions"
so the unaccented version wouldn't change.

I haven't done anything about the weird SAA5054 ugrave because I'm not
sure there's any real design principle behind it.

I've also added a comment explaining the numbering of 'cvXX' features.
2025-01-14 23:21:24 +00:00
Ben Harris
fd06786a45 Add SPDX-License-Identifier to CSS files 2025-01-08 23:35:43 +00:00
Ben Harris
2b1938ed32 Add @character-variant rules to bedstead-faces.css 2025-01-08 23:34:30 +00:00
Ben Harris
670c0b0dd5 Add @font-feature-values to bedstead-faces.css
This means that users of this stylesheet can use declarations like
"font-variant: styleset(saa5051)" to request a particular stylistic set.
The separated graphics sets, 'ss14' and 'ss16', are not covered by this
because new applications should use the proper Unicode code points for
separated graphics instead.
2024-12-29 18:50:52 +00: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
b3b9184bed Extract @font-face rules into their own CSS file.
This seems sensible, since the @font-face rules should be grneric to all 
uses of Bedstead in CSS.
2018-04-22 19:59:24 +01:00