This is a DirectWrite font loader for ImGui v1.92.9b. It uses C++23 and may need some slight adjustments to fit your needs.
ImGui::GetIO().Fonts->SetFontLoader(ImDWriteCreateFontLoader());
ImDWriteAddFontFamily(ImGui::GetIO().Fonts, "Segoe UI");| [package] | |
| name = "winevent-tracker" | |
| version = "0.1.0" | |
| edition = "2021" | |
| [dependencies] | |
| clearscreen = "3" | |
| windows = { version = "0.54", features = [ | |
| "Win32_Foundation", | |
| "Win32_System_Threading", |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #include <time.h> | |
| #include <emmintrin.h> | |
| /* | |
| * Round up n to the next multiple of m. | |
| * m needs to be a power of 2. | |
| */ |