Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

フリーフォント(Rounded M+)を同梱する + フォントディレクトリ修正 ほか #88

Merged
merged 3 commits into from
Feb 3, 2024

Conversation

windymelt
Copy link
Owner

solves: #85

前提 / Prerequisites

  • ZMMにはフォントが同梱されていない

なぜこのPRが必要になったか / Why do we need this PR

  • フォントがうまくレンダされず豆腐になっているという報告が寄せられた
  • フリーフォントでありライセンス上問題なければDockerイメージに同梱していいはず
  • フォントディレクトリの指定もうまくいっていない様子だった

なにをやったか / What I did

  • Rounded M+をDockerイメージの生成過程で同梱した (ライセンス http://jikasei.me/font/rounded-mplus/license.html)
  • フォント指定のディレクトリを/root/.fontsから/usr/share/fonts/zmmに変更した
  • ffmpegのバージョンが更新されてDockerイメージビルドがコケていたので追従

補足 / Supplementary information

デフォルトではunzipが入っていないのでイメージに同梱した。

@windymelt
Copy link
Owner Author

四国めたん立ち絵なども同梱したいがライセンスがざっくりしすぎているので同梱するにはハードルが高い気がする(未調査)・・・

@windymelt windymelt merged commit ae0de6b into main Feb 3, 2024
2 checks passed
@windymelt windymelt deleted the include-fonts branch February 3, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant