Document formatting preferences don't always apply to braille in browse mode #7615
Steps to reproduce:
This is italic text.
The italic text is not marked as italic.
Speech does indeed not mention the italic attribute, but braille still shows it.
Can't reproduce in Word, so it seems specific to browse mode.
First reported by @rimas-kudelis in #1885 (comment). The key take-away point is that this problem is quite annoying for users on the web, and if unresolved may lead to people "fixing" braille tables to exclude bold/italic/etc altogether.
The text was updated successfully, but these errors were encountered:
This can be fixed with a simple patch of braille.py to consider formatConfig before sending text formatting flags to liblouis.
A further optimization is to not fetch IA2 text attributes and object attributes if all the formatConfig options that rely on them are disabled. This saves a few COM calls but the gains are probably minimal.