News for hackers. Stuff that matters.
Re:Typesetting Engines: A Programmer's Perspective by nicoburns on Sunday November 10, 2024 @10:06PM (#42104297)
That graphic of the Indic glyph is very interesting! Definitely explains why shaping is so complex for those scripts!

Regarding CJK line-breaking, my understanding was that it was only Thai and closely related languages that required dictionary-based line breaking, and the Chinese/Japanese had simpler rules mostly concerning punctuation. But I'm not certain about that.

Re:Typesetting Engines: A Programmer's Perspective by doabell on Monday November 11, 2024 @02:51AM (#42105256)
Yes, for Chinese & Japanese, not breaking words is nice, but not always practical. Maybe if you’re writing a speech, so as not to mispronounce the word in the 5% of cases when that happens. The CSS line-break property pretty much sums up the actual rules. Some apps do ship a dictionary to allow for double-click selection of words. They don’t always get it right, though.
Re:Typesetting Engines: A Programmer's Perspective by BeFlatXIII on Monday November 11, 2024 @12:25PM (#42108790)
> That graphic of the Indic glyph is very interesting! Definitely explains why shaping is so complex for those scripts!

So _this_ must be why the Affinity suite doesn't properly render Devanagari, yet Inkscape can.