Skip to content

Kerning/text-width issues in display of Japanese text #19354

@FioraAeterna

Description

@FioraAeterna

Describe the bug

I am trying to restore an old Japanese flash game so that it can be accessible with modern browsers. However, the text rendering is fairly off in a number of ways compared to Adobe Flash, resulting in text often overflowing the textbox, like this:

Furthermore, the kerning is very weird, which makes it a bit painful to read, even ignoring the issue with the text sometimes clipping. By contrast, Flash looks like this:

It may not be obvious to someone who can't read Japanese, but the text in the Ruffle version is weirdly squished, with some letters horizontally shrank relative to others in a strange way.

Expected behavior

I expect the text rendering to be similar to Adobe Flash, or at least similar to "typical Japanese text". Ideally, it shouldn't clip over the edge, as well.

Content Location

https://fioraaeterna.github.io/ar-tonelico.jp/1avs/cosmosphere.html

Affected platform

Browser's extension

Operating system

macOS Sonoma 14.7

Browser

Chome 131

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdevice-fontsIssues related to device fonts. They are usually very system-dependent.textIssues relating to text rendering/input

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions