News for hackers. Stuff that matters.
Re:Requirements for Japanese Text Layout by sylware on Sunday February 25, 2024 @07:53PM (#39506561)
I reread the descriptions of those c++ diarrheas which are those abomination of harfbuzz and icu, and indeed, this is a cluster f*ck of "text-layout-shaping" terminologies.

Until I get a plain and simple C99 implementation in the worse case scenario, I would stay away from those.

Re:Requirements for Japanese Text Layout by dougfelt on Sunday February 25, 2024 @10:29PM (#39507367)
Good luck finding a 'plain and simple' implementation that is as feature complete as either of those. International text layout is complex.
Re:Requirements for Japanese Text Layout by sylware on Monday February 26, 2024 @05:16AM (#39509537)
There was a unicode text shaper from Japan, a C library, l17n or something like that. But google is unable to find it again. Maybe it is gone.

But the right way to avoid like hell those c++ abominations (there are still people thinking coding c++ makes them smart, at best toxic, but no less worse) and start with roman script and incrementally add supported languages. I did venture in harfbuzz, there is no salvation, the coding is so much c++ brainf*cked better start clean and lean.

Re:Requirements for Japanese Text Layout by astrange on Monday February 26, 2024 @02:32AM (#39508501)
Funny enough, ICU was originally written in C++ by Apple for Pink/Taligent, then ported to Java, then ported back to C++.
Re:Requirements for Japanese Text Layout by sylware on Monday February 26, 2024 @05:11AM (#39509502)
Weird, I got before they started to enshitify ICU with c++, I remember having a plain and simple C version.