I’m trying to port egui to eink devices using FBInk as the backend. Based on this. The backend worked fine before the update, but now text sizes are not calculated:
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] Printing out string: "File" at pos [10.0 11.0] with size [0.0 0.0]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] galley rect: [[0.0 0.0] - [0.0 0.0]]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] Printing out string: "Side Panel" at pos [8.0 26.0] with size [0.0 0.0]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] galley rect: [[0.0 0.0] - [0.0 0.0]]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] Printing out string: "Write something: " at pos [8.0 38.0] with size [0.0 0.0]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] galley rect: [[0.0 0.0] - [0.0 0.0]]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] Printing out string: "Hello World!" at pos [20.0 38.0] with size [0.0 0.0]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] galley rect: [[0.0 0.0] - [0.0 0.0]]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] Printing out string: "Increment" at pos [12.0 59.0] with size [0.0 0.0]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] galley rect: [[0.0 0.0] - [0.0 0.0]]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] Printing out string: "https://github.com/emilk/egui/" at pos [100.0 1022.0] with size [0.0 0.0]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] galley rect: [[-0.0 0.0] - [0.0 0.0]]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] Printing out string: "egui template" at pos [208.0 32.0] with size [0.0 0.0]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] galley rect: [[0.0 0.0] - [0.0 0.0]]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] Printing out string: "https://github.com/emilk/egui_template" at pos [208.0 35.0] with size [0.0 0.0]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] galley rect: [[0.0 0.0] - [0.0 0.0]]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] Printing out string: "Source code." at pos [208.0 38.0] with size [0.0 0.0]
[2024-05-01T07:18:58Z DEBUG egui_fbink::backend] galley rect: [[0.0 0.0] - [0.0 0.0]]
The code is here, the logs are from here and calling of next egui frames is here. The example app is here but it shouldn’t matter.
I tried looking at other backends, for example this one but they are doing the same thing as I. I’m out of ideas