root/tests/src/viewer/viewertest.txt

/* [previous][next][first][last][top][bottom][index][help]  */
* LF as line terminator
This row has 79 columns:   30|       40|       50|       60|       70|      79|
This row has 80 columns:   30|       40|       50|       60|       70|       80|
This row has 81 columns:   30|       40|       50|       60|       70|        81|
 
* CR as line terminator
This row has 79 columns:   30|       40|       50|       60|       70|      79|
This row has 80 columns:   30|       40|       50|       60|       70|       80|
This row has 81 columns:   30|       40|       50|       60|       70|        81|

* CR+LF as line terminator
This row has 79 columns:   30|       40|       50|       60|       70|      79|
This row has 80 columns:   30|       40|       50|       60|       70|       80|
This row has 81 columns:   30|       40|       50|       60|       70|        81|
 
* TAB characters of varying widths (with reference rendering above).
  When wrapped, the trailing bars will not always align
88888888········7·······66······555·····4444····33333···222222··1111111·|
88888888        7       66      555     4444    33333   222222  1111111 |
 
* Combining accents on top of every second letter (a, c, ...)
---------------------------------------------------|
ÁBC̀DÉFG̀HÍJK̀LḾNÒPQ́RS̀TÚVẀXÝzỳxẃvùtśrq̀pónm̀lḱjìhǵfèdćbà|
 
* More and more combining accents on a single character
---  ---  ---  ---  ---  ---|
0:a  1:à  2:à́  3:à́̂  4:à́̂̃  5:à́̂̃̄|
0:x  1:x̀  2:x̀́  3:x̀́̂  4:x̀́̂̃  5:x̀́̂̃̄|
 
* Combining accents at beginning of line, and after tab, with
  reference rendering (explicit dotted circles, and spaces) above
-       -       -       -       -|
◌̀́       ◌̀́       ◌̀́       ◌̀́       ◌̀́|
̀́    ̀́    ̀́    ̀́    ̀́|
 
* Same with spacing mark
一      一      一      一      一|
◌ो      ◌ो      ◌ो      ◌ो      ◌ो|
ो     ो     ो     ो     ो|
 
* CJK, Lorem ipsum by Google translate, second line shifted by a space.
  When wrapped, the trailing bars will not align
のイプサム嘆き、の痛みに座るが、時折状況が労苦と痛みが彼にいくつかの大きな喜びを調達することができる起こるので。 |
 のイプサム嘆き、の痛みに座るが、時折状況が労苦と痛みが彼にいくつかの大きな喜びを調達することができる起こるので。|
 
* Devanagari spacing marks, with reference positions. Just as with CJK,
  the two cells should appear/disappear together
一 一 一 一|一  一  一  一|一   一   一   一|一    一    一    一|
हो हि हो हि|हो  हि  हो  हि|हो   हि   हो   हि|हो    हि    हो    हि|
 
* Thai Sara Am
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --|
aำ bำ cำ dำ eำ fำ gำ hำ iำ jำ kำ lำ mำ nำ oำ pำ qำ rำ sำ tำ uำ vำ wำ xำ yำ zำ|
 
* TABs mixed with other weird characters
-----   -       一      一一一一        --      -- --   |
abcde          の     イプサム    à́b̀́      हो हि   |
 
* Extreme stress test: base letter with multiple (c)ombining or (s)pacing marks
---  -------  ----  ------------  -----------  -----------  -----------  -----------|
c:x̀  ccccc:x̀́̂̃̄  s:xो  sssss:xोोोोो  sssccc:xोोो̀́̂  cccsss:x̀́̂ोोो  scscsc:xो̀ो́ो̂  cscscs:x̀ो́ो̂ो|
 
* Same as above, but with CJK base char
--一  ------一  --一-  ------一-----  -------一---  -------一---  -------一---  -------一---|
c:の̀  ccccc:の̀́̂̃̄  s:のो  sssss:のोोोोो  sssccc:のोोो̀́̂  cccsss:の̀́̂ोोो  scscsc:のो̀ो́ो̂  cscscs:の̀ो́ो̂ो|
 
* Nroff
---------------  一一一一  - - - -  一 一 一 一  -----------------|
_Hello,_World!_  のイプサ  à́ b̀́ c̀́ d̀́  हो हि हो हि  __b___u___b___u__|
__HHeelllloo,,___W_o_r_l_d_!__  ののイイ_プ_サ  aà̀́́ bb̀̀́́ _c_̀_́ _d_̀_́  हहोो हहिि _ह_ो _ह_ि  ____bb_______u______bb_______u____|
______ <- should be bold again
 
* Invalid nroff (a backspace b tab backspace tab underscore backspace newline,
  reference rendering in the first row)
a.b     .       _.
ab            _
 
* Control characters (00-1F except tab/lf/cr, 7F, 80-9F), should all be replaced by dots
@ABCDEFGH--KL-NOPQRSTUVWXYZ[\]^_|?|@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_|
 
* Invalid UTF-8 not tested here, use Markus Kuhn's stress test

/* [previous][next][first][last][top][bottom][index][help]  */