mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +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)
|
d := metadata.Metadata(l)
|
||||||
return Metadata{
|
return Metadata{
|
||||||
Family: d.Family,
|
Family: d.Family,
|
||||||
|
Style: Style(d.Aspect.Style),
|
||||||
|
Weight: Weight(d.Aspect.Weight),
|
||||||
|
Stretch: Stretch(d.Aspect.Stretch),
|
||||||
Monospace: d.IsMonospace,
|
Monospace: d.IsMonospace,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user