Commit Graph

1517 Commits

Author SHA1 Message Date
Kovid Goyal
5bb8378dc1 icat: Add an option to leave the cursor to the right of the image
Fixes #7574
2024-06-25 13:06:46 +05:30
Kovid Goyal
5d531273ab Allow changing sample text in showcase function 2024-06-25 11:26:14 +05:30
Kovid Goyal
73a5401815 Sort style names by variant axis value when available 2024-06-24 07:54:19 +05:30
Kovid Goyal
d51c56ed65 Fix marking of current style in list 2024-06-24 07:54:19 +05:30
Kovid Goyal
f887519c1e Fix spec generation for auto setting 2024-06-24 07:54:19 +05:30
Kovid Goyal
800bad207a Fix changing styles discarding features 2024-06-24 07:54:19 +05:30
Kovid Goyal
2638c7241f Preserve auto setting when re-running choose-fonts on already selected family 2024-06-24 07:54:19 +05:30
Kovid Goyal
64340943bd ... 2024-06-24 07:54:19 +05:30
Kovid Goyal
6e29561486 Fix sorting of features in UI 2024-06-24 07:54:19 +05:30
Kovid Goyal
a2b296d73e Setting of index features now basically works 2024-06-24 07:54:19 +05:30
Kovid Goyal
0633000c50 ... 2024-06-24 07:54:19 +05:30
Kovid Goyal
09ad164ed5 Implement toggling of boolean features 2024-06-24 07:54:18 +05:30
Kovid Goyal
4b323a6b81 Work on UI for features 2024-06-24 07:54:18 +05:30
Kovid Goyal
e2919a0f2d Fix preview rendering when height of previewed font greater than cell height 2024-06-24 07:54:18 +05:30
Kovid Goyal
9782833308 test render function to develop the sample renderer 2024-06-24 07:54:18 +05:30
Kovid Goyal
72257f652d ... 2024-06-24 07:54:18 +05:30
Kovid Goyal
a69d71d416 Render font feature list in UI 2024-06-24 07:54:18 +05:30
Kovid Goyal
7e56920fa3 Get feature human readable names 2024-06-24 07:54:18 +05:30
Kovid Goyal
b017cc0c1e Handle variable fonts like cascadia code that dont have a postfix variation prefix name for some of their faces 2024-06-24 07:54:17 +05:30
Kovid Goyal
815df1e210 Wire up applying of font config 2024-06-24 07:54:17 +05:30
Kovid Goyal
7fafdeef48 More work on choose_fonts 2024-06-24 07:54:17 +05:30
Kovid Goyal
7c42682b01 Render preview synchronously to avoid flashing 2024-06-24 07:54:17 +05:30
Kovid Goyal
345134c7d0 Get axis clicking working 2024-06-24 07:54:17 +05:30
Kovid Goyal
0afc92104d more work on axis fine tuning 2024-06-24 07:54:17 +05:30
Kovid Goyal
f3a1a1da1c Render variable axes 2024-06-24 07:54:17 +05:30
Kovid Goyal
b482c1a050 Generalize code to get variable spec 2024-06-24 07:54:17 +05:30
Kovid Goyal
fa2a11310d More work on face fine tune UI 2024-06-24 07:54:17 +05:30
Kovid Goyal
036d1174c7 Make debug printing in backend.py more convenient 2024-06-24 07:54:17 +05:30
Kovid Goyal
0028d7f04b More work on face fine tuning 2024-06-24 07:54:16 +05:30
Kovid Goyal
4de06fbeb2 Fix face sample rendering 2024-06-24 07:54:15 +05:30
Kovid Goyal
a5b5418bd3 Work on face panel 2024-06-24 07:54:15 +05:30
Kovid Goyal
5d86f5c93f Start work on face panel 2024-06-24 07:54:15 +05:30
Kovid Goyal
4a0aa012e4 ... 2024-06-24 07:54:15 +05:30
Kovid Goyal
e23243ec78 Use PSname in faces preview panel 2024-06-24 07:54:15 +05:30
Kovid Goyal
f62fd424d2 Transmit metadata about rendered samples 2024-06-24 07:54:15 +05:30
Kovid Goyal
a4bff36baf Get rendering of faces panel working 2024-06-24 07:54:15 +05:30
Kovid Goyal
409009a337 Work on faces panel 2024-06-24 07:54:15 +05:30
Kovid Goyal
802ed976a9 Start work on faces panel 2024-06-24 07:54:15 +05:30
Kovid Goyal
9cfd920e11 ... 2024-06-24 07:54:15 +05:30
Kovid Goyal
5a189b1afe Fix graphics being freed instead of deleted in draw_screen() 2024-06-24 07:54:15 +05:30
Kovid Goyal
a0840a7328 Get preview to basically display 2024-06-24 07:54:15 +05:30
Kovid Goyal
6c11f0eeb5 Move listing code into its own file 2024-06-24 07:54:15 +05:30
Kovid Goyal
1d6cd27c6f Code to get specs from options 2024-06-24 07:54:14 +05:30
Kovid Goyal
6d751b94f6 Start work on displaying font sampler images 2024-06-24 07:54:14 +05:30
Kovid Goyal
852889a561 Implement rendering of sample text 2024-06-24 07:54:14 +05:30
Kovid Goyal
2be91d73dd Move the query_terminal implementation to Go 2024-06-24 07:54:14 +05:30
Kovid Goyal
f0cac79143 Work on rendering sample text for a font 2024-06-24 07:54:14 +05:30
Kovid Goyal
af9f205ec4 Also get the current fg/bg colors to render text with 2024-06-24 07:54:14 +05:30
Kovid Goyal
b6e92dd79d Query font size and DPI from terminal 2024-06-24 07:54:13 +05:30
Kovid Goyal
d826265fd7 Get query terminal working again
Also return current OS Window's font size
2024-06-24 07:54:13 +05:30