caiguanhao / fonts

Fonts (Noto Sans)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

License:SIL Open Font License 1.1


Languages

Language:Go 100.0%