bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Locale-independent paragraph formatting


From: Gavin Smith
Subject: Fwd: Locale-independent paragraph formatting
Date: Fri, 10 Nov 2023 19:39:42 +0000

Forwarding reply from Bruno as I accidentally dropped the list when
replying.

----- Forwarded message from Bruno Haible <bruno@clisp.org> -----

Date: Fri, 10 Nov 2023 03:27:14 +0100
From: Bruno Haible <bruno@clisp.org>
To: Gavin Smith <gavinsmith0123@gmail.com>
Subject: Re: Locale-independent paragraph formatting [was Re: Texinfo 7.0.93
        pretest available]

Hi Gavin,

> Some of the changes look incorrect, e.g.
> 
> --- a/tp/tests/coverage/res_parser/formatting_info/formatting.info
> +++ b/tp/tests/coverage/res_parser/formatting_info/formatting.info
> @@ -55,16 +55,14 @@ Now !  !@ but , ,
>  
>     @point ⋆ (⋆) @print ⊣ (⊣) @result ⇒ (⇒) @today a sunny day
>  
> -   @aa å (å) @AA Å (Å) @ae æ (æ) @oe œ (œ) @AE Æ (Æ) @OE Œ (Œ) @o ø (ø)
> -@O Ø (Ø) @ss ß (ß) @l ł (ł) @L Ł (Ł) @DH Ð (Ð) @TH Þ (Þ) @dh ð (ð) @th þ
> -(þ)
> +   @aa å (å) @AA Å (Å) @ae æ (æ) @oe œ (œ) @AE Æ (Æ) @OE Œ (Œ) @o ø (ø) @O Ø 
>
> ) @ss ß (ß)
> +@l ł (ł) @L Ł (Ł) @DH Ð (Ð) @TH Þ (Þ) @dh ð (ð) @th þ (þ)
>  
> 
> where the line in the new output is too long.

Is the expected output

   å å (å) Å Å (Å) æ æ (æ) œ œ (œ) Æ Æ (Æ) Œ Œ (Œ) ø ø (ø) Ø Ø (Ø) ß ß (ß)

(width 74) or

   @aa å (å) @AA Å (Å) @ae æ (æ) @oe œ (œ) @AE Æ (Æ) @OE Œ (Œ) @o ø (ø) @O Ø 
(Ø) @ss ß (ß)

(width 90)?

I guess you will need to look at the Unicode characters that you pass to 
c32width,
and whether you get return values < 1 for some of them.

Bruno

----- End forwarded message -----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]