boxes/test/177_utf8_generate_box.cfg

48 lines
1.1 KiB
INI
Raw Normal View History

# 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