font: use non-mono symbols nerd font for embedded symbols

I changed my mind, this is a pretty small change and relevant to the
intent of the PR. This brings the appearance of the embedded symbols
much closer to patched fonts.

With this, the sizes of most symbols are nearly identical to a patched
font, the only big difference is positioning (and TBH I think we do a
better job positioning than the patcher does, since we have knowledge
about the cell size).
This commit is contained in:
Qwerasd
2025-07-25 12:41:00 -06:00
parent 6af6357949
commit 92fa2228e9
3 changed files with 192 additions and 200 deletions

View File

@ -531,7 +531,7 @@ pub fn add(
const nf_symbols = b.dependency("nerd_fonts_symbols_only", .{});
step.root_module.addAnonymousImport(
"nerd_fonts_symbols_only",
.{ .root_source_file = nf_symbols.path("SymbolsNerdFontMono-Regular.ttf") },
.{ .root_source_file = nf_symbols.path("SymbolsNerdFont-Regular.ttf") },
);
}

View File

@ -41,7 +41,7 @@ pub fn getConstraint(cp: u21) Constraint {
.max_constraint_width = 1,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.4028056112224450,
.group_width = 1.3999999999999999,
.group_height = 1.1222570532915361,
.group_x = 0.1428571428571428,
.group_y = 0.0349162011173184,
@ -395,8 +395,7 @@ pub fn getConstraint(cp: u21) Constraint {
0xeb72...0xeb89,
0xeb8b...0xeb99,
0xeb9b...0xebd4,
0xebd6,
0xebd8...0xec06,
0xebd7...0xec06,
0xec08...0xec0a,
0xec0d...0xec1e,
0xed00...0xf018,
@ -412,8 +411,7 @@ pub fn getConstraint(cp: u21) Constraint {
0xf07c...0xf080,
0xf082...0xf08b,
0xf08d...0xf091,
0xf093...0xf09b,
0xf09d...0xf09e,
0xf093...0xf09e,
0xf0a0,
0xf0a5...0xf0a9,
0xf0ab...0xf0c9,
@ -421,7 +419,7 @@ pub fn getConstraint(cp: u21) Constraint {
0xf0d7...0xf0dd,
0xf0df...0xf0e6,
0xf0e8...0xf295,
0xf297...0xf2c1,
0xf297...0xf2c3,
0xf2c6...0xf2ef,
0xf2f1...0xf305,
0xf307...0xf847,
@ -440,10 +438,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.3315669947009841,
.group_height = 1.0763840224246670,
.group_x = 0.0847072200113701,
.group_y = 0.0709635416666667,
.group_width = 1.3310225303292895,
.group_height = 1.0762439807383628,
.group_x = 0.0846354166666667,
.group_y = 0.0708426547352722,
},
0xea7d,
=> .{
@ -452,10 +450,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.1913145539906103,
.group_height = 1.1428571428571428,
.group_x = 0.0916256157635468,
.group_y = 0.0415039062500000,
.group_width = 1.1912058627581612,
.group_height = 1.1426759670259987,
.group_x = 0.0917225950782998,
.group_y = 0.0416204217536071,
},
0xea99,
=> .{
@ -464,10 +462,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0639412997903563,
.group_height = 2.0940695296523519,
.group_x = 0.0295566502463054,
.group_y = 0.2270507812500000,
.group_width = 1.0642857142857143,
.group_height = 2.0929152148664345,
.group_x = 0.0302013422818792,
.group_y = 0.2269700332963374,
},
0xea9a,
0xeaa1,
@ -477,10 +475,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.3029525032092426,
.group_height = 1.1729667812142039,
.group_x = 0.1527093596059113,
.group_y = 0.0751953125000000,
.group_width = 1.3032069970845481,
.group_height = 1.1731770833333333,
.group_x = 0.1526845637583893,
.group_y = 0.0754716981132075,
},
0xea9b,
=> .{
@ -489,10 +487,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.1639908256880733,
.group_height = 1.3128205128205128,
.group_x = 0.0719211822660099,
.group_y = 0.0869140625000000,
.group_width = 1.1640625000000000,
.group_height = 1.3134110787172011,
.group_x = 0.0721476510067114,
.group_y = 0.0871254162042175,
},
0xea9c,
=> .{
@ -501,10 +499,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.1639908256880733,
.group_height = 1.3195876288659794,
.group_x = 0.0719211822660099,
.group_y = 0.0830078125000000,
.group_width = 1.1640625000000000,
.group_height = 1.3201465201465201,
.group_x = 0.0721476510067114,
.group_y = 0.0832408435072142,
},
0xea9d,
0xeaa0,
@ -514,10 +512,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 2.4457831325301207,
.group_height = 1.9692307692307693,
.group_x = 0.2857142857142857,
.group_y = 0.2763671875000000,
.group_width = 2.4493150684931506,
.group_height = 1.9693989071038251,
.group_x = 0.2863534675615212,
.group_y = 0.2763596004439512,
},
0xea9e...0xea9f,
=> .{
@ -526,10 +524,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.9556840077071291,
.group_height = 2.4674698795180725,
.group_x = 0.2137931034482759,
.group_y = 0.3066406250000000,
.group_width = 1.9540983606557376,
.group_height = 2.4684931506849317,
.group_x = 0.2136465324384788,
.group_y = 0.3068812430632630,
},
0xeaa2,
=> .{
@ -538,10 +536,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.2412121212121212,
.group_height = 1.0591799039527152,
.group_x = 0.0683593750000000,
.group_y = 0.0146484375000000,
.group_width = 1.2405228758169935,
.group_height = 1.0595187680461982,
.group_x = 0.0679662802950474,
.group_y = 0.0147523709167545,
},
0xeab4,
=> .{
@ -550,9 +548,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0049115913555993,
.group_height = 1.8998144712430427,
.group_y = 0.2026367187500000,
.group_width = 1.0054815974941269,
.group_height = 1.8994082840236686,
.group_y = 0.2024922118380062,
},
0xeab5,
=> .{
@ -561,10 +559,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.8979591836734695,
.group_height = 1.0054000981836033,
.group_x = 0.2023460410557185,
.group_y = 0.0053710937500000,
.group_width = 1.8994082840236686,
.group_height = 1.0054815974941269,
.group_x = 0.2024922118380062,
.group_y = 0.0054517133956386,
},
0xeab6,
=> .{
@ -573,9 +571,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.8979591836734695,
.group_height = 1.0054000981836033,
.group_x = 0.2707722385141740,
.group_width = 1.8994082840236686,
.group_height = 1.0054815974941269,
.group_x = 0.2710280373831775,
},
0xeab7,
=> .{
@ -584,10 +582,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0049115913555993,
.group_height = 1.8980537534754403,
.group_x = 0.0048875855327468,
.group_y = 0.2709960937500000,
.group_width = 1.0054815974941269,
.group_height = 1.8994082840236686,
.group_x = 0.0054517133956386,
.group_y = 0.2710280373831775,
},
0xead4...0xead5,
=> .{
@ -596,8 +594,8 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.4152542372881356,
.group_x = 0.1486118671747414,
.group_width = 1.4144620811287478,
.group_x = 0.1483790523690773,
},
0xead6,
=> .{
@ -606,8 +604,8 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_height = 1.1390433815350389,
.group_y = 0.0688476562500000,
.group_height = 1.1388535031847133,
.group_y = 0.0687919463087248,
},
0xeb43,
=> .{
@ -616,10 +614,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.3635153129161119,
.group_height = 1.0002360944082516,
.group_x = 0.1992187500000000,
.group_y = 0.0002360386808388,
.group_width = 1.3631840796019901,
.group_height = 1.0003813300793167,
.group_x = 0.1991657977059437,
.group_y = 0.0003811847221163,
},
0xeb6e,
0xeb71,
@ -629,8 +627,8 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_height = 2.0197238658777121,
.group_y = 0.2524414062500000,
.group_height = 2.0183246073298431,
.group_y = 0.2522697795071336,
},
0xeb6f,
=> .{
@ -639,8 +637,8 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 2.0098619329388558,
.group_x = 0.2492639842983317,
.group_width = 2.0104712041884816,
.group_x = 0.2493489583333333,
},
0xeb70,
=> .{
@ -649,10 +647,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 2.0098619329388558,
.group_height = 1.0039215686274510,
.group_x = 0.2492639842983317,
.group_y = 0.0039062500000000,
.group_width = 2.0104712041884816,
.group_height = 1.0039062500000000,
.group_x = 0.2493489583333333,
.group_y = 0.0038910505836576,
},
0xeb8a,
=> .{
@ -661,10 +659,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 2.8826979472140764,
.group_height = 2.9804097167804766,
.group_x = 0.2634791454730417,
.group_y = 0.3314678485576923,
.group_width = 2.8828125000000000,
.group_height = 2.9818561935339356,
.group_x = 0.2642276422764228,
.group_y = 0.3313050881410256,
},
0xeb9a,
=> .{
@ -673,10 +671,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.1441340782122904,
.group_height = 1.0591799039527152,
.group_x = 0.0683593750000000,
.group_y = 0.0146484375000000,
.group_width = 1.1440626883664857,
.group_height = 1.0595187680461982,
.group_x = 0.0679662802950474,
.group_y = 0.0147523709167545,
},
0xebd5,
=> .{
@ -685,19 +683,19 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0723270440251573,
.group_height = 1.0728129910948141,
.group_y = 0.0678710937500000,
.group_width = 1.0727069351230425,
.group_height = 1.0730882652023592,
.group_y = 0.0681102082395584,
},
0xebd7,
0xebd6,
=> .{
.size_horizontal = .fit,
.size_vertical = .fit,
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_height = 1.0000418544302916,
.group_y = 0.0000418526785714,
.group_height = 1.0003554839321263,
.group_y = 0.0003553576082064,
},
0xec07,
=> .{
@ -706,10 +704,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 2.8615369874243446,
.group_height = 2.9789458113505249,
.group_x = 0.2609446802539727,
.group_y = 0.3313029661016949,
.group_width = 2.8604846818377689,
.group_height = 2.9804665603035656,
.group_x = 0.2615335565120357,
.group_y = 0.3311487268518519,
},
0xec0b,
=> .{
@ -718,9 +716,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0722513089005237,
.group_height = 1.0002360944082516,
.group_y = 0.0002360386808388,
.group_width = 1.0721073225265512,
.group_height = 1.0003813300793167,
.group_y = 0.0003811847221163,
},
0xec0c,
=> .{
@ -729,18 +727,17 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.2487804878048780,
.group_x = 0.1992187500000000,
.group_width = 1.2486979166666667,
.group_x = 0.1991657977059437,
},
0xf019,
0xf08c,
=> .{
.size_horizontal = .fit,
.size_vertical = .fit,
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0004882812500000,
.group_width = 1.1253968253968254,
},
0xf030,
0xf03e,
@ -750,9 +747,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0004882812500000,
.group_height = 1.1428571428571428,
.group_y = 0.0625000000000000,
.group_width = 1.1253968253968254,
.group_height = 1.1426844014510278,
.group_y = 0.0624338624338624,
},
0xf03d,
=> .{
@ -761,9 +758,8 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0004882812500000,
.group_height = 1.5014662756598240,
.group_y = 0.1669921875000000,
.group_height = 1.3328631875881523,
.group_y = 0.1248677248677249,
},
0xf03f,
=> .{
@ -772,8 +768,8 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.6018762826150690,
.group_x = 0.1876220107369448,
.group_width = 1.8003104407193382,
.group_x = 0.0005406676069582,
},
0xf040,
=> .{
@ -782,10 +778,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0006976906439684,
.group_height = 1.0001808776182035,
.group_x = 0.0006972042111134,
.group_y = 0.0001808449074074,
.group_width = 1.1263939384681190,
.group_height = 1.0007255897868335,
.group_x = 0.0003164442515641,
.group_y = 0.0001959631589261,
},
0xf044,
=> .{
@ -794,10 +790,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.1029147024980515,
.group_height = 1.1024142703367676,
.group_x = 0.0463592039005675,
.group_y = 0.0430325010461710,
.group_width = 1.0087313432835820,
.group_height = 1.0077472527472529,
.group_y = 0.0002010014265405,
},
0xf04a,
=> .{
@ -806,9 +801,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0004882812500000,
.group_height = 1.3312975252838291,
.group_y = 0.1245571402616279,
.group_width = 1.1253968253968254,
.group_height = 1.3321224771947897,
.group_y = 0.1247354497354497,
},
0xf051,
=> .{
@ -817,10 +812,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.6007812500000000,
.group_height = 1.3312170271945341,
.group_x = 0.1874084919472914,
.group_y = 0.1245117187500000,
.group_width = 1.7994923857868019,
.group_height = 1.3321224771947897,
.group_y = 0.1247354497354497,
},
0xf052,
=> .{
@ -829,10 +823,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.1436671384194865,
.group_height = 1.1430165816326530,
.group_x = 0.0624629273607646,
.group_y = 0.0625610266424885,
.group_width = 1.1439802384724422,
.group_height = 1.1430071621244535,
.group_y = 0.0626172338785870,
},
0xf053,
=> .{
@ -841,14 +834,11 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.8765709864847797,
.group_height = 1.0707191397207079,
.group_x = 0.2332599943628554,
.group_y = 0.0332682382480123,
.group_width = 2.0025185185185186,
.group_height = 1.1416267186919362,
.group_y = 0.0620882827561120,
},
0xf05a...0xf05b,
0xf081,
0xf092,
0xf0aa,
=> .{
.size_horizontal = .fit,
@ -856,9 +846,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0005935142780173,
.group_height = 1.0001395089285714,
.group_y = 0.0000697447342726,
.group_width = 1.0012592592592593,
.group_height = 1.0002824582824583,
.group_y = 0.0002010014265405,
},
0xf071,
=> .{
@ -867,10 +857,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0014662756598240,
.group_height = 1.1428571428571428,
.group_x = 0.0004880429477794,
.group_y = 0.0625000000000000,
.group_width = 1.1253968253968254,
.group_height = 1.1426844014510278,
.group_x = 0.0004701457451810,
.group_y = 0.0624338624338624,
},
0xf078,
=> .{
@ -879,10 +869,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0717654378877508,
.group_height = 1.8757195185766613,
.group_x = 0.0331834301604062,
.group_y = 0.1670386385827870,
.group_width = 1.1434320241691844,
.group_height = 2.0026841590612778,
.group_y = 0.1879786499051550,
},
0xf07b,
=> .{
@ -891,17 +880,32 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_height = 1.1428571428571428,
.group_y = 0.0625000000000000,
.group_width = 1.1253968253968254,
.group_height = 1.2285368802902055,
.group_y = 0.0930118110236220,
},
0xf09c,
0xf081,
0xf092,
=> .{
.size_horizontal = .fit,
.size_vertical = .fit,
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_height = 1.0810546875000000,
.group_width = 1.1441233373639663,
.group_height = 1.1430071621244535,
.group_y = 0.0626172338785870,
},
0xf08c,
=> .{
.size_horizontal = .fit,
.size_vertical = .fit,
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.2859733978234582,
.group_height = 1.1426844014510278,
.group_y = 0.0624338624338624,
},
0xf09f,
=> .{
@ -910,9 +914,8 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.7506617925122907,
.group_height = 1.0810546875000000,
.group_x = 0.2143937211981567,
.group_width = 1.7489690176588770,
.group_x = 0.0006952841596131,
},
0xf0a1,
=> .{
@ -921,8 +924,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0009775171065494,
.group_x = 0.0004882812500000,
.group_width = 1.1253968253968254,
.group_height = 1.0749103295228757,
.group_y = 0.0349409448818898,
},
0xf0a2,
=> .{
@ -931,10 +935,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.1433271023627367,
.group_height = 1.0001395089285714,
.group_x = 0.0624235731978609,
.group_y = 0.0000697447342726,
.group_width = 1.1429529187840552,
.group_height = 1.0002824582824583,
.group_x = 0.0001253913778381,
.group_y = 0.0002010014265405,
},
0xf0a3,
=> .{
@ -943,10 +947,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0005760656161586,
.group_height = 1.0001220681837999,
.group_x = 0.0004792774839344,
.group_y = 0.0000610266424885,
.group_width = 1.0005921977940631,
.group_height = 1.0001448722153810,
.group_x = 0.0005918473033957,
},
0xf0a4,
=> .{
@ -955,9 +958,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0005935142780173,
.group_height = 1.3335193452380951,
.group_y = 0.1250523085507044,
.group_width = 1.0012592592592593,
.group_height = 1.3332396658348704,
.group_y = 0.1250334663306335,
},
0xf0ca,
=> .{
@ -966,9 +969,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0005935142780173,
.group_height = 1.1922501247297521,
.group_y = 0.0806249128190822,
.group_width = 1.0335226652102676,
.group_height = 1.2308163060897437,
.group_y = 0.0938253501046103,
},
0xf0d6,
=> .{
@ -977,8 +980,8 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_height = 1.5014662756598240,
.group_y = 0.1669921875000000,
.group_height = 1.4330042313117066,
.group_y = 0.1510826771653543,
},
0xf0de,
=> .{
@ -987,10 +990,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.2253421114919656,
.group_height = 2.5216400911161729,
.group_x = 0.0918898809523810,
.group_y = 0.6034327009936766,
.group_width = 1.3984670905653893,
.group_height = 2.6619718309859155,
.group_x = 0.0004030632809351,
.group_y = 0.5708994708994709,
},
0xf0e7,
=> .{
@ -999,8 +1002,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.3336843856081169,
.group_x = 0.1247597299147187,
.group_width = 1.3348918927786344,
.group_height = 1.0001196386424678,
.group_x = 0.0006021702214782,
.group_y = 0.0001196243307751,
},
0xf296,
=> .{
@ -1009,21 +1014,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0005148743038617,
.group_height = 1.0385966606705219,
.group_x = 0.0005146093447336,
.group_y = 0.0186218440507742,
},
0xf2c2...0xf2c3,
=> .{
.size_horizontal = .fit,
.size_vertical = .fit,
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0000770970394737,
.group_height = 1.2864321608040201,
.group_y = 0.1113281250000000,
.group_width = 1.0005202277820979,
.group_height = 1.0386597451628128,
.group_x = 0.0001795653226322,
.group_y = 0.0187142907131644,
},
0xf2c4,
=> .{
@ -1032,8 +1026,7 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0344231791600214,
.group_x = 0.0166002826673519,
.group_width = 1.3292088488938882,
},
0xf2c5,
=> .{
@ -1042,10 +1035,10 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0004538836055876,
.group_height = 1.4840579710144928,
.group_x = 0.0004536776887225,
.group_y = 0.1630859375000000,
.group_width = 1.0118264574212998,
.group_height = 1.1664315937940761,
.group_x = 0.0004377219006858,
.group_y = 0.0713422007255139,
},
0xf2f0,
=> .{
@ -1054,9 +1047,9 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.0005935142780173,
.group_height = 1.0334438518091393,
.group_y = 0.0161807783512345,
.group_width = 1.0012592592592593,
.group_height = 1.0342088873926949,
.group_y = 0.0165984862232646,
},
0xf306,
=> .{
@ -1065,8 +1058,7 @@ pub fn getConstraint(cp: u21) Constraint {
.height = .icon,
.align_horizontal = .center,
.align_vertical = .center,
.group_width = 1.2427184466019416,
.group_x = 0.0976562500000000,
.group_width = 1.3001222493887530,
},
else => .none,
};

View File

@ -9,7 +9,7 @@ be safe and not malicious or anything.
This script requires Python 3.12 or greater, requires that the `fontTools`
python module is installed, and requires that the path to a copy of the
SymbolsNerdFontMono font is passed as the first argument to the script.
SymbolsNerdFont (not Mono!) font is passed as the first argument to it.
"""
import ast