bramstein / typeset

TeX line breaking algorithm in JavaScript
BSD 2-Clause "Simplified" License
990 stars 74 forks source link

Mis-alignment of right edge of text when using Typeset and Hypher #19

Open iotaweb opened 9 years ago

iotaweb commented 9 years ago

Hi Bram,

Looking at your Flatland example, I note that many lines include a space before the closing </span tag, which leaves the right edge of the text slightly mis-aligned. I don't see this effect in your example without hyphenation, so wonder if this is the cause.

Do you think it's possible to get perfect alignment including hyphenation?

BTW - this project is very promising and just what I am looking for - tx so much for your efforts.

Regards, Rob