Masayuki Nakano wrote:
> '-', '/' and '=' are not breakable if the next character is numeric.
> 
> But the last case (2007-Aug-02) is not saved by the rule. Should we also 
> check whether the previous character is numeric?

That could lead to issues with long organic chemical names.  I'm not sure 
there's a perfect solution there.  ;(

> Note that if *authors* hope that the text should not broken around 
> hyphen, they should use non-breakable hyphen (U+2011).

There's plenty of plain ASCII text we end up rendering (e-mail comes to mind), 
so I'd really like us to have default line breaking that's as good as we can 
reasonably manage.

One other line breaking weirdness I ran into today: the string "Init()" broke 
after the 't'.  That looked _really_ odd.  I wouldn't break before a '(' that's 
preceded by a letter like that...  Breaking after the '(' if we have to would 
sometimes be reasonable, though in this case that would look pretty odd too. 
And really, "sin(x)" should not be line breaking anywhere, imo...  ;)

-Boris

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to