GH-10: Powerline infused BDFs need ISO10646 charset

Otherwise, URxvt renders Powerline symbols as boxes.
This commit is contained in:
Suraj N. Kurapati 2016-07-01 21:02:14 -07:00
parent 3456973418
commit 19524f348a
29 changed files with 29 additions and 28 deletions

View File

@ -165,6 +165,7 @@ file '.powerline' => ['.tamzen', 'bitmap-font-patcher'] do
source_font = Font.new(nil, File.read(src)) source_font = Font.new(nil, File.read(src))
powerline_font = Font.new(nil, File.read(powerline_file)) powerline_font = Font.new(nil, File.read(powerline_file))
source_font.chars.merge! powerline_font.chars # backport! source_font.chars.merge! powerline_font.chars # backport!
source_font.props['CHARSET_REGISTRY'] = '"ISO10646"'
source_font source_font
else else
IO.popen('bitmap-font-patcher/fontpatcher.py', 'w+') do |patcher| IO.popen('bitmap-font-patcher/fontpatcher.py', 'w+') do |patcher|

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 100 AVERAGE_WIDTH 100
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 11 CAP_HEIGHT 11

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 100 AVERAGE_WIDTH 100
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 11 CAP_HEIGHT 11

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 50 AVERAGE_WIDTH 50
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 5 CAP_HEIGHT 5

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 50 AVERAGE_WIDTH 50
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 5 CAP_HEIGHT 5

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 60 AVERAGE_WIDTH 60
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 7 CAP_HEIGHT 7

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 60 AVERAGE_WIDTH 60
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 7 CAP_HEIGHT 7

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 70 AVERAGE_WIDTH 70
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 7 CAP_HEIGHT 7

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 70 AVERAGE_WIDTH 70
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 7 CAP_HEIGHT 7

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 70 AVERAGE_WIDTH 70
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 8 CAP_HEIGHT 8

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 70 AVERAGE_WIDTH 70
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 8 CAP_HEIGHT 8

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 80 AVERAGE_WIDTH 80
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 8 CAP_HEIGHT 8

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 80 AVERAGE_WIDTH 80
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 8 CAP_HEIGHT 8

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 80 AVERAGE_WIDTH 80
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 9 CAP_HEIGHT 9

View File

@ -16,7 +16,7 @@ RESOLUTION_X 100
RESOLUTION_Y 100 RESOLUTION_Y 100
SPACING "C" SPACING "C"
AVERAGE_WIDTH 80 AVERAGE_WIDTH 80
CHARSET_REGISTRY "ISO8859" CHARSET_REGISTRY "ISO10646"
CHARSET_ENCODING "1" CHARSET_ENCODING "1"
COPYRIGHT "(c) 2015 Scott Fial" COPYRIGHT "(c) 2015 Scott Fial"
CAP_HEIGHT 9 CAP_HEIGHT 9

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 197 StartCharMetrics 197
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 197 StartCharMetrics 197
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 196 StartCharMetrics 196
C 2 ; WX 392 ; N U+2592 ; B 0 0 0 0 ; C 2 ; WX 392 ; N U+2592 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 196 StartCharMetrics 196
C 2 ; WX 392 ; N U+2592 ; B 0 0 0 0 ; C 2 ; WX 392 ; N U+2592 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 197 StartCharMetrics 197
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 197 StartCharMetrics 197
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 197 StartCharMetrics 197
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 197 StartCharMetrics 197
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 197 StartCharMetrics 197
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 196 StartCharMetrics 196
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 197 StartCharMetrics 197
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 196 StartCharMetrics 196
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 197 StartCharMetrics 197
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;

View File

@ -11,7 +11,7 @@ IsFixedPitch false
UnderlinePosition -100 UnderlinePosition -100
UnderlineThickness 50 UnderlineThickness 50
Version 001.000 Version 001.000
EncodingScheme ISOLatin1Encoding EncodingScheme ISO10646-1
FontBBox 0 0 0 0 FontBBox 0 0 0 0
StartCharMetrics 196 StartCharMetrics 196
C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;