mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-02-06 12:35:00 +02:00
FontAwesome: Fix remove_sign and ok_sign
[why] The open variants of circle_xmark and circle_check are missing. [how] Rename the filled versions to their old (i.e. FA 4.2) names (remove_sign and ok_sign) and let the open (regular) variants find their place automatically. Because we now have two more icons that would move all codepoints we can either drop the icons that occupied the circle_xmark and circle_check codepoints before, or we move the to the end (unpatched yet) region. As these are just some more arrows, we drop them. Dropped: F30B F05C solid/right-long.svg F30C F05D solid/up-long.svg New: F05C F05C regular/circle-xmark.svg F05D F05D regular/circle-check.svg Renamed: RENAME circle_xmark to remove_sign (F057) RENAME circle_check to ok_sign (F058) Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
b53f205316
commit
9bb694cafc
@ -63,6 +63,8 @@ renames = {
|
||||
0xF003: 'envelope_o',
|
||||
0xF006: 'star_o',
|
||||
0xF046: 'check_square_o',
|
||||
0xF057: 'remove_sign',
|
||||
0xF058: 'ok_sign',
|
||||
0xF087: 'thumbs_o_up',
|
||||
0xF088: 'thumbs_o_down',
|
||||
0xF016: 'file_o',
|
||||
@ -130,7 +132,15 @@ print('#')
|
||||
print('# FA-code NF-code filename FA-name')
|
||||
print('#')
|
||||
|
||||
for point in [ *range(0xF000, 0xF900), *range(0xE000, 0xF000) ]:
|
||||
# Reorder processing to accomodate for glyph shifts introduced
|
||||
all_points = [ *range(0xF000, 0xF900), *range(0xE000, 0xF000) ]
|
||||
move_or_drop = { 0xF30B: False, 0xF30C: False }
|
||||
for code, move in move_or_drop.items():
|
||||
all_points.remove(code)
|
||||
if move:
|
||||
all_points.append(code)
|
||||
|
||||
for point in all_points:
|
||||
source = None
|
||||
subset = 'none'
|
||||
if point in sources.regul and point not in block_regular and point not in prefer_solid:
|
||||
|
Loading…
x
Reference in New Issue
Block a user