-
-
Notifications
You must be signed in to change notification settings - Fork 768
Add hyphenation support to braille using Pyphen #17010
Copy link
Copy link
Open
Labels
component/braillecomponent/braille-uxUser experience for brailleUser experience for braillep5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityhttps://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.Has been triaged, issue is waiting for implementation.
Metadata
Metadata
Assignees
Labels
component/braillecomponent/braille-uxUser experience for brailleUser experience for braillep5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityhttps://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.Has been triaged, issue is waiting for implementation.
Is your feature request related to a problem? Please describe.
NVDA braille has a word wrap feature that ensures full words are shown on the braille display. However, with mobile braille displays, this might require a lot of scrolling for longer words.
The alternative would be disabling word wrap, but that means that it is not clear from braille whether you're at the end of a word or not, you'll just have to guess.
Describe the solution you'd like
Make word wrap a tristate function, allowing hyphenation using pyphen. Pyphen uses the same sources as Open Office.
A difficulty is, how to choose the proper hyphenation table? It should probably be bound to the language of the braille table by default, but if text info prescribes another language, that language should be used instead.
Another question is, should we hyphenate with the dash? How is a braille reader supposed to know that the dash is part of hyphenation rather than part of the real text? I guess this is just a matter of fact, when you want hyphenation, you will have the dash at the end of the braille display. If you don't want this ambiguity, just disable hyphenation altogether.
Describe alternatives you've considered
Use a basic form of hyphenation that just adds a hyphen/dash to the end of the braille display when the text continues after the current window. That can solve some confusion.