diff mbox

drivers: console: font_: Change a glyph from "broken bar" to "vertical line"

Message ID 20120812150510.GA21931@rhi.hi.is (mailing list archive)
State New, archived
Headers show

Commit Message

Bjarni Ingi Gislason Aug. 12, 2012, 3:05 p.m. UTC
The code 124 (0x7C, |) is rendered as a broken line in two
fonts, instead of a continuous line.  Some keyboards show a
"broken bar" on one of theirs keys, other show a (continuous)
"vertical line".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 linux-3.5/drivers/video/console/font_mini_4x6.c |    2 +-
 linux-3.5/drivers/video/console/font_sun8x16.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Florian Tobias Schandinat Sept. 23, 2012, 7:20 p.m. UTC | #1
On 08/12/2012 03:05 PM, Bjarni Ingi Gislason wrote:
>   The code 124 (0x7C, |) is rendered as a broken line in two
> fonts, instead of a continuous line.  Some keyboards show a
> "broken bar" on one of theirs keys, other show a (continuous)
> "vertical line".
> 
> Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

Applied, as I think you're right and don't know any policy to not change
existing fonts. But it would be better if you use git to create your
patches.


Best regards,

Florian Tobias Schandinat


> ---
>  linux-3.5/drivers/video/console/font_mini_4x6.c |    2 +-
>  linux-3.5/drivers/video/console/font_sun8x16.c  |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff -upr -X linux-3.5/Documentation/dontdiff linux-3.5/drivers/video/console/font_mini_4x6.c devel/linux-3.5/drivers/video/console/font_mini_4x6.c
> --- linux-3.5/drivers/video/console/font_mini_4x6.c	2012-07-21 20:58:29.000000000 +0000
> +++ devel/linux-3.5/drivers/video/console/font_mini_4x6.c	2012-08-11 15:27:41.778918653 +0000
> @@ -1092,7 +1092,7 @@ static const unsigned char fontdata_mini
>  	/*{*/ 	/*   Char 124: '|' */
>  	0x44,	/*=   [ *  ]        */
>  	0x44,	/*=   [ *  ]        */
> -	0x00,	/*=   [    ]        */
> +	0x44,	/*=   [ *  ]        */
>  	0x44,	/*=   [ *  ]        */
>  	0x44,	/*=   [ *  ]        */
>  	0x00,	/*=   [    ]        */
> diff -upr -X linux-3.5/Documentation/dontdiff linux-3.5/drivers/video/console/font_sun8x16.c devel/linux-3.5/drivers/video/console/font_sun8x16.c
> --- linux-3.5/drivers/video/console/font_sun8x16.c	2012-07-21 20:58:29.000000000 +0000
> +++ devel/linux-3.5/drivers/video/console/font_sun8x16.c	2012-08-11 15:28:22.490299722 +0000
> @@ -127,7 +127,7 @@ static const unsigned char fontdata_sun8
>  /*y*/ 0x00,0x00,0x00,0x00,0x00,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0x7e,0x06,0x0c,0xf8,0x00,
>  /*z*/ 0x00,0x00,0x00,0x00,0x00,0xfe,0xcc,0x18,0x30,0x60,0xc6,0xfe,0x00,0x00,0x00,0x00,
>  /*{*/ 0x00,0x00,0x0e,0x18,0x18,0x18,0x70,0x18,0x18,0x18,0x18,0x0e,0x00,0x00,0x00,0x00,
> -/*|*/ 0x00,0x00,0x18,0x18,0x18,0x18,0x00,0x18,0x18,0x18,0x18,0x18,0x00,0x00,0x00,0x00,
> +/*|*/ 0x00,0x00,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x00,0x00,0x00,0x00,
>  /*}*/ 0x00,0x00,0x70,0x18,0x18,0x18,0x0e,0x18,0x18,0x18,0x18,0x70,0x00,0x00,0x00,0x00,
>  /*~*/ 0x00,0x00,0x76,0xdc,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
>  /* */ 0x00,0x00,0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xc6,0xfe,0x00,0x00,0x00,0x00,0x00,
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff -upr -X linux-3.5/Documentation/dontdiff linux-3.5/drivers/video/console/font_mini_4x6.c devel/linux-3.5/drivers/video/console/font_mini_4x6.c
--- linux-3.5/drivers/video/console/font_mini_4x6.c	2012-07-21 20:58:29.000000000 +0000
+++ devel/linux-3.5/drivers/video/console/font_mini_4x6.c	2012-08-11 15:27:41.778918653 +0000
@@ -1092,7 +1092,7 @@  static const unsigned char fontdata_mini
 	/*{*/ 	/*   Char 124: '|' */
 	0x44,	/*=   [ *  ]        */
 	0x44,	/*=   [ *  ]        */
-	0x00,	/*=   [    ]        */
+	0x44,	/*=   [ *  ]        */
 	0x44,	/*=   [ *  ]        */
 	0x44,	/*=   [ *  ]        */
 	0x00,	/*=   [    ]        */
diff -upr -X linux-3.5/Documentation/dontdiff linux-3.5/drivers/video/console/font_sun8x16.c devel/linux-3.5/drivers/video/console/font_sun8x16.c
--- linux-3.5/drivers/video/console/font_sun8x16.c	2012-07-21 20:58:29.000000000 +0000
+++ devel/linux-3.5/drivers/video/console/font_sun8x16.c	2012-08-11 15:28:22.490299722 +0000
@@ -127,7 +127,7 @@  static const unsigned char fontdata_sun8
 /*y*/ 0x00,0x00,0x00,0x00,0x00,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0x7e,0x06,0x0c,0xf8,0x00,
 /*z*/ 0x00,0x00,0x00,0x00,0x00,0xfe,0xcc,0x18,0x30,0x60,0xc6,0xfe,0x00,0x00,0x00,0x00,
 /*{*/ 0x00,0x00,0x0e,0x18,0x18,0x18,0x70,0x18,0x18,0x18,0x18,0x0e,0x00,0x00,0x00,0x00,
-/*|*/ 0x00,0x00,0x18,0x18,0x18,0x18,0x00,0x18,0x18,0x18,0x18,0x18,0x00,0x00,0x00,0x00,
+/*|*/ 0x00,0x00,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x00,0x00,0x00,0x00,
 /*}*/ 0x00,0x00,0x70,0x18,0x18,0x18,0x0e,0x18,0x18,0x18,0x18,0x70,0x00,0x00,0x00,0x00,
 /*~*/ 0x00,0x00,0x76,0xdc,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 /* */ 0x00,0x00,0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xc6,0xfe,0x00,0x00,0x00,0x00,0x00,