mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
text/v2: bug fix: metadata was lacked
This commit is contained in:
parent
b925f28104
commit
b0c5a49f96
@ -32,6 +32,9 @@ func metadataFromLoader(l *loader.Loader) Metadata {
|
||||
d := metadata.Metadata(l)
|
||||
return Metadata{
|
||||
Family: d.Family,
|
||||
Style: Style(d.Aspect.Style),
|
||||
Weight: Weight(d.Aspect.Weight),
|
||||
Stretch: Stretch(d.Aspect.Stretch),
|
||||
Monospace: d.IsMonospace,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user