Skip to content

caiguanhao/fonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fonts

You will need Go 1.16 or newer.

Usage

import "gioui.org/font/opentype"
import "gioui.org/widget/material"
import "gioui.org/text"
import "github.com/caiguanhao/fonts/NotoSansRegular"
face, err := opentype.Parse(NotoSansRegular.TTF)
material.NewTheme([]text.FontFace{
	text.FontFace{Font: text.Font{Typeface: "Go"}, Face: face},
})

Noto Sans

From https://fonts.google.com/noto/specimen/Noto+Sans.

About

Fonts (Noto Sans)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages