collinsmith / riiablo

Diablo II remade using Java and LibGDX
http://riiablo.com
Apache License 2.0
884 stars 101 forks source link

Cannot render BitmapFont text onto Texture/Pixmap instance #3

Closed collinsmith closed 5 years ago

collinsmith commented 8 years ago

Cannot render BitmapFont text onto Texture/Pixmap instance. This is required for caching of the rendered text. It also should greatly increase the speed of rendering the entirely of the text in the case of longer sentences. Resolving this would involve either hacking the gdx BitmapFontCache object, implementing my own, or modifying the gdx codebase to support such operations (which mainly involves rendering the glyph textures onto one parent texture)

collinsmith commented 8 years ago

Added placeholder method in 239513be89bedd1916387e0e22ecaec9af3cf0b9 to begin work on a workaround for this behavior. Escalating priority is now high, as there is no longer a method for drawing text since Batch has been replaced in favor of Canvas in Unifi

collinsmith commented 5 years ago

Closing issue because this references an older version.