Ebitengine 2.7 Release Notes
v2.7.0
New Text Rendering Package text/v2
(#2454)
A new text rendering package text/v2
has been added. This package is a successor to the text
package.
- Support for languages such as Arabic and vertical Japanese (#675)
- Vectorization of glyphs (#1937)
- Alignment options such as right alignment (#2143)
- Support for OpenType features (#2454)
- Other bug fixes (#498, #2669)
For how to use it, please refer to the following samples.
examples/fontfeature
: OpenType featuresexamples/fontvariation
: OpenType variationsexamples/fontvector
: Glyph vectorizationexamples/mixedfont
: Mixing multiple font facesexamples/text
: Basic text drawingexamples/texti18n
: Drawing in various languages
exp/textinput
As an environment supported by the experimental package exp/textinput
for IME support, Windows has been added (#2735).
Additionally, an API Field
has been added for easier use (#2827).
Other New APIs
ebiten.BlendOperationMax
(#2395)ebiten.BlendOperationMin
(#2395)(*ebiten.Image).Deallocate
(#2808)(*ebiten.MonitorType).DeviceScaleFactor
(#2795)(*ebiten.MonitorType).Size
(#2795)ebiten.NonZero
(#2782)ebiten.KeyF13
toebiten.KeyF24
(#2801)ebiten.KeyIntlBackslash
(#2921)ebiten.MaxVertexCount
(#2828)ebiten.RunGameOptions.SingleThread
(#2830)ebiten.RunGameOptions.X11ClassName
(#2904)ebiten.RunGameOptions.X11InstanceName
(#2904)(*ebiten.Shader).Deallocate
(#2808)mobile.RunOnJVM
(#2748)
Bug Fixes
This release includes all bug fixes from version 2.6.
Deprecated APIs
Incompatible Changes
gomobile build
is no longer supported (#2741).- When using the
ebitenmobile
command,golang.org/x/mobile/app
'sRunOnJVM
can no longer be used. Instead, usegithub.com/hajimehoshi/ebiten/v2/mobile
'sRunOnJVM
(#2748).
v2.7.1
Bug Fixes
- Fixed an issue where
ebiten.SetWindowSize
beforeebiten.RunGame
did not work correctly in the Linux i3wm desktop environment (#2951). - Fixed an issue where
GeoM
of the options argument in the thetext/v2
package'sDraw
function was unintentionally modified (#2954).
v2.7.2
Bug Fixes
- Fixed an issue where the standard gamepad mapping was not working (#2964).
v2.7.3
Bug Fixes
- Fixed an issue where
ebiten.ScreenSizeInFullscreen
would crash in the browser (#2975).