From 19524f348a0c4e99eddf063314fb8562a955c9a9 Mon Sep 17 00:00:00 2001 From: "Suraj N. Kurapati" Date: Fri, 1 Jul 2016 21:02:14 -0700 Subject: [PATCH] GH-10: Powerline infused BDFs need ISO10646 charset Otherwise, URxvt renders Powerline symbols as boxes. --- Rakefile | 1 + bdf/TamzenForPowerline10x20b.bdf | 2 +- bdf/TamzenForPowerline10x20r.bdf | 2 +- bdf/TamzenForPowerline5x9b.bdf | 2 +- bdf/TamzenForPowerline5x9r.bdf | 2 +- bdf/TamzenForPowerline6x12b.bdf | 2 +- bdf/TamzenForPowerline6x12r.bdf | 2 +- bdf/TamzenForPowerline7x13b.bdf | 2 +- bdf/TamzenForPowerline7x13r.bdf | 2 +- bdf/TamzenForPowerline7x14b.bdf | 2 +- bdf/TamzenForPowerline7x14r.bdf | 2 +- bdf/TamzenForPowerline8x15b.bdf | 2 +- bdf/TamzenForPowerline8x15r.bdf | 2 +- bdf/TamzenForPowerline8x16b.bdf | 2 +- bdf/TamzenForPowerline8x16r.bdf | 2 +- pt3/TamzenForPowerline10x20b.afm | 2 +- pt3/TamzenForPowerline10x20r.afm | 2 +- pt3/TamzenForPowerline5x9b.afm | 2 +- pt3/TamzenForPowerline5x9r.afm | 2 +- pt3/TamzenForPowerline6x12b.afm | 2 +- pt3/TamzenForPowerline6x12r.afm | 2 +- pt3/TamzenForPowerline7x13b.afm | 2 +- pt3/TamzenForPowerline7x13r.afm | 2 +- pt3/TamzenForPowerline7x14b.afm | 2 +- pt3/TamzenForPowerline7x14r.afm | 2 +- pt3/TamzenForPowerline8x15b.afm | 2 +- pt3/TamzenForPowerline8x15r.afm | 2 +- pt3/TamzenForPowerline8x16b.afm | 2 +- pt3/TamzenForPowerline8x16r.afm | 2 +- 29 files changed, 29 insertions(+), 28 deletions(-) diff --git a/Rakefile b/Rakefile index d6935ef..b75f10f 100644 --- a/Rakefile +++ b/Rakefile @@ -165,6 +165,7 @@ file '.powerline' => ['.tamzen', 'bitmap-font-patcher'] do source_font = Font.new(nil, File.read(src)) powerline_font = Font.new(nil, File.read(powerline_file)) source_font.chars.merge! powerline_font.chars # backport! + source_font.props['CHARSET_REGISTRY'] = '"ISO10646"' source_font else IO.popen('bitmap-font-patcher/fontpatcher.py', 'w+') do |patcher| diff --git a/bdf/TamzenForPowerline10x20b.bdf b/bdf/TamzenForPowerline10x20b.bdf index 94dd74f..6053cd4 100644 --- a/bdf/TamzenForPowerline10x20b.bdf +++ b/bdf/TamzenForPowerline10x20b.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 100 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 11 diff --git a/bdf/TamzenForPowerline10x20r.bdf b/bdf/TamzenForPowerline10x20r.bdf index d81c701..da9d6a9 100644 --- a/bdf/TamzenForPowerline10x20r.bdf +++ b/bdf/TamzenForPowerline10x20r.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 100 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 11 diff --git a/bdf/TamzenForPowerline5x9b.bdf b/bdf/TamzenForPowerline5x9b.bdf index 0ddb5b1..6cc705b 100644 --- a/bdf/TamzenForPowerline5x9b.bdf +++ b/bdf/TamzenForPowerline5x9b.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 50 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 5 diff --git a/bdf/TamzenForPowerline5x9r.bdf b/bdf/TamzenForPowerline5x9r.bdf index 61d5405..e20e1c8 100644 --- a/bdf/TamzenForPowerline5x9r.bdf +++ b/bdf/TamzenForPowerline5x9r.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 50 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 5 diff --git a/bdf/TamzenForPowerline6x12b.bdf b/bdf/TamzenForPowerline6x12b.bdf index 8fb5711..b342eaf 100644 --- a/bdf/TamzenForPowerline6x12b.bdf +++ b/bdf/TamzenForPowerline6x12b.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 60 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 7 diff --git a/bdf/TamzenForPowerline6x12r.bdf b/bdf/TamzenForPowerline6x12r.bdf index c8c4876..56d92d2 100644 --- a/bdf/TamzenForPowerline6x12r.bdf +++ b/bdf/TamzenForPowerline6x12r.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 60 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 7 diff --git a/bdf/TamzenForPowerline7x13b.bdf b/bdf/TamzenForPowerline7x13b.bdf index 00681a3..278ebbf 100644 --- a/bdf/TamzenForPowerline7x13b.bdf +++ b/bdf/TamzenForPowerline7x13b.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 70 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 7 diff --git a/bdf/TamzenForPowerline7x13r.bdf b/bdf/TamzenForPowerline7x13r.bdf index 007b4ee..96e6543 100644 --- a/bdf/TamzenForPowerline7x13r.bdf +++ b/bdf/TamzenForPowerline7x13r.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 70 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 7 diff --git a/bdf/TamzenForPowerline7x14b.bdf b/bdf/TamzenForPowerline7x14b.bdf index 0ee987e..d9850ad 100644 --- a/bdf/TamzenForPowerline7x14b.bdf +++ b/bdf/TamzenForPowerline7x14b.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 70 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 8 diff --git a/bdf/TamzenForPowerline7x14r.bdf b/bdf/TamzenForPowerline7x14r.bdf index b5bf9a2..4f41640 100644 --- a/bdf/TamzenForPowerline7x14r.bdf +++ b/bdf/TamzenForPowerline7x14r.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 70 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 8 diff --git a/bdf/TamzenForPowerline8x15b.bdf b/bdf/TamzenForPowerline8x15b.bdf index 450ddc5..82fc1af 100644 --- a/bdf/TamzenForPowerline8x15b.bdf +++ b/bdf/TamzenForPowerline8x15b.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 80 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 8 diff --git a/bdf/TamzenForPowerline8x15r.bdf b/bdf/TamzenForPowerline8x15r.bdf index c46b39b..d23a4c3 100644 --- a/bdf/TamzenForPowerline8x15r.bdf +++ b/bdf/TamzenForPowerline8x15r.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 80 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 8 diff --git a/bdf/TamzenForPowerline8x16b.bdf b/bdf/TamzenForPowerline8x16b.bdf index 54b6738..b9fb43d 100644 --- a/bdf/TamzenForPowerline8x16b.bdf +++ b/bdf/TamzenForPowerline8x16b.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 80 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 9 diff --git a/bdf/TamzenForPowerline8x16r.bdf b/bdf/TamzenForPowerline8x16r.bdf index 110b15b..95f0467 100644 --- a/bdf/TamzenForPowerline8x16r.bdf +++ b/bdf/TamzenForPowerline8x16r.bdf @@ -16,7 +16,7 @@ RESOLUTION_X 100 RESOLUTION_Y 100 SPACING "C" AVERAGE_WIDTH 80 -CHARSET_REGISTRY "ISO8859" +CHARSET_REGISTRY "ISO10646" CHARSET_ENCODING "1" COPYRIGHT "(c) 2015 Scott Fial" CAP_HEIGHT 9 diff --git a/pt3/TamzenForPowerline10x20b.afm b/pt3/TamzenForPowerline10x20b.afm index 8b5808d..74dbadb 100644 --- a/pt3/TamzenForPowerline10x20b.afm +++ b/pt3/TamzenForPowerline10x20b.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 197 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline10x20r.afm b/pt3/TamzenForPowerline10x20r.afm index 05d75a6..86f0093 100644 --- a/pt3/TamzenForPowerline10x20r.afm +++ b/pt3/TamzenForPowerline10x20r.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 197 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline5x9b.afm b/pt3/TamzenForPowerline5x9b.afm index b1967e5..709e341 100644 --- a/pt3/TamzenForPowerline5x9b.afm +++ b/pt3/TamzenForPowerline5x9b.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 196 C 2 ; WX 392 ; N U+2592 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline5x9r.afm b/pt3/TamzenForPowerline5x9r.afm index 034545a..bea7d44 100644 --- a/pt3/TamzenForPowerline5x9r.afm +++ b/pt3/TamzenForPowerline5x9r.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 196 C 2 ; WX 392 ; N U+2592 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline6x12b.afm b/pt3/TamzenForPowerline6x12b.afm index 77aa3d1..e385632 100644 --- a/pt3/TamzenForPowerline6x12b.afm +++ b/pt3/TamzenForPowerline6x12b.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 197 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline6x12r.afm b/pt3/TamzenForPowerline6x12r.afm index 09c0449..230521a 100644 --- a/pt3/TamzenForPowerline6x12r.afm +++ b/pt3/TamzenForPowerline6x12r.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 197 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline7x13b.afm b/pt3/TamzenForPowerline7x13b.afm index e811dde..c7a97dd 100644 --- a/pt3/TamzenForPowerline7x13b.afm +++ b/pt3/TamzenForPowerline7x13b.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 197 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline7x13r.afm b/pt3/TamzenForPowerline7x13r.afm index 0cbcff5..5914520 100644 --- a/pt3/TamzenForPowerline7x13r.afm +++ b/pt3/TamzenForPowerline7x13r.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 197 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline7x14b.afm b/pt3/TamzenForPowerline7x14b.afm index 7896204..e1e18f7 100644 --- a/pt3/TamzenForPowerline7x14b.afm +++ b/pt3/TamzenForPowerline7x14b.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 197 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline7x14r.afm b/pt3/TamzenForPowerline7x14r.afm index d19dea9..e4a7201 100644 --- a/pt3/TamzenForPowerline7x14r.afm +++ b/pt3/TamzenForPowerline7x14r.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 196 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline8x15b.afm b/pt3/TamzenForPowerline8x15b.afm index aee38f0..953a02d 100644 --- a/pt3/TamzenForPowerline8x15b.afm +++ b/pt3/TamzenForPowerline8x15b.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 197 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline8x15r.afm b/pt3/TamzenForPowerline8x15r.afm index e326cc1..3d0ed1f 100644 --- a/pt3/TamzenForPowerline8x15r.afm +++ b/pt3/TamzenForPowerline8x15r.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 196 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline8x16b.afm b/pt3/TamzenForPowerline8x16b.afm index 271d926..40d2c56 100644 --- a/pt3/TamzenForPowerline8x16b.afm +++ b/pt3/TamzenForPowerline8x16b.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 197 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ; diff --git a/pt3/TamzenForPowerline8x16r.afm b/pt3/TamzenForPowerline8x16r.afm index 9a0a839..01766c2 100644 --- a/pt3/TamzenForPowerline8x16r.afm +++ b/pt3/TamzenForPowerline8x16r.afm @@ -11,7 +11,7 @@ IsFixedPitch false UnderlinePosition -100 UnderlineThickness 50 Version 001.000 -EncodingScheme ISOLatin1Encoding +EncodingScheme ISO10646-1 FontBBox 0 0 0 0 StartCharMetrics 196 C 0 ; WX 392 ; N U+0000 ; B 0 0 0 0 ;