W3C home > Mailing lists > Public > www-style@w3.org > January 2015

RE: [css-text] Preventing typographic orphans

From: Jan Tosovsky <j.tosovsky@email.cz>
Date: Tue, 6 Jan 2015 00:03:31 +0100
To: "'www-style list'" <www-style@w3.org>
Message-ID: <01ab01d0293b$d2fcda60$78f68f20$@tosovsky@email.cz>
On 2015-01-04 Jirka Kosek wrote:
> On 3.1.2015 23:58, Michał Gołębiowski wrote:
> > I'd b very happy if such a thing existed in CSS. In Poland it's
> > considered an error to put single-letter words like 'w' ('in'), 
> > 'z' ('with') etc. at the end of the line.
> 
> It would be difficult to make generic rule for this, especially for 
> all locales (in Czech we have similar rule which has roots in 
> technical limitations of lead type). The most common approach is to 
> fix this issue by inserting non-breaking space at server side, ideally 
> just once when content is stored/modified at the server.
> 

+1

Usually it is not just prepositions, imagine cases like 'the range 0.2 - 2 N' or '100 000 K'. 

And we should not forget that the complexity would grow with enabled hyphenation...

Jan
Received on Monday, 5 January 2015 23:03:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:56 UTC