Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Servo does not break Thai text line properly. #13088
I tested on Servo a0f45c6 on Ubuntu 16.04. The text "การบ้านการบ้านการบ้าน" is supposed to be split but it isn't.
But it is supposed to look like this:
The page for testing is here:
Thai line breaking require language-specific dictionaries or text analysis. UAX#14 says:
Thai line breaking is implemented by libraries like libthai. To support this in Servo, we would need either a Rust binding to an existing library, or a Rust implementation of the algorithm. Then we would need to call it from