Add information about changing the font.

オープン
#37 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
html

調査の方向性

This is the Lem project website (lem-project.github.io). Find the existing documentation or usage pages in the site source and add a short section on changing the font, using the Lisp snippet from the issue (lem-sdl2/display:change-font and make-font-config). Confirm the page renders and that the snippet is attributed as community/Discord guidance. Done when the site documents how to set latin/cjk regular and bold TTF files.

索引モデルが issue の本文から書いたものです。

説明

Was looking for this because the right arrow isn't displaying for me.

image

I'll mention that in Discord and see if it's worth tracking as a bug or if it's something unique to my system.

Regardless, this seems like something that would be good to have in documentation somewhere.

Found this in Discord.

(let ((font-regular #P"/home/andy/.guix-profile/share/fonts/truetype/MononokiNerdFont-Regular.ttf")
      (font-bold #P"/home/andy/.guix-profile/share/fonts/truetype/MononokiNerdFont-Bold.ttf"))
  (when (and (uiop:file-exists-p font-regular)
             (uiop:file-exists-p font-bold))
    (lem-sdl2/display:change-font (lem-sdl2/display:current-display)
                                  (lem-sdl2/font:make-font-config
                                   :latin-normal-file font-regular
                                   :latin-bold-file font-bold
                                   :cjk-normal-file font-regular
                                   :cjk-bold-file font-bold))))
主要言語
HTML
スター
6
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lem-project/lem-project.github.io のほかの issue

lem-project/lem-project.github.io の issue をすべて見る

似ている issue

Content の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。