Re: [csswg-drafts] [css-text] shaping breaks and typographic characters (#699)

The features would be bespoke OpenType font-specific features, such as [cv01](https://docs.microsoft.com/en-gb/typography/opentype/spec/features_ae#cv01-cv99) or ss01.  As with the example, one needs a special font.  For example, I use the style definition
`.lohack1 {font-family: dl1; font-feature-settings: "ss02" 1, "ss99" 1}`
in my webpage http://wrdingham.co.uk/lanna/renderer_test.htm to specify the use of a particular web font with the two features special features enabled, ss02 and ss99 (should be ss19, but the unregistered tag works).  The feature ss99 chooses the Lao variants of the glyphs (Microsoft browsers don't use the language for shaping).  One of the TrueType-flavour OpenType fonts selectable by that page, Da Lekh Si, uses colour to distinguish subscripts in the onset of a syllable from those in the coda of a syllable; I created the font to make the use of a spell-checker on Firefox easier.

It so happens that feature ss02 uses the privileges of Latin to convert and shape an ASCII hack to a complex script totally unsupported by IE 11 (last time I looked), but that is irrelevant to the issue of colouring text.  I don't need to select any features when I use Da Lekh Si with a competent-enough renderer and the default language suffices.


-- 
GitHub Notification of comment by Richard57
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/699#issuecomment-467947069 using your GitHub account

Received on Wednesday, 27 February 2019 17:08:29 UTC