Commit Graph

22 Commits

Author SHA1 Message Date
Bartosz Taudul
2ecb45d8c0 Font data must be always available. 2026-02-17 21:48:43 +01:00
Bartosz Taudul
38b73254e9 Add emoji font. 2026-01-14 01:51:32 +01:00
Bartosz Taudul
d4094f45cc Replace all deprecated ImGui functionality. 2025-07-12 19:50:37 +02:00
Bartosz Taudul
78c284cd8f Remove font glyph ranges. 2025-07-12 18:42:08 +02:00
Bartosz Taudul
1dd4c2d670 Update ImGui to 1.92.0-docking. 2025-07-12 14:36:47 +02:00
Bartosz Taudul
ddc3d8884f Fix font ranges. 2025-07-12 11:50:20 +02:00
Bartosz Taudul
295b597835 Load all characters from fonts.
It's not that much more. The majority of the font texture is font awesome.
The size of the font texture (2K x 4K) stays the same with this change.
2025-07-12 11:50:19 +02:00
Bartosz Taudul
c0e89f992d Extend big font characters range. 2025-07-12 11:50:07 +02:00
Bartosz Taudul
43463abdfe Add bold, italic and bold+italic font. 2025-07-12 11:50:07 +02:00
Bartosz Taudul
2f9436577e Use global font structure. 2025-07-12 11:50:07 +02:00
Bartosz Taudul
654243eeea Use embed utility to provide fonts. Replace Droid Sans with Roboto. 2025-07-12 11:50:06 +02:00
Bartosz Taudul
41f9b75372 Add Latin Extended A/B to fixed width font. 2025-07-12 11:50:02 +02:00
Bartosz Taudul
a8dd0ca232 Add Latin Extended A/B to font. 2025-07-12 11:50:00 +02:00
Bartosz Taudul
fc9b39e26d Bump ImGui to 1.91.9b-docking. 2025-05-11 13:50:34 +02:00
Bartosz Taudul
616e7c2eec Retrieve ImGui with CPM.
ImGui OpenGL loader is patched, and not regenerated, because the gl3w
script requires network connectivity to download the header files from
Khronos at build time.
2024-09-27 15:55:22 +02:00
Bartosz Taudul
776b08f2e0 Split core server files from the UI. 2024-03-21 23:04:38 +01:00
Bartosz Taudul
b329eb1fcc Change way of updating fonts in View.
This makes the whole process more easy to follow. It also fixes a crash
bug that was occuring when Wayland output scale changed.
2024-03-01 23:43:53 +01:00
Bartosz Taudul
a1aa87df87 Add ellipsis to standard font. 2024-02-27 02:04:29 +01:00
Bartosz Taudul
8c5dc57359 Add ellipsis to fixed font atlas. 2022-09-24 00:29:21 +02:00
Bartosz Taudul
4bcb59bbe6 Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
Bartosz Taudul
d9d31e4d51 Make fixed font more compact.
Note that the negative glyph spacing is const here, regardless of the font
scaling. The alternative of using proportional spacing in reality does not
work as good as it sounds. With fractional scaling some of the glyphs will
no longer land on exact pixel boundaries, which results in blurry text.

Looking at the potential solutions for this problem is moot point, as with
the non-fractional scale of 2x and glyph spacing of -2, there is no longer
enough space separating some letters, which is especially visible in words
like "common" or register "xmm", where the "mm" pair becomes joined.
2022-08-16 13:16:21 +02:00
Bartosz Taudul
f0f00512b0 Extract font loading. 2022-07-28 00:24:44 +02:00