File: 177_utf8_generate_box.cfg

package info (click to toggle)
boxes 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,800 kB
  • sloc: ansic: 10,566; lex: 517; sh: 503; makefile: 309; yacc: 272; lisp: 78
file content (47 lines) | stat: -rw-r--r-- 1,163 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This config contains UTF-8-encoded elements used correctly, and a simple colored box design.

BOX designA

sample
    โ”โ”โ”ณโ” ๆฒๅฎธ ่‹ฅๆฑ โ”โ”“
    โ”ƒ โ”ƒ             โ”‹
    โ”ƒ โ”ƒ             โ”ƒ
    โ”ƒ โ”ƒ             โ”‹
    โ”ฃโ”โ•‹โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ซ
    โ”—โ”โ”ปโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”›
ends

# Monochrome sample (with UTF-8):
# โ”โ”โ”ณโ” ๆฒๅฎธ ่‹ฅๆฑ โ”โ”“
# โ”ƒ โ”ƒ             โ”‹
# โ”ƒ โ”ƒ             โ”ƒ
# โ”ƒ โ”ƒ             โ”‹
# โ”ฃโ”โ•‹โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ซ
# โ”—โ”โ”ปโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”›

shapes {
     n (" ๆฒๅฎธ ่‹ฅๆฑ ",
        "           ")
     nw ("โ”โ”โ”ณ", "โ”ƒ โ”ƒ")
     nnw ("โ”", " ")
     nne ("โ”", " ")
     ne ("โ”“", "โ”‹")
     e ("โ”ƒ", "โ”‹")
     w ("โ”ƒ โ”ƒ")
     se ("โ”ซ", "โ”›")
     s ("โ”", "โ”")
     sw ("โ”ฃโ”โ•‹", "โ”—โ”โ”ป")
}

elastic (
    nnw, nne, e, w, s
)

padding {
    horiz 1
}

replace "รค" with "รถ"
reverse "รถ" to "รค"

END designA