[FFmpeg-devel] [PATCH] Revert "doc/faq: replace non-breaking spaces (0xA0) with normal space"

James Almer jamrial at gmail.com
Sun Jan 7 20:51:27 EET 2024


On 1/7/2024 3:46 PM, Marton Balint wrote:
> 
> 
> On Sun, 7 Jan 2024, Stefano Sabatini wrote:
> 
>> On date Saturday 2024-01-06 15:49:56 -0600, Marth64 wrote:
>>> This reverts commit 6442d1ddd62160e96c686c30648b6111e3e0c264.
>>>
>>> A valid point was made, that the non-breaking space will cause this text
>>> to render better by ensuring the unit never seperates from the number.
>>
>> I'm not convinced the non-breaking space was a good idea in the first
>> place, the fact that there is a single instance in the whole
>> documentation confirms this.
>>
>> In fact even if the unit and value are not on the same line we don't
>> miss much in terms of readability.
>>
>> On the other hand it is very hard to edit such non-printable
>> characters, and you can bet what as much as you can that most
>> contributors will not get it right or consistent.
> 
> Hard to edit how? It is not like we are in the 80s using ASCII charset 
> and editors with 80x25 text console to edit the files...
> 
> The whole topic is kind of bikesheddy, so I don't really mind either 
> way, I just don't see the benefit of using @tie{} or whatever instead of 
> proper utf8 chars any half decent editor would support.

0xA0 is invisible in .texi files if you use a text editor that supports 
it, whereas @tie{} obviously isn't. The latter clearly conveys the 
intention (no splitting) for the reader with a quick glance, and it 
probably is the preferred method for the interpreter to handle this, so 
IMO it's better.


More information about the ffmpeg-devel mailing list