RE: [css-text] Preventing typographic orphans

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