1 AT_BANNER([ASCII driver -- rendering corner cases])
3 AT_SETUP([ASCII driver overwriting single-width text])
4 AT_KEYWORDS([render rendering])
6 ## overwriting rest of line
10 # emphasized over plain
13 # plain over emphasized
16 # emphasized over emphasized
20 ## overwriting partial line
25 # emphasized over plain
29 # plain over emphasized
33 # emphasized over emphasized
38 ## overwriting rest of line with double-width characters
42 # emphasized over plain
45 # plain over emphasized
48 # emphasized over emphasized
52 ## overwriting partial line with double-width characters
57 # emphasized over plain
61 # plain over emphasized
65 # emphasized over emphasized
70 AT_CHECK([render-test --draw-mode --emph=none input], [0], [dnl
91 AT_CHECK([render-test --draw-mode --emph=bold input], [0], [dnl
100 S
\bSt
\btU
\bUV
\bVW
\bWx
\bx
110 か
\bかk
\bki
\biく
\bくけ
\bけk
\bko
\bo
112 AT_CHECK([render-test --draw-mode --emph=underline input], [0], [dnl
121 _
\bS_
\bt_
\bU_
\bV_
\bW_
\bx
131 _
\bか_
\bk_
\bi_
\bく_
\bけ_
\bk_
\bo
135 AT_SETUP([ASCII driver overwriting double-width text])
136 AT_KEYWORDS([render rendering])
137 AT_DATA([input], [dnl
138 ## overwrite rest of line, aligned double-width over double-width
142 # emphasized over plain
145 # plain over emphasized
148 # emphasized over emphasized
152 ## overwrite rest of line, misaligned double-width over double-width
156 # emphasized over plain
159 # plain over emphasized
162 # emphasized over emphasized
166 ## overwrite partial line, aligned double-width over double-width
171 # emphasized over plain
175 # plain over emphasized
179 # emphasized over emphasized
184 ## overwrite partial line, misaligned double-width over double-width
189 # emphasized over plain
193 # plain over emphasized
197 # emphasized over emphasized
202 ## overwrite rest of line, aligned single-width over double-width
206 # emphasized over plain
209 # plain over emphasized
212 # emphasized over emphasized
216 ## overwrite rest of line, misaligned single-width over double-width
220 # emphasized over plain
223 # plain over emphasized
226 # emphasized over emphasized
230 ## overwrite partial line, aligned single-width over double-width
235 # emphasized over plain
239 # plain over emphasized
243 # emphasized over emphasized
248 ## overwrite partial line, misaligned single-width over double-width
253 # emphasized over plain
257 # plain over emphasized
261 # emphasized over emphasized
266 AT_CHECK([render-test --draw-mode --emph=none input], [0], [dnl
307 AT_CHECK([render-test --draw-mode --emph=bold input], [0], [dnl
329 あk
\bki
\bik
\bku
\buk
\bko
\bo
331 あ
\bあk
\bki
\bik
\bku
\buk
\bko
\bo
334 あ?k
\bki
\bik
\bku
\buk
\bko
\bo
336 あ
\bあ?k
\bki
\bik
\bku
\buk
\bko
\bo
339 k
\bka
\baいk
\bku
\buk
\bke
\beお
341 k
\bka
\baい
\bいk
\bku
\buk
\bke
\beお
\bお
344 ?a
\baい?k
\bku
\buk
\bke
\be?さ
346 ?a
\baい
\bい?k
\bku
\buk
\bke
\be?さ
\bさ
348 AT_CHECK([render-test --draw-mode --emph=underline input], [0], [dnl
370 あ_
\bk_
\bi_
\bk_
\bu_
\bk_
\bo
372 _
\bあ_
\bk_
\bi_
\bk_
\bu_
\bk_
\bo
375 あ?_
\bk_
\bi_
\bk_
\bu_
\bk_
\bo
377 _
\bあ?_
\bk_
\bi_
\bk_
\bu_
\bk_
\bo
380 _
\bk_
\baい_
\bk_
\bu_
\bk_
\beお
382 _
\bk_
\ba_
\bい_
\bk_
\bu_
\bk_
\be_
\bお
385 ?_
\baい?_
\bk_
\bu_
\bk_
\be?さ
387 ?_
\ba_
\bい?_
\bk_
\bu_
\bk_
\be?_
\bさ
391 AT_SETUP([ASCII driver overwriting combining characters])
392 AT_KEYWORDS([render rendering])
393 AT_DATA([input], [dnl
394 ## overwriting rest of line, ordinary over combining
398 # emphasized over plain
401 # plain over emphasized
404 # emphasized over emphasized
408 ## overwriting rest of line, combining over ordinary
412 # emphasized over plain
415 # plain over emphasized
418 # emphasized over emphasized
422 ## overwriting partial line, ordinary over combining
427 # emphasized over plain
431 # plain over emphasized
435 # emphasized over emphasized
440 ## overwriting partial line, combining over ordinary
445 # emphasized over plain
449 # plain over emphasized
453 # emphasized over emphasized
458 AT_CHECK([render-test --draw-mode --emph=none input], [0], [dnl
479 AT_CHECK([render-test --draw-mode --emph=bold input], [0], [dnl
493 a
\bae
\béi
\bio
\bou
\buy
\bẙ
496 a
\bàei
\bîo
\bo̧u
\bũy
498 a
\bàe
\bei
\bîo
\bo̧u
\bũy
\by
500 AT_CHECK([render-test --draw-mode --emph=underline input], [0], [dnl
514 _
\ba_
\bé_
\bi_
\bo_
\bu_
\bẙ
517 _
\bàe_
\bî_
\bo̧_
\bũy
519 _
\bà_
\be_
\bî_
\bo̧_
\bũ_
\by
523 AT_SETUP([ASCII driver u8_line_set_length])
524 AT_KEYWORDS([render rendering])
525 AT_DATA([input], [dnl
550 AT_CHECK([render-test --draw-mode input], [0], [dnl
564 AT_SETUP([ASCII driver Unicode box characters])
565 AT_KEYWORDS([render rendering])
566 AT_DATA([input], [3 3
573 AT_CHECK([render-test --box=unicode input], [0], [dnl
584 AT_SETUP([ASCII driver syntax printback])
585 AT_DATA([ascii.sps], [dnl
587 DATA LIST LIST /x * y * a (a23).
597 /STATISTICS=COEFF R ANOVA.
599 AT_CHECK([pspp ascii.sps], [0], [dnl
602 DATA LIST LIST /x * y * a (a23).
604 Reading free-form data from INLINE.
622 ascii.sps:11: warning: REGRESSION: a is not a numeric variable. It will not be
623 included in the variable list.
626 /STATISTICS=COEFF R ANOVA.
631 AT_SETUP([ASCII unicode box chars])
633 AT_DATA([uc.sps], [dnl
635 DATA LIST NOTABLE LIST /x * .
646 AT_CHECK([pspp -O box=unicode uc.sps], [0], [dnl
647 Valid cases = 3; cases with missing value(s) = 0.
648 ╭────────╥─┬──────┬───────┬───────┬───────╮
649 │Variable║N│ Mean │Std Dev│Minimum│Maximum│
650 ╞════════╬═╪══════╪═══════╪═══════╪═══════╡
651 │x ║3│2.0000│ 1.0000│ 1.0000│ 3.0000│
652 ╰────────╨─┴──────┴───────┴───────┴───────╯