Re: breaking hyphen?
- From: "Alan Wood" <alan.wood@xxxxxxxxxx>
- Date: 26 Oct 2005 01:35:48 -0700
Jukka K. Korpela wrote:
> I don't think it was an improvement that Opera started dividing "-1"
> into "-" at the end of a line and "1" at the start of the next line.
>
> (Or consider the string "Latin-1". Do you really want "1" to go to the
> next line?)
I agree that a simple "allow break after a hyphen" rule is not an ideal
solution.
One possible improvement would be to add a condition that a break
should not be allowed if it would leave a string of 3 or fewer
characters at tne end or start of a line. Another possible improvement
would be not to allow a break between a hyphen and a number, so that
negative numbers are not broken.
Opera is working on a new rendering engine for version 9, and a preview
is available:
- Windows: <http://snapshot.opera.com/windows/w90p1.html>
- UNIX: <http://snapshot.opera.com/unix/u90p1.html>
- Mac: <http://snapshot.opera.com/mac/m90p1.html>
This would be a good time to test its breaking algorithm and provide
feedback. Opera do take notice of feedback.
--
Alan Wood
http://www.alanwood.net (Unicode, special characters, pesticide names)
.
- Follow-Ups:
- Re: breaking hyphen?
- From: Dr John Stockton
- Re: breaking hyphen?
- References:
- breaking hyphen?
- From: stevenkobes
- Re: breaking hyphen?
- From: Alan Wood
- Re: breaking hyphen?
- From: Jukka K. Korpela
- breaking hyphen?
- Prev by Date: Re: How to align elements and define resize behaviour?
- Next by Date: Re: How to align elements and define resize behaviour?
- Previous by thread: Re: breaking hyphen?
- Next by thread: Re: breaking hyphen?
- Index(es):
Relevant Pages
|