working on the dlang.org website

Jeff Nowakowski jeff at dilacero.org
Wed Jul 31 15:31:58 PDT 2013


On 07/31/2013 10:14 AM, Vladimir Panteleev wrote:
> On Wednesday, 31 July 2013 at 07:35:34 UTC, Jeff Nowakowski wrote:
>> By the way, the worst idea I've seen is to do hyphenation statically
>> on the server side. How does the server know in advance how wide my
>> browser window is or the text size? It can't. It's the client's job to
>> flow the text.
>
> Both hyphenate.js and hyphenate.d statically insert shy hyphens, which
> indicate potential line breaks to browsers. They are invisible except
> when the line is wrapped at their position.

Sorry for the misinformation, and thanks for the correction.


More information about the Digitalmars-d mailing list