Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AGS 4: deprecate ASCII text mode in games #2553

Open
ivan-mogilko opened this issue Oct 18, 2024 · 0 comments
Open

AGS 4: deprecate ASCII text mode in games #2553

ivan-mogilko opened this issue Oct 18, 2024 · 0 comments
Labels
ags 4 related to the ags4 development context: editor assets related to input files for editing the game context: game logic res: in consideration

Comments

@ivan-mogilko
Copy link
Contributor

ivan-mogilko commented Oct 18, 2024

The proposal is to deprecate ASCII / ANSI text mode, and have strictly Unicode (UTF-8) mode in games.
ASCII is too restrictive. Removing ASCII mode will simplify engine code, and reduce accidental confusion when user chose wrong text mode.

The only known downside of not having it is related to WFN fonts: there's simply not a lot of available Unicode-compatible WFNs around (if any at all). Whether this is too serious issue to cut ASCII mode completely remains a question. If it is, then this may be postponed until there are better tools around.

Likely we'll have to provide updated bitmap font editors that can assign glyphs into unicode indexes (e.g. see updated FontEdit).
Perhaps, it will be quite worth to have a tool that automatically converts a ANSI-compatible WFN into Unicode-compatible, simply by moving glyphs to new indexes (except it will need to know original ANSI code page).

EDIT: another potential issue is SpriteFont plugin. I don't remember how it manages glyph indexes, but if it's similar to WFN, then it will have same trouble and will require updating as well.

@ivan-mogilko ivan-mogilko added ags 4 related to the ags4 development res: in consideration context: editor assets related to input files for editing the game context: game logic labels Oct 18, 2024
@ivan-mogilko ivan-mogilko added this to the 4.0.0 (preliminary) milestone Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ags 4 related to the ags4 development context: editor assets related to input files for editing the game context: game logic res: in consideration
Projects
None yet
Development

No branches or pull requests

1 participant