blob: b91ea768e1f0cc28ad085039133cb4cf4d3bfdfb [file] [log] [blame]
# Test if the emphasis handling works as advertised (using just
# begemph and endemph without any context)
table: |
include tables/unicode-without-blank.dis
include tables/spaces.uti
include tables/en-chardefs.cti
emphclass italic
begemph italic 46-3
endemph italic 46-36
tests:
- # no emphasis, just warming up
- abcdefg
- ⠁⠃⠉⠙⠑⠋⠛
- # plain old emphasis
- abcdefg
- ⠨⠄⠁⠃⠉⠙⠑⠋⠛⠨⠤
- typeform:
italic: '+++++++'
- # emphasis just one word
- abc defg
- ⠨⠄⠁⠃⠉⠨⠤ ⠙⠑⠋⠛
- typeform:
italic: '+++ '
- # emphasis across multiple words
- abc defg
- ⠨⠄⠁⠃⠉ ⠙⠑⠋⠛⠨⠤
- typeform:
italic: '++++++++'
- # emphasis within word
- abcdefg
- ⠁⠃⠨⠄⠉⠙⠨⠤⠑⠋⠛
- typeform:
italic: ' ++ '
- # emphasis across multiple words
- abc abc abc defg defg
- ⠨⠄⠁⠃⠉ ⠁⠃⠉ ⠁⠃⠉ ⠙⠑⠋⠛⠨⠤ ⠙⠑⠋⠛
- typeform:
italic: '++++++++++++++++ '