Skip to content

Commit

Permalink
Add some overlap on separators
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkusk committed Oct 15, 2016
1 parent 7e043d6 commit af0a9eb
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions font-patcher
Expand Up @@ -100,7 +100,7 @@ if args.fontawesome and args.octicons and args.pomicons and args.powerlineextra
# add mono signifier to end of name
if args.single:
additionalFontNameSuffix += " M"
verboseAdditionalFontNameSuffix += " M"
verboseAdditionalFontNameSuffix += " Mono"

sourceFont = fontforge.open(args.font)

Expand Down Expand Up @@ -140,9 +140,9 @@ if args.windows:
fullname += " Windows Compatible"
# now make sure less than 32 characters name length
if len(fontname) > maxFontLength:
fontname = fontname[:maxLength]
fontname = fontname[:maxFontLength]
if len(familyname) > maxFamilyLength:
familyname = familyname[:maxLength]
familyname = familyname[:maxFamilyLength]
else:
familyname += " " + projectNameSingular

Expand Down Expand Up @@ -304,34 +304,34 @@ SYM_ATTR = {
# Powerline dividers

# Arrow tips
0xe0b0: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0b1: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0b2: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0b3: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0b0: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0b1: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0b2: { 'align': 'r', 'stretch': 'xy', 'overlap': True },
0xe0b3: { 'align': 'r', 'stretch': 'xy', 'overlap': True },

# Rounded arcs
0xe0b4: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0b5: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0b6: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0b7: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0b4: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0b5: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0b6: { 'align': 'r', 'stretch': 'xy', 'overlap': True },
0xe0b7: { 'align': 'r', 'stretch': 'xy', 'overlap': True },

# Bottom Triangles
0xe0b8: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0b9: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0ba: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0bb: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0b8: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0b9: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0ba: { 'align': 'r', 'stretch': 'xy', 'overlap': True },
0xe0bb: { 'align': 'r', 'stretch': 'xy', 'overlap': True },

# Top Triangles
0xe0bc: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0bd: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0be: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0bf: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0bc: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0bd: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0be: { 'align': 'r', 'stretch': 'xy', 'overlap': True },
0xe0bf: { 'align': 'r', 'stretch': 'xy', 'overlap': True },

# Flames
0xe0c0: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0c1: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0c2: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0c3: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0c0: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0c1: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0c2: { 'align': 'r', 'stretch': 'xy', 'overlap': True },
0xe0c3: { 'align': 'r', 'stretch': 'xy', 'overlap': True },

# Small squares
0xe0c4: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
Expand All @@ -354,8 +354,8 @@ SYM_ATTR = {
0xe0d1: { 'align': 'l', 'stretch': 'xy', 'overlap': False },

# Top and bottom trapezoid
0xe0d2: { 'align': 'l', 'stretch': 'xy', 'overlap': False },
0xe0d4: { 'align': 'r', 'stretch': 'xy', 'overlap': False },
0xe0d2: { 'align': 'l', 'stretch': 'xy', 'overlap': True },
0xe0d4: { 'align': 'r', 'stretch': 'xy', 'overlap': True },
}

SYM_ATTR_DEFAULT = {
Expand Down

0 comments on commit af0a9eb

Please sign in to comment.