Commit Graph

14195 Commits

Author SHA1 Message Date
Kovid Goyal
3a8362ca2b Accomodate the fact that arch linux fira code ttf package excludes the variable version. Sigh. 2024-06-24 21:03:29 +05:30
Kovid Goyal
a43188e778 Fix #7571 2024-06-24 18:21:28 +05:30
Kovid Goyal
8f9c9db1cf ... 2024-06-24 15:42:38 +05:30
Kovid Goyal
e0ffe6d584 ... 2024-06-24 11:44:43 +05:30
Kovid Goyal
a70cedbea3 ... 2024-06-24 11:34:48 +05:30
Kovid Goyal
b3eb87e8d0 Note var font support in feature summary 2024-06-24 11:31:25 +05:30
Kovid Goyal
9ddcedc126 Update docs of font_family to reference the choose-fonts kitten 2024-06-24 11:21:15 +05:30
Kovid Goyal
fb19bf057e Update docs of font_features to note that it is not needed for main font configuration anymore 2024-06-24 11:14:21 +05:30
Kovid Goyal
c4d634d143 ... 2024-06-24 11:08:38 +05:30
Kovid Goyal
9169bb023c Document font selection syntax 2024-06-24 11:07:26 +05:30
Kovid Goyal
b34bd8dc93 Update change log with variable font support 2024-06-24 10:06:43 +05:30
Kovid Goyal
cf4630350f Replace usage of deprecated utcnow function 2024-06-24 10:06:20 +05:30
Kovid Goyal
20c919e16e Skip DejaVu font test 2024-06-24 09:08:05 +05:30
Kovid Goyal
ac712f5d2d ... 2024-06-24 07:54:20 +05:30
Kovid Goyal
8d716ab6cb ... 2024-06-24 07:54:19 +05:30
Kovid Goyal
85b6f15313 More choose-fonts documentation 2024-06-24 07:54:19 +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
18ab18d090 Fix matching against style names in presence of elision 2024-06-24 07:54:19 +05:30
Kovid Goyal
5774965e32 Start documenting the choose fonts kitten 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
47499d2711 Output features in spec_from_face 2024-06-24 07:54:19 +05:30
Kovid Goyal
64340943bd ... 2024-06-24 07:54:19 +05:30
Kovid Goyal
67a9ee680b Automatically propagate features from regular face to the other faces when they are set to auto 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
0cc8dd28de Add support for font features when rendering sample text 2024-06-24 07:54:19 +05:30
Kovid Goyal
f10f4e8e5b ... 2024-06-24 07:54:18 +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
57edb412e6 Add tests to validate feature-from-spec 2024-06-24 07:54:18 +05:30
Kovid Goyal
060732b428 work on passing font features via font specs 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
a2a0f3cf41 List of all known OpenType font features 2024-06-24 07:54:18 +05:30
Kovid Goyal
0f76d3e13b Code to read features from GSUB/GPOS tables 2024-06-24 07:54:18 +05:30
Kovid Goyal
d7702547cf revert simde bump 2024-06-24 07:54:18 +05:30
Kovid Goyal
10cae2c557 more tests 2024-06-24 07:54:18 +05:30
Kovid Goyal
58c94105a3 Centralize FontSpec related code 2024-06-24 07:54:18 +05:30
Kovid Goyal
c5fd544d25 Fix O(n^2) algorithm 2024-06-24 07:54:17 +05:30
Kovid Goyal
679abf0e84 Ensure bold face is at least as heavy as regular face when auto selecting 2024-06-24 07:54:17 +05:30
Kovid Goyal
d205b147eb Improve auto selection of variable faces 2024-06-24 07:54:17 +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