@@ -186,6 +186,7 @@ class font_patcher:
186186 sym_font_group .add_argument ('--powerlineextra' , dest = 'powerlineextra' , default = False , action = 'store_true' , help = 'Add Powerline Glyphs (https://github.com/ryanoasis/powerline-extra-symbols)' )
187187 sym_font_group .add_argument ('--material' , '--materialdesignicons' , '--mdi' , dest = 'material' , default = False , action = 'store_true' , help = 'Add Material Design Icons (https://github.com/templarian/MaterialDesign)' )
188188 sym_font_group .add_argument ('--weather' , '--weathericons' , dest = 'weather' , default = False , action = 'store_true' , help = 'Add Weather Icons (https://github.com/erikflowers/weather-icons)' )
189+ sym_font_group .add_argument ('--braille' , dest = 'braille' , default = False , action = 'store_true' , help = 'Add Braille Glyphs' )
189190
190191 self .args = parser .parse_args ()
191192
@@ -202,6 +203,7 @@ class font_patcher:
202203 self .args .powerlineextra = True
203204 self .args .material = True
204205 self .args .weather = True
206+ self .args .braille = True
205207
206208 if not self .args .complete :
207209 # add the list of arguments for each symbol font to the list self.sym_font_args
@@ -274,6 +276,10 @@ class font_patcher:
274276 if self .args .weather :
275277 additionalFontNameSuffix += " WEA"
276278 verboseAdditionalFontNameSuffix += " Plus Weather Icons"
279+ if self .args .braille :
280+ additionalFontNameSuffix += " B"
281+ verboseAdditionalFontNameSuffix += " Plus Braille Icons"
282+
277283
278284 # if all source glyphs included simplify the name
279285 else :
@@ -609,6 +615,7 @@ class font_patcher:
609615 {'Enabled' : self .args .octicons , 'Name' : "Octicons" , 'Filename' : "octicons.ttf" , 'Exact' : self .octiconsExactEncodingPosition , 'SymStart' : 0X26A1 , 'SymEnd' : 0X26A1 , 'SrcStart' : None , 'SrcEnd' : None , 'ScaleGlyph' : OCTI_SCALE_LIST , 'Attributes' : SYM_ATTR_DEFAULT }, # Zap
610616 {'Enabled' : self .args .octicons , 'Name' : "Octicons" , 'Filename' : "octicons.ttf" , 'Exact' : self .octiconsExactEncodingPosition , 'SymStart' : 0xF27C , 'SymEnd' : 0xF27C , 'SrcStart' : 0xF4A9 , 'SrcEnd' : 0xF4A9 , 'ScaleGlyph' : OCTI_SCALE_LIST , 'Attributes' : SYM_ATTR_DEFAULT }, # Desktop
611617 {'Enabled' : self .args .codicons , 'Name' : "Codicons" , 'Filename' : "codicons/codicon.ttf" , 'Exact' : True , 'SymStart' : 0xEA60 , 'SymEnd' : 0xEBEB , 'SrcStart' : None , 'SrcEnd' : None , 'ScaleGlyph' : None , 'Attributes' : SYM_ATTR_DEFAULT },
618+ {'Enabled' : self .args .braille , 'Name' : "Braille" , 'Filename' : "UBraille.ttf" , 'Exact' : False , 'SymStart' : 0x2800 , 'SymEnd' : 0x28FF , 'SrcStart' : None , 'SrcEnd' : None , 'ScaleGlyph' : None , 'Attributes' : SYM_ATTR_DEFAULT },
612619 {'Enabled' : self .args .custom , 'Name' : "Custom" , 'Filename' : self .args .custom , 'Exact' : True , 'SymStart' : 0x0000 , 'SymEnd' : 0x0000 , 'SrcStart' : 0x0000 , 'SrcEnd' : 0x0000 , 'ScaleGlyph' : None , 'Attributes' : CUSTOM_ATTR }
613620 ]
614621
0 commit comments