[PATCH 1/2] terminal: fix up horizontal scan-line characters

Kristian Høgsberg hoegsberg at gmail.com
Tue May 29 06:55:41 PDT 2012


On Tue, May 29, 2012 at 09:37:01AM +0200, David Herrmann wrote:
> The DEC special graphics set defines entries 0x6f to 0x73 to be:
>   Horizontal Scan Line 1
>   Horizontal Scan Line 3
>   Horizontal Scan Line 5
>   Horizontal Scan Line 7
>   Horizontal Scan Line 9
> However, the first Unicode drafts included only Scan-Line 5. Since
> Unicode-3.2 the other Scan-Lines were added and are available in most
> Unicode fonts now.

Thanks, committed.
Kristian

> The codes are listed here:
>   http://www.fileformat.info/info/unicode/block/miscellaneous_technical/images.htm?start=9089
> Or more precisely:
>   Scan 1: http://www.fileformat.info/info/unicode/char/23ba/index.htm
>   Scan 3: http://www.fileformat.info/info/unicode/char/23bb/index.htm
>   Scan 7: http://www.fileformat.info/info/unicode/char/23bc/index.htm
>   Scan 9: http://www.fileformat.info/info/unicode/char/23bd/index.htm
> Scan 5 is kept the same as before as it wasn't added separately and was
> already correct before.
> 
> Signed-off-by: David Herrmann <dh.herrmann at googlemail.com>
> ---
>  clients/terminal.c |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/clients/terminal.c b/clients/terminal.c
> index 32648dd..a3c806e 100644
> --- a/clients/terminal.c
> +++ b/clients/terminal.c
> @@ -195,11 +195,11 @@ static struct char_sub CS_SPECIAL[] = {
>  	{{{'l', 0, }}, {{0xE2, 0x94, 0x8C, 0}}}, /* CN_LT */
>  	{{{'m', 0, }}, {{0xE2, 0x94, 0x94, 0}}}, /* CN_RB */
>  	{{{'n', 0, }}, {{0xE2, 0x94, 0xBC, 0}}}, /* CROSS */
> -	{{{'o', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */
> -	{{{'p', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */
> -	{{{'q', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */
> -	{{{'r', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */
> -	{{{'s', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* H */
> +	{{{'o', 0, }}, {{0xE2, 0x8E, 0xBA, 0}}}, /* Horiz. Scan Line 1 */
> +	{{{'p', 0, }}, {{0xE2, 0x8E, 0xBB, 0}}}, /* Horiz. Scan Line 3 */
> +	{{{'q', 0, }}, {{0xE2, 0x94, 0x80, 0}}}, /* Horiz. Scan Line 5 */
> +	{{{'r', 0, }}, {{0xE2, 0x8E, 0xBC, 0}}}, /* Horiz. Scan Line 7 */
> +	{{{'s', 0, }}, {{0xE2, 0x8E, 0xBD, 0}}}, /* Horiz. Scan Line 9 */
>  	{{{'t', 0, }}, {{0xE2, 0x94, 0x9C, 0}}}, /* TR */
>  	{{{'u', 0, }}, {{0xE2, 0x94, 0xA4, 0}}}, /* TL */
>  	{{{'v', 0, }}, {{0xE2, 0x94, 0xB4, 0}}}, /* TU */
> -- 
> 1.7.10.2
> 


More information about the wayland-devel mailing list