Question: migrating backends to new Fonts setup #8735

Closed
opened 2025-06-26 21:21:19 +00:00 by gucio321 · 0 comments
gucio321 commented 2025-06-26 21:21:19 +00:00 (Migrated from github.com)

Version/Branch of Dear ImGui:

Version 1.92.0, Branch: docking

Back-ends:

ebiten backend from https://github.com/AllenDang/cimgui-go

Compiler, OS:

Arch + wayland (doesn't matter)

Full config/build information:

doesn't matter

Details:

My Issue/Question:

Hi,
I'm a little bit confused with the release of 1.92 tbh 😄
I'm doing a migration on cimgui-go right now (https://github.com/AllenDang/cimgui-go/pull/448)
And got stuck with our ebitenbackend. (we were adding this and asked questions here in #7372, #7405).

Is there any "tutorial" about migrating fonts stuff already? How should my backend handle fonts now?

Also, I know this is not preffered, but can I (abstracting from my backend issue, just in a normal code) store TextureID somewhere and every time I want to display image convert it to TextureRef (I mean create it every frame) or this is a HUGE mistake?

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

N/A

### Version/Branch of Dear ImGui: Version 1.92.0, Branch: docking ### Back-ends: ebiten backend from https://github.com/AllenDang/cimgui-go ### Compiler, OS: Arch + wayland (doesn't matter) ### Full config/build information: doesn't matter ### Details: **My Issue/Question:** Hi, I'm a little bit confused with the release of 1.92 tbh :smile: I'm doing a migration on cimgui-go right now (https://github.com/AllenDang/cimgui-go/pull/448) And got stuck with our ebitenbackend. (we were adding this and asked questions here in #7372, #7405). Is there any "tutorial" about migrating fonts stuff already? How should my backend handle fonts now? Also, I know this is not preffered, but can I (abstracting from my backend issue, just in a normal code) store TextureID somewhere and every time I want to display image convert it to TextureRef (I mean create it every frame) or this is a HUGE mistake? ### Screenshots/Video: _No response_ ### Minimal, Complete and Verifiable Example code: N/A
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ocornut/imgui#8735
No description provided.