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

Add empty Character #55

Open
defini-tiv opened this issue Mar 9, 2021 · 3 comments
Open

Add empty Character #55

defini-tiv opened this issue Mar 9, 2021 · 3 comments

Comments

@defini-tiv
Copy link

defini-tiv commented Mar 9, 2021

Problem:
In some styles (e.g. 𝓉𝒽𝒾𝓈) chars are longer to the right than the actuel character border. This results in a cutted letter in some cases(e.g. in the whatsapp status or even the "style priview- coosing- bar" in the keyboard itself)
Screenshot_20210309-164958_Fennec

Solution:
Add the Char U+2800 to the keyboard. It is blank and gives the opportunity to insert it after the text manually if the last char is cutted, so it isnt. Maybe it would fit after longprssing the period?

@NA0341
Copy link
Contributor

NA0341 commented Jan 7, 2023

Good Suggestion!

Is there a particular reason why you suggested this character?
(U+2800 BRAILLE PATTERN BLANK)
Because if a plain space works too, this could just be added into a tips section within settings.

Another option to insert this character could be double tapping spacebar (with custom intervall time).


Implementation Suggestion

  1. »Fixes & Enhancements« section in settings.
  2. Subsection: Prevent cut text styles
  3. Introductory Text: »In some scenarios, text styles like 𝒯𝒽𝒾𝓈 𝒪𝓃ℯ get cut at the end due to having characters which expand beyond the border of the character box. To prevent this, you can assign a key action here to insert a special space character.«

-» Drop-down menu or something of the sort.

BUT: This isn't needed if a simple space can do the job just as well.

@defini-tiv
Copy link
Author

Trailing spaces are often cutted of. (E.g. whatsapp status)
Other characters like the suggested won't.

@TPS
Copy link

TPS commented Feb 16, 2024

Recommend (instead of U+2800, which is not a Unicode space character) to use 1 of

  • U+00A0 (Non-Breaking Space)
  • U+200{2↔9} (characters from the Unicode space block)
  • U+E0020 (Tag Space)

to not run afoul of various sanitizers for security purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants