-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: add examples/unicode_font3_const
- Loading branch information
1 parent
b304892
commit 31ce933
Showing
5 changed files
with
967 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# unicode\_font3\_const | ||
|
||
Testing with pyportal. | ||
|
||
``` | ||
$ tinygo build -o app.uf2 -target pyportal -size short ./examples/unicode_font3_const2bit | ||
``` | ||
|
||
![](unicode_font3_const2bit.jpg) | ||
|
||
The font was created as follows. | ||
|
||
``` | ||
tinyfnotgen-ttf --size 12 --verbose --output ./font.go --string-file ./main.go --package main --fontname Notosans12pt ./NotoSansJP-Regular.otf ./NotoSansKR-Regular.ttf | ||
``` | ||
|
||
You can download the original TTF/OTF fonts used with tinyfontgen-ttf from the following link. Please refer to the downloaded file for the license and other details. | ||
|
||
* https://fonts.google.com/noto/specimen/Noto+Sans+JP | ||
* https://fonts.google.com/noto/specimen/Noto+Sans+KR |
Oops, something went wrong.