Commit Graph
11 Commits
Author SHA1 Message Date
meehl 6a05d86801 Adjust index to account for color escape sequences
get_text_index_at_cursor() returns an index into the stripped string,
but PoB expects an index into the original unstripped text. Accumulate
the total length of all escape sequences preceding the cursor position
and add it to the returned index.

Fixes #45
2026-05-14 10:42:26 +02:00
meehl 522ab489cd Fix ascendancy flavour text size. 2026-03-09 18:13:58 +01:00
meehl 7fc3e340e7 Implement GetDrawColor 2025-12-15 17:56:52 +01:00
meehl 1812edcbe9 Implement UI scale overriding
Closes #16
2025-11-30 11:16:04 +01:00
meehl 2739c45181 Use better name for context 2025-11-02 09:53:37 +01:00
meehl cf518a2c40 Add regular variant of Fontin font 2025-10-31 00:07:49 +01:00
meehl 479b7196cf Add support for "faux italics" 2025-10-30 20:15:02 +01:00
meehl 1648aa5736 Add support for new 'fontin' fonts 2025-10-30 13:20:58 +01:00
meehl 43b20ecd0d Refactor font loading 2025-10-30 13:10:42 +01:00
meehl d8e52218f8 Remove global context 2025-10-27 23:10:11 +01:00
meehl 6e1613f73f Initial commit 2025-10-16 17:00:59 +02:00