aboutsummaryrefslogtreecommitdiffhomepage
path: root/content/posts/2022-04-24
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-17 01:56:28 +0900
committernsfisis <nsfisis@gmail.com>2023-03-17 01:56:28 +0900
commit77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2 (patch)
tree9df529139da165452ba2db2e33a28898a97dea4a /content/posts/2022-04-24
parent0766039bd9e6b9f5e6334e84666f5be698d41fc3 (diff)
downloadblog.nsfisis.dev-77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2.tar.gz
blog.nsfisis.dev-77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2.tar.zst
blog.nsfisis.dev-77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2.zip
fix(content): fix XML notations
Diffstat (limited to 'content/posts/2022-04-24')
-rw-r--r--content/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal.xml15
1 files changed, 4 insertions, 11 deletions
diff --git a/content/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal.xml b/content/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal.xml
index e05b51f..0acaad5 100644
--- a/content/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal.xml
+++ b/content/posts/2022-04-24/term-banner-write-tool-showing-banner-in-terminal.xml
@@ -46,17 +46,10 @@
<title>プログラム</title>
<simpara>全体の流れは次のようになっている。</simpara>
<orderedlist numeration="arabic">
- <listitem>
- <simpara>フォントファイルを読み込む</simpara>
- </listitem>
- <listitem>
- <simpara>コマンドライン引数を Shift-JIS に変換する (フォントが Shift-JIS
- 基準で並んでいるため)</simpara>
- </listitem>
- <listitem>
- <simpara>1文字ずつレンダリングしていく</simpara>
- </listitem>
-</orderedlist>
+ <listitem>フォントファイルを読み込む</listitem>
+ <listitem>コマンドライン引数を Shift-JIS に変換する (フォントが Shift-JIS 基準で並んでいるため)</listitem>
+ <listitem>1文字ずつレンダリングしていく</listitem>
+ </orderedlist>
<simpara><literal>big-clock-mode</literal> が Go 製なので、今回も Go で書いた。 PNG
が標準ライブラリにあったり、Shift-JIS
のエンコーディングが準標準ライブラリにあったりしたのは助かった。</simpara>