On Tue, Jan 08, 2008 at 03:56:39PM +0000, Pádraig Brady wrote:
> From 7a6c19e71a61c6645c812d8e0226ec15d5a89580 Mon Sep 17 00:00:00 2001
> From: =?utf-8?q?P=C3=A1draig=20Brady?= <[EMAIL PROTECTED]>
> Date: Fri, 4 Jan 2008 10:44:53 +0000
> Subject: [PATCH] Fix weekday alignment for certain locales
> 
> For example this had too much padding: LANG=zh_CN.utf8 cal -j
> while this had too little padding:     LANG=hu_HU.utf8 cal
> This had invalid chars:                LANG=li_BE.utf8 cal
> This had too few chars:                LANG=si_LK.utf8 cal
> 
> Note some locales may display with slightly worse alignment
> (fa_IR.utf8 for example), but that is only because the terminal
> is not merging the combining characters. This happens on
> gnome-terminal-2.18.3-1.fc8 at least.
> 
> Signed-off-by: P??draig Brady <[EMAIL PROTECTED]>
> ---
>  misc-utils/cal.c        |  138 
> +++++++++++++++++++++++++++--------------------
>  tests/expected/ts-cal-1 |    4 +-
>  tests/expected/ts-cal-3 |    8 ++--
>  tests/expected/ts-cal-y |   48 ++++++++--------
>  4 files changed, 110 insertions(+), 88 deletions(-)

 Applied (with few cosmetic changes). Thanks!

    Karel

-- 
 Karel Zak  <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to