hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
10.4k stars 634 forks source link

enable to use pre-installed fonts in each system #788

Open hajimehoshi opened 5 years ago

hajimehoshi commented 5 years ago

The problem is that Go doesn't have an OpenType font parser yet. OpenType fonts are available now!

hajimehoshi commented 7 months ago

https://github.com/go-text/typesetting/issues/111#issuecomment-1825854399

Perhaps you will be interested by the fontscan (and its FontMap type) that you could use to access system fonts.

https://pkg.go.dev/github.com/go-text/typesetting/fontscan

This seems nice!