-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd4916d
commit f8aeaaf
Showing
13 changed files
with
132 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import fontforge | ||
|
||
# Open the font file | ||
font = fontforge.open("../resources/PrismMenu.otf") | ||
|
||
# List of Unicode code points in decimal | ||
unicode_points = [12289,12290,12293,12300,12301,12354,12356,12358,12360,12362,12363,12364,12365,12367,12369,12371,12372,12373,12374,12375,12376,12377,12378,12379,12381,12383,12384,12385,12387,12388,12390,12391,12392,12393,12394,12395,12398,12399,12400,12405,12409,12411,12414,12415,12417,12418,12420,12424,12425,12426,12427,12428,12429,12431,12434,12435,12449,12450,12451,12452,12454,12455,12456,12457,12458,12459,12460,12461,12463,12464,12465,12466,12467,12470,12471,12472,12473,12474,12475,12479,12480,12481,12483,12484,12486,12487,12488,12489,12490,12491,12494,12495,12496,12497,12500,12501,12502,12503,12505,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12521,12522,12523,12524,12525,12527,12531,12539,12540,19968,19978,19979,19981,20001,20013,20037,20102,20107,20129,20154,20182,20197,20301,20307,20316,20351,20415,20491,20516,20803,20837,20840,20844,20877,20998,20999,21028,21029,21033,21046,21066,21069,21147,21177,21205,21270,21332,21336,21453,21487,21491,21512,22238,22258,22266,22580,22793,22806,22810,22823,22826,22909,23383,23433,23436,23450,23453,23475,23567,23627,24038,24230,24235,24335,24341,24375,24403,24418,24441,24460,24489,24517,24615,24656,24847,25104,25147,25171,25246,25407,25551,25563,25925,25968,25973,25991,26041,26082,26085,26126,26143,26178,26222,26354,26367,26377,26399,26410,26412,26689,27005,27490,27491,27497,27515,27573,27704,27880,28187,28288,28357,28857,28858,28961,29289,29305,29575,29992,30011,30171,30340,30636,30701,30906,31034,31186,31354,31435,31561,31684,32218,32232,32244,32302,32622,32722,32763,32884,33021,33258,33324,33394,33853,34892,34920,35201,35211,35222,35302,35328,35373,35379,35430,35486,35488,36092,36215,36578,36600,36802,36879,36884,36890,36895,36899,36914,36984,37096,37325,37329,38263,38281,38283,38291,38306,38450,38480,38500,38555,38556,38560,38598,38754,38899] | ||
|
||
# Check for each Unicode point | ||
for codepoint in unicode_points: | ||
# Attempt to get the glyph using the codepoint | ||
try: | ||
glyph = font[codepoint] | ||
|
||
# Check if the glyph is worth outputting | ||
if glyph.isWorthOutputting(): | ||
hi = 1 | ||
#print(f"Glyph for {codepoint} (U+{codepoint:04X}) exists in the font.") | ||
else: | ||
print(f"Glyph for {codepoint} (U+{codepoint:04X}) does NOT exist in the font.") | ||
|
||
except TypeError: | ||
print(f"Glyph for {codepoint} (U+{codepoint:04X}) does NOT exist in the font (TypeError).") | ||
except Exception as e: | ||
print(f"An error occurred for {codepoint} (U+{codepoint:04X}): {str(e)}") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#include "CustomSettings.hpp" | ||
SettingNode* SettingHackValue::createNode(float width) { | ||
return SettingHackNode::create(this, width); | ||
} | ||
|
||
SettingNodeV3* SettingHackValue::createNode(float width) { | ||
return SettingHackNode::create(static_pointer_cast<SettingHackValue>(shared_from_this()), width); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters