W3C home > Mailing lists > Public > www-font@w3.org > July to September 2011

Re: Bug? "Hyphen" character rendered in place of "soft hyphen" in most browsers except Safari and Opera

From: Adam Twardoch (List) <list.adam@twardoch.com>
Date: Mon, 11 Jul 2011 19:59:15 +0200
Message-ID: <4E1B39F3.1040002@twardoch.com>
To: Eric Muller <emuller@adobe.com>
CC: www-font@w3.org
On 11-07-11 19:44, Eric Muller wrote:
> - it's probably not desirable to end up with a different glyph for an
> hyphenated word and for a compound word.
It is if you want to use different sidebearings.

One idea is that, for full-justified text and webfonts, the U+00AD (soft
hyphen) glyph has a slightly negative right sidebearing, which allows to
create an "optical margin alignment" effect (for the visible "soft"
hyphens at the end of the line).

Also, there may be historical fonts (e.g. Fraktur) where the designer
might wish to distinguish those two graphically.



May success attend your efforts,
-- Adam Twardoch
(Remove "list." from e-mail address to contact me directly.)
Received on Monday, 11 July 2011 17:59:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:36 UTC