Skip to content

Commit 30276c6

Browse files
sago35deadprogram
authored andcommitted
shnm: change package name
1 parent 9defdac commit 30276c6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/const1bit/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"tinygo.org/x/tinyfont"
88
"tinygo.org/x/tinyfont/examples/initdisplay"
9-
"tinygo.org/x/tinyfont/shnmk12"
9+
"tinygo.org/x/tinyfont/shnm"
1010
)
1111

1212
func main() {
@@ -17,7 +17,7 @@ func main() {
1717
"祇園精舎の鐘の声、諸行無常の響きあり。\n沙羅双樹の花の色、盛者必衰の理をあらは\nす。おごれる人も久しからず、ただ春の夜\nの夢のごとし。\n\n" +
1818
"[徒然草] (Essays in Idleness)\n" +
1919
"つれづれなるままに、日ぐらし硯にむかひ\nて、心にうつりゆくよしなしごとを、そこ\nはかとなく書きつくれば、あやしうこそも\nのぐるほしけれ。"
20-
tinyfont.WriteLine(display, &shnmk12.Shnmk12, 3, 0x16, str, color.RGBA{0, 0, 0, 255})
20+
tinyfont.WriteLine(display, &shnm.Shnmk12, 3, 0x16, str, color.RGBA{0, 0, 0, 255})
2121

2222
for {
2323
time.Sleep(time.Hour)
File renamed without changes.
File renamed without changes.

shnmk12/shnmk12.go renamed to shnm/shnmk12.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// tinyfontgen.exe --all --fontname shnmk12 --package shnmk12 --output ./shnmk12/shnmk12.go --verbose ./_fonts/shnm6x12r.bdf ./_fonts/shnmk12.bdf --yadvance 13
1+
// tinyfontgen.exe --all --fontname shnmk12 --package shnm --output ./shnm/shnmk12.go --verbose ./_fonts/shnm6x12r.bdf ./_fonts/shnmk12.bdf --yadvance 13
22

3-
package shnmk12
3+
package shnm
44

55
import (
66
"tinygo.org/x/tinyfont/const1bit"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy