sub @end-on' @no-connect-left by @end-off;
My @no-connect-left class includes numbers, but mostly relies on its inclusion of /space to determine when a word has ended. The problem is, when I browser test, CSS font-feature-settings doesn't seem to treat /space as a glyph. The feature will work if I end the word with a number, but not with the space character. Has anyone noticed this and figured out a workaround, or is this just the problem with awful opentype browser support?
Comments
Put another way: rather than tell the engine when to turn the connection off, you tell it when *not* to turn it off.
Something like this:
Where @connecting_context is all chars that don’t constitute word termination, i.e. all glyphs that the connecting form can connect to (so, basically the opposite of your @no-connect-left).
That way the text processing engine doesn’t have to consider whether a space is following (nor what kind of space, because you never really know, especially at a line ending), or soft-hyphen break, or some kind of control char; it only has to know that it isn’t one of the designated connecting letters.
Does that make sense and help?