Commit Graph

1515 Commits

Author SHA1 Message Date
Kovid Goyal
785726d21d Sort style names by variant axis value when available 2024-06-22 11:20:54 +05:30
Kovid Goyal
e3a155266e Fix marking of current style in list 2024-06-22 11:20:54 +05:30
Kovid Goyal
8e0ef0c430 Fix spec generation for auto setting 2024-06-22 11:20:54 +05:30
Kovid Goyal
02df66733e Fix changing styles discarding features 2024-06-22 11:20:54 +05:30
Kovid Goyal
4a038ea581 Preserve auto setting when re-running choose-fonts on already selected family 2024-06-22 11:20:54 +05:30
Kovid Goyal
b63be88bac ... 2024-06-22 11:20:54 +05:30
Kovid Goyal
72268539ef Fix sorting of features in UI 2024-06-22 11:20:54 +05:30
Kovid Goyal
5b83a33888 Setting of index features now basically works 2024-06-22 11:20:54 +05:30
Kovid Goyal
daaec1b47f ... 2024-06-22 11:20:53 +05:30
Kovid Goyal
f4e22ebe3c Implement toggling of boolean features 2024-06-22 11:20:53 +05:30
Kovid Goyal
349c32f60e Work on UI for features 2024-06-22 11:20:53 +05:30
Kovid Goyal
3f919db0c7 Fix preview rendering when height of previewed font greater than cell height 2024-06-22 11:20:53 +05:30
Kovid Goyal
c4dad85f99 test render function to develop the sample renderer 2024-06-22 11:20:53 +05:30
Kovid Goyal
a164c73389 ... 2024-06-22 11:20:53 +05:30
Kovid Goyal
3e430e1a70 Render font feature list in UI 2024-06-22 11:20:53 +05:30
Kovid Goyal
a4f67b7424 Get feature human readable names 2024-06-22 11:16:42 +05:30
Kovid Goyal
69fb2e4231 Handle variable fonts like cascadia code that dont have a postfix variation prefix name for some of their faces 2024-06-22 11:16:42 +05:30
Kovid Goyal
94d056ed4f Wire up applying of font config 2024-06-22 11:16:41 +05:30
Kovid Goyal
7e15839141 More work on choose_fonts 2024-06-22 11:16:41 +05:30
Kovid Goyal
13a6ff25a2 Render preview synchronously to avoid flashing 2024-06-22 11:16:41 +05:30
Kovid Goyal
e050557db7 Get axis clicking working 2024-06-22 11:16:41 +05:30
Kovid Goyal
3e2b3a89ce more work on axis fine tuning 2024-06-22 11:16:41 +05:30
Kovid Goyal
81c30cc5fa Render variable axes 2024-06-22 11:16:41 +05:30
Kovid Goyal
73a6668b17 Generalize code to get variable spec 2024-06-22 11:16:41 +05:30
Kovid Goyal
f8e2dc1eca More work on face fine tune UI 2024-06-22 11:16:41 +05:30
Kovid Goyal
32b8077c89 Make debug printing in backend.py more convenient 2024-06-22 11:16:41 +05:30
Kovid Goyal
98450a0605 More work on face fine tuning 2024-06-22 11:16:41 +05:30
Kovid Goyal
d6a7d4a8a1 Fix face sample rendering 2024-06-22 11:16:40 +05:30
Kovid Goyal
db092eb88d Work on face panel 2024-06-22 11:16:40 +05:30
Kovid Goyal
33df5355a6 Start work on face panel 2024-06-22 11:16:39 +05:30
Kovid Goyal
99e279cbe9 ... 2024-06-22 11:16:39 +05:30
Kovid Goyal
82ffb376b2 Use PSname in faces preview panel 2024-06-22 11:16:39 +05:30
Kovid Goyal
fc72f4961e Transmit metadata about rendered samples 2024-06-22 11:16:39 +05:30
Kovid Goyal
880078cab8 Get rendering of faces panel working 2024-06-22 11:16:39 +05:30
Kovid Goyal
88058c9075 Work on faces panel 2024-06-22 11:16:39 +05:30
Kovid Goyal
ecdea9d4d3 Start work on faces panel 2024-06-22 11:16:39 +05:30
Kovid Goyal
5ace209024 ... 2024-06-22 11:16:39 +05:30
Kovid Goyal
71bbf4ecb9 Fix graphics being freed instead of deleted in draw_screen() 2024-06-22 11:16:39 +05:30
Kovid Goyal
1590462038 Get preview to basically display 2024-06-22 11:16:39 +05:30
Kovid Goyal
1735404a05 Move listing code into its own file 2024-06-22 11:16:39 +05:30
Kovid Goyal
3c18d20d1b Code to get specs from options 2024-06-22 11:16:39 +05:30
Kovid Goyal
804ad62a33 Start work on displaying font sampler images 2024-06-22 11:16:38 +05:30
Kovid Goyal
2c2fbd4445 Implement rendering of sample text 2024-06-22 11:16:38 +05:30
Kovid Goyal
333e94622e Move the query_terminal implementation to Go 2024-06-22 11:16:38 +05:30
Kovid Goyal
41869d88c2 Work on rendering sample text for a font 2024-06-22 11:16:38 +05:30
Kovid Goyal
65b790df40 Also get the current fg/bg colors to render text with 2024-06-22 11:16:38 +05:30
Kovid Goyal
5d74d210ee Query font size and DPI from terminal 2024-06-22 11:16:38 +05:30
Kovid Goyal
431fc98659 Get query terminal working again
Also return current OS Window's font size
2024-06-22 11:16:38 +05:30
Kovid Goyal
21d3759f62 Report when a family has variable fonts 2024-06-22 11:16:38 +05:30
Kovid Goyal
d6016f4246 Get clicking on family names functional 2024-06-22 11:16:37 +05:30