News for hackers. Stuff that matters.
Re:Show HN: GodotOS: A Fake Operating System Interface Made ... by forrestthewoods on Thursday January 11, 2024 @08:08PM (#38962147)
> They handle specific subsets of text rendering across a wide range of languages.

People radically overstate how hard this is. Yes there’s a lot of cases. But God bless UTF-8 which provides a very clear path.

There are countless hobby text editors and libraries that handle literally all of this.

> I can't imagine implementing a screen reader without relying heavily on the OS....

Of course. You “just” need to use the documented OS APIs. It’s not trivial. But like it’s not that hard to use the APIs that lots of programs and libraries already use.

Re:Show HN: GodotOS: A Fake Operating System Interface Made ... by JeffSnazz on Thursday January 11, 2024 @08:13PM (#38962182)
> There are countless hobby text editors and libraries that handle literally all of this.

The thing is, there really aren't. Certainly not that I would characterize as a "hobby" text editor.

Re:Show HN: GodotOS: A Fake Operating System Interface Made ... by soraminazuki on Friday January 12, 2024 @07:28AM (#38967260)
> But God bless UTF-8 which provides a very clear path.

It's a very clear middle finger for CJK users if text rendering issues were dismissed because "we do UTF-8." Thanks to the Unicode Consortium, letters from CJK languages have shared code points in Unicode. This makes it very easy to have, for example, Chinese style fonts sprinkled over Japanese text. This kind of mixed styles are aesthetically inconsistent, unpleasant, and hard to read.

https://en.wikipedia.org/wiki/Han_unification

i18n is very much not about slapping on UTF-8 support and calling it a day.

Re:Show HN: GodotOS: A Fake Operating System Interface Made ... by forrestthewoods on Friday January 12, 2024 @02:23PM (#38972668)
> i18n is very much not about slapping on UTF-8 support and calling it a day.

Every major game engine has robust support for internationalization. It’s a strict requirement for professional video games.