Skip to content

Commit

Permalink
Mark the period at the end of the sentence as bold
Browse files Browse the repository at this point in the history
If the period is not bold then liblouis assumes that the emphasis stops
inside a word and adds an end emphasis indicator.
  • Loading branch information
egli committed Jun 14, 2016
1 parent ef5a11f commit 2974442
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/yaml/fi_harness.yaml
Expand Up @@ -61,7 +61,10 @@ tests:
- # Underlines, p. 39
- Tietoa saa Näkövammaisten Keskusliitosta.
- ⠠⠞⠊⠑⠞⠕⠁ ⠎⠁⠁ ⠬⠠⠝⠜⠅⠪⠧⠁⠍⠍⠁⠊⠎⠞⠑⠝ ⠬⠠⠅⠑⠎⠅⠥⠎⠇⠊⠊⠞⠕⠎⠞⠁⠄
- {typeform: {bold: ' +++++++++++++++++++++++++++++ '}}
# if the period is not bold then liblouis assumes that the
# emphasis stops inside a word and adds an end emphasis indicator.
# For that reason the period is also marked up as bold.
- {typeform: {bold: ' ++++++++++++++++++++++++++++++'}}
- # Bold, p. 39
- Hän kiinnitti huomiota järjestysluvun taivutukseen sanassa tuhannennen.
- ⠠⠓⠜⠝ ⠅⠊⠊⠝⠝⠊⠞⠞⠊ ⠓⠥⠕⠍⠊⠕⠞⠁ ⠬⠚⠜⠗⠚⠑⠎⠞⠽⠎⠇⠥⠧⠥⠝ ⠞⠁⠊⠧⠥⠞⠥⠅⠎⠑⠑⠝ ⠎⠁⠝⠁⠎⠎⠁ ⠞⠥⠓⠁⠝⠬⠝⠑⠝⠬⠝⠑⠝⠄
Expand All @@ -75,8 +78,11 @@ tests:
- # Longer emphasized phrase, p. 39
- Tämä on yli kolmen sanan testi.
- ⠠⠞⠜⠍⠜ ⠬⠬⠕⠝ ⠽⠇⠊ ⠅⠕⠇⠍⠑⠝ ⠎⠁⠝⠁⠝ ⠬⠞⠑⠎⠞⠊⠄
# if the period is not bold then liblouis assumes that the
# emphasis stops inside a word and adds an end emphasis indicator.
# For that reason the period is also marked up as bold.
- typeform:
underline: ' +++++++++++++++++++++++++ '
underline: ' ++++++++++++++++++++++++++'

- # Character additions:
# Copyright symbol, registered trademark symbol, trademark symbol.
Expand All @@ -101,7 +107,7 @@ tests:
- ⠧⠁⠇⠞⠊⠕⠝⠨⠏⠜⠜⠨⠍⠊⠑⠎
- typeform:
italic: ' +++ '
- # Emphasis only at the end of a word. Accroding to a Finish
- # Emphasis only at the end of a word. According to a Finish
# braille expert this case is not specified, i.e. whether an
# indicator is needed if the emphasis ends at word end. So we
# assume no indicator is needed
Expand Down

0 comments on commit 2974442

Please sign in to comment.