mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Compare commits
2 Commits
813e3b28af
...
df33bc3e27
Author | SHA1 | Date | |
---|---|---|---|
|
df33bc3e27 | ||
|
60883e1a44 |
2
go.mod
2
go.mod
@ -3,7 +3,7 @@ module github.com/hajimehoshi/ebiten/v2
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
github.com/ebitengine/gomobile v0.0.0-20240825043811-96c531f5bd83
|
||||
github.com/ebitengine/gomobile v0.0.0-20240911013058-19d2b8b92254
|
||||
github.com/ebitengine/hideconsole v1.0.0
|
||||
github.com/ebitengine/oto/v3 v3.3.0-alpha.4
|
||||
github.com/ebitengine/purego v0.8.0-alpha.5
|
||||
|
4
go.sum
4
go.sum
@ -1,5 +1,5 @@
|
||||
github.com/ebitengine/gomobile v0.0.0-20240825043811-96c531f5bd83 h1:yA0CtFKYZI/db1snCOInRS0Z18QGZU6aBYkqUT0H6RI=
|
||||
github.com/ebitengine/gomobile v0.0.0-20240825043811-96c531f5bd83/go.mod h1:n2NbB/F4d9wOXFzC7FT1ipERidmYWC5I4YNOYRs5N7I=
|
||||
github.com/ebitengine/gomobile v0.0.0-20240911013058-19d2b8b92254 h1:4gZw/SDMJtxpPh+lMpXLZ63LWWna0mZgtEBuvizRmdo=
|
||||
github.com/ebitengine/gomobile v0.0.0-20240911013058-19d2b8b92254/go.mod h1:n2NbB/F4d9wOXFzC7FT1ipERidmYWC5I4YNOYRs5N7I=
|
||||
github.com/ebitengine/hideconsole v1.0.0 h1:5J4U0kXF+pv/DhiXt5/lTz0eO5ogJ1iXb8Yj1yReDqE=
|
||||
github.com/ebitengine/hideconsole v1.0.0/go.mod h1:hTTBTvVYWKBuxPr7peweneWdkUwEuHuB3C1R/ielR1A=
|
||||
github.com/ebitengine/oto/v3 v3.3.0-alpha.4 h1:w9SD7kK4GgJULkh5pWVTToMA5Ia1bP7VxD4rIjQqb8M=
|
||||
|
@ -84,7 +84,7 @@ func (s *GoXFace) Metrics() Metrics {
|
||||
CapHeight: fixed26_6ToFloat64(fm.CapHeight),
|
||||
}
|
||||
|
||||
// There is an issue that XHeight is negative for some old fonts (golang/go#69378).
|
||||
// There is an issue that XHeight and CapHeight are negative for some old fonts (golang/go#69378).
|
||||
if fm.XHeight < 0 {
|
||||
m.XHeight *= -1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user