Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Enhancement: Rework the Alphabet class #75

Open
7 tasks
EliteMasterEric opened this issue Nov 24, 2021 · 3 comments
Open
7 tasks

Enhancement: Rework the Alphabet class #75

EliteMasterEric opened this issue Nov 24, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@EliteMasterEric
Copy link
Owner

There are many improvements that can be made to the custom text element class.

  • Refactor the whole class (it's kind of a spaghetti pile right now).
  • Add the capability to select between different spritesheets.
  • Refurbish the existing spritesheet (create a brand new spritesheet to replace the old one, move bold to a separate sheet).
  • Add support for numbers and important symbols in bold text.
  • Add support for diacritics (in both languages)
  • Use Unicode to split and appropriately parse text with diacritics.
  • Properly render diacritics
@EliteMasterEric EliteMasterEric added the enhancement New feature or request label Nov 24, 2021
@isakube
Copy link

isakube commented Nov 24, 2021

  • Refactor the whole class (it's kind of a spaghetti pile right now).

Loosely based off FlxTypeText LOOOOOL

  • Add the capability to select between different spritesheets.

Oh cool. pass a font parameter on creation and pick the sprites from there

  • Refurbish the existing spritesheet (create a brand new spritesheet to replace the old one, move bold to a separate sheet).

Okay

  • Add support for numbers and important symbols in bold text.

Yes

  • Add support for diacritics (in both languages)

Yep

  • Use Unicode to split and appropriately parse text with diacritics.

uhh

  • Properly render diacritics

ok

@EliteMasterEric
Copy link
Owner Author

The Unicode splitting one essentially means to logically split up symbols like é into an e and a ` symbol. Then when rendering it, move the symbol back one character, resulting in a composite symbol.

Basically I don't want to require some special substitution code to render a Unicode character, instead it should "just work".

Also:

  • Add support for flag icons maybe?

@isakube
Copy link

isakube commented Nov 24, 2021

The Unicode splitting one essentially means to logically split up symbols like é into an e and a ` symbol. Then when rendering it, move the symbol back one character, resulting in a composite symbol.

Basically I don't want to require some special substitution code to render a Unicode character, instead it should "just work".

ok

  • Add support for flag icons maybe?

yes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants