katsuji 0.7.0a0

· workbench

In katsuji, 0.7.0a0 changes how I break the dialogue into lines. For the moment only Final Fantasy IV uses it, and it's what gave the new dialogue layout of b6. It's an alpha, the real release comes when I find some time to test it on the other games.

Before, it tried to be too clever for its own good. It broke the sentence where its phrases part, spread it over a spare line when it was tight, or refitted it to a narrower line before turning the window. I did a blind test, a full line reads better than a bit of sentence alone on its line, so I threw all that out.

Now it fills the lines the way TeX fills a paragraph, with a cost for each break. One-letter words stay away from the end of a line, but it's a soft rule, and a short last line costs nothing anymore, unless it has only one word. The details are in the commits.

All notes