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

[visualizer] フォント埋め込みをやめ、SVG画像で埋め込む #1153

Open
OkanoShinri opened this issue Nov 30, 2022 · 0 comments

Comments

@OkanoShinri
Copy link
Collaborator

現状可視化時の牌はフォント(GL-MahjongTile)をbase64形式にしてsvg内に埋め込むことで表示しているが、これは不安定で、

などの変換ツールでpng形式にうまく変換できない。

https://danmarshall.github.io/google-font-to-svg-path/
これを用いて牌一つひとつの画像を作ってしまえば、svg画像内にフォントを埋め込む必要がなくなる。

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

No branches or pull requests

1 participant