Skip to content

[bug] Can't display del-confirm normally (fr-FR, pt-BR) (v0.5.0+) #313

Description

@YuevUwU

Basic Info

Reporter: @MrLemAud
Version: v0.5.0 - v0.6.2
Expected: Like page label, display as glyph in bold.ttf or phigros.ttf. And the chars which exceeds the dialog box (max_width) should be discarded.
Main Discussion: [Discord Thread]

When and What will it happen?

  • When phira::scene::Dialog.title contains char that bold.ttf doesn't support and is within the box that should be displayed.
  • Regardless of whether it is multibyte in UTF-8, both or a mixture of them will cause this bug.
  • The position of undisplayable char within the box would effect length and content.
  • For only one undisplayable char, the closer to the right border, the fewer chars would be displayed, and vice versa.

Expected

phira-linux-fr-Fr-len=34

v0.6.2

phira-windows-v0.6.2-fr-Fr

Some Possible Fixes

Mr_LemAud: (The following "I" refers to Mr_LemAud)

  1. remove all accents, they aren't that much important to French speakers either way, but it'll be just putting the problem under the rug
  2. Fix this proper, but that'll take time
  3. Ignore it cause I can definitely still understand what it says (I do not recommend)

YuevUwU:

  1. Complete bold.ttf characters for title display.
  2. Fix it for future uses. (if possible)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions