Skip to content

Commit

Permalink
Merge pull request #1261 from ryanoasis/bugfix/codicons-circles
Browse files Browse the repository at this point in the history
Bugfix Codicon Circles
  • Loading branch information
Finii authored May 30, 2023
2 parents 1b77115 + f3f8da1 commit 8ea2e71
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions font-patcher
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from __future__ import absolute_import, print_function, unicode_literals

# Change the script version when you edit this script:
script_version = "4.3.3"
script_version = "4.3.4"

version = "3.0.1"
projectName = "Nerd Fonts"
Expand Down Expand Up @@ -922,6 +922,7 @@ class font_patcher:
# with the same scaling and shifting. The basis for it is a 'combined
# bounding box' of all glyphs in that group. All glyphs are handled as
# if they fill that combined bounding box.
# (- ScaleGroupsVert: Removed with this commit)
#
# The ScaleGlyph method: You set 'ScaleGlyph' to the unicode of the reference glyph.
# Note that there can be only one per patch-set.
Expand Down Expand Up @@ -957,14 +958,8 @@ class font_patcher:
range(0x2594, 0x259f + 1), # quards (Note: quard 2597 in Hack is wrong, scales like block!)
]}
CODI_SCALE_LIST = {'ScaleGroups': [
range(0xea99, 0xeaa1 + 1), # arrows
range(0xeb6e, 0xeb71 + 1), # triangles
range(0xeab4, 0xeab7 + 1), # chevrons
[0xea71, *range(0xeaa6, 0xeaab + 1), 0xeabc, 0xeb18, 0xeb87, 0xeb88, 0xeb8a, 0xeb8c, 0xebb4], # cicles
[0xeacc, 0xeaba], # dash
[0xea75, 0xebe7], # lock pair
[0xeacf, 0xebe0], # debug-continue pair
[0xeb91, 0xeba8], # debug-alt pair
]}
DEVI_SCALE_LIST = {'ScaleGlyph': 0xE60E, # Android logo
'GlyphsToScale': [
Expand Down

0 comments on commit 8ea2e71

Please sign in to comment.