Re: wbr revisited

Excellent. I should have said

<!ENTITY zwsp CDATA "&#8203;" -- zero width space, U+200B -->

I also found some notes by Jukka Korpela on wbr and zwsp at
<http://www.malibutelecom.fi/yucca/html/nobr.html>.

Surely zwsp ought to be a named entity in (X)HTML also? Now for it to be
widely implemented in user agents ...

Karl Ove Hufthammer wrote:
> 
> ----- Original Message -----
> From: "Einar Westermann" <einar.westermann@trygdeetaten.no>
> To: <www-html@w3.org>
> Sent: Saturday, June 02, 2001 9:23 PM
> Subject: wbr revisited
> 
> > Is the
> >
> > <!ENTITY zwnj CDATA "&#8204;"--=zero width non-joiner-->
> >
> > meant to function like the (Netscape-specific) wbr (possible line break
> > without hyphenation)?
> 
> No. The only practical example I can think of with the English alphabet, is
> ligatures. In some fonts (quite a few, actually), the the top of the 'f'
> letter "crashes" with the dot in 'i', e.g. in the word 'fish'. In professional
> typesetting, the letters 'fi' are therefore replaced with a single 'fi'
> "letter", where the top of the f *is* the dot of the 'i'. You can see some
> examples at <URL: http://www.will-harris.com/ligatures.htm >.
> 
> The browser is free to do glyph substitution, so that the character sequence
> 'fi' is rendered as a single 'fi' ligature (no browser actually does this). If
> you put a 'zero width non-joiner' between the to letter, you can ensure that
> the browser doesn't "join" the two characters to a ligature. The ZWNJ is more
> useful in non-Western languages.
> 
> For information about line breaking and line breaking characters, see <URL:
> http://www.unicode.org/unicode/reports/tr14/ >.
> 
> --
> Karl Ove Hufthammer

Received on Sunday, 3 June 2001 08:35:54 UTC