Closed bertfrees closed 8 years ago
One option is to make this a formatter feature which must be controlled through a dedicated 'letter-spacing' property (or alternatively through a top-level formatter setting).
The other option is to make this a translator feature which could be controlled either through a dedicated 'letter-spacing' property or through the 'text-transform' property (https://github.com/snaekobbi/braille-css-spec/issues/12) (or alternatively through a translator query). The translator would apply letter spacing by inserting non-breaking spaces and zero-width spaces without the renderer having to be aware of it.
The latter is probably the best solution because the translator is more likely to have the necessary information to apply letter spacing correctly.
Either way, we have to have a definition of "letter" somewhere (not necessarily in the CSS specification).
We could define "letter" as the smallest unit of a braille string which is "a single braille cell" (grapheme). A more advanced definition of a letter in braille would be the "sequence of braille cells that correspond to a single letter (grapheme) in the normal text". Or, in case we are dealing with contractions, "the smallest unit in a braille string that can be traced back unambiguously to a segment in the normal text".
Maybe we also need word-spacing
.
Add a section explaining how double letter spacing can be accomplished. In the simplest form double letter spacing means adding a space between each two characters. But sometimes it is desirable to keep certain characters together.
See http://snaekobbi.github.io/braille-css-spec/#h3_letter-spacing