edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] soft hyphen
@ 2015-05-28 20:13 Karl Dahlke
  2015-05-29 20:50 ` chris
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Dahlke @ 2015-05-28 20:13 UTC (permalink / raw)
  To: Edbrowse-dev

I guess I never realized the semantics of the soft hyphen,
and thus I do not render it in any proper way.
I just turn it into hyphen, rather than what is described in
wikipedia soft hyphen.
All these years and I never really noticed until I ran into a web
page that makes grotesque yet correct use of it

http://www.WheelOfFortuneSolutions.com/about.html

Maybe I should just turn the soft hyphen into nothing,
it would be better than what I am doing now,
at least for the short term.
Long term the breakLine() routine might want to be smarter about this symbol.

Karl Dahlke

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Edbrowse-dev] soft hyphen
  2015-05-28 20:13 [Edbrowse-dev] soft hyphen Karl Dahlke
@ 2015-05-29 20:50 ` chris
  0 siblings, 0 replies; 2+ messages in thread
From: chris @ 2015-05-29 20:50 UTC (permalink / raw)
  To: Edbrowse-dev

I wonder if it would be worth implementing the semantics described
in Wikipedia.  Here they are, just for reference:

<quote>
The soft hyphen tells the user agent where a line break can occur.
Those browsers that interpret soft hyphens must observe the following semantics.
If a line is broken at a soft hyphen,
a hyphen character must be displayed at the end of the first line.
If a line is not broken at a soft hyphen,
the user agent must not display a hyphen character.
</quote>

The page you linked in your original post would look great with the soft
hyphens removed.  Maybe just remove them for now, and consider using
them as part of word-wrapping at a later date?

-- Chris

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-29 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-28 20:13 [Edbrowse-dev] soft hyphen Karl Dahlke
2015-05-29 20:50 ` chris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).