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

When installing a custom font in the system, the cursor moves right #1271

Open
Timofei302 opened this issue Jun 8, 2023 · 16 comments
Open
Labels

Comments

@Timofei302
Copy link

Timofei302 commented Jun 8, 2023

Bug description

When installing a custom font with an understated width (in my case Ubuntu Normal), in the ConnectBot terminal, the cursor begins to shift to the right, and this offset increases with each printed character.

Steps to reproduce

  1. Go to smartphone Settings
  2. Setup custom font
  3. Open ConnectBot and connect to SSH server
  4. See a problem

Screenshots

Screenshot_20230608-081556

Android device

  • Device: Tecno POVA 4 pro
  • OS: Android 12
  • ConnectBot Version: 1.9.9 F-Droid
  • Font: Ubuntu Normal
@Timofei302 Timofei302 added the bug label Jun 8, 2023
@umoenks
Copy link

umoenks commented Jun 8, 2023

The shift happens here even with Standard font.
Makes it reeeeaaaally hard to find the right spot when trying to fix a typo...

Device: Samsung Galaxy S22
ConnectBot version: 1.99-oss (F-Droid)
OS: Android 13
Font: Standard

@Timofei302
Copy link
Author

The shift happens here even with Standard font. Makes it reeeeaaaally hard to find the right spot when trying to fix a typo...

Device: Samsung Galaxy S22 ConnectBot version: 1.99-oss (F-Droid) OS: Android 13 Font: Standard

Hmm... Well, I have no problems with the standard font, either on my main phone or on my previous one (Samsung Galaxy A30s, Android 11).
Screenshot_20230610-091430

@DrDecagon
Copy link

I also have this issue with the standard font on both phones I use.
ConnectBot 1.9.9-oss
Android 12

@kunert7062
Copy link

All I did was select a 2 point larger font. Ever since, it's messed up as in OP's case, between 5-10 spaces between the cursor and the text. Did a complete uninstall and reinstall (deleting all used storage space and having to setup my connections again), and it's still messed up. I can't even find any way to change fonts, but no size helps, it's always there.

About to switch to Juice it's so annoying. Every other device is fine, just my main.

@kastaneda
Copy link

Same font issue on Samsung S22+. Anyone have an idea how to fix it?

@kastaneda
Copy link

Screenshot_20231008_135703_ConnectBot
That's screwed Midnight Commander. Note that width of bold font is OK.

@kastaneda
Copy link

Seems that's Samsung problem. I had SamsungOne font installed as a default system font; when I reverted the font setting to the 'standard' one, ConnectBot rendering becomes way better.

@Jilas
Copy link

Jilas commented Oct 9, 2023

Just experiencing this on a Moto G62 5g using stock font since upgrading to Android 13 (Android 12 was fine from what I can remember).

If there is any info you need or Ideas to fix this let me know.

Thanks.

@demetera
Copy link

demetera commented Nov 5, 2023

I have the same with my Moto g72 with the stock Android 12 and I didn't find any solution how to fix the issue.

In official handbook from Motorola there is a statement that you can set up your own font style, but I'm unable to find this option on my phone.

@Jilas
Copy link

Jilas commented Nov 10, 2023

I finally found the setting in Android 13. Tap and hold the screen, to bring up the widgets, and use the personalise option, and change it to a different font (in Android 11 it's in the settings, display, styles section).

I can live with a stock android font as it makes this look right.

Hope this helps the others that got stuck looking for this setting.

@ToniCipriani
Copy link

Same issue with the Motorola ThinkPhone, when using the "Square" Font.

@srvr-au
Copy link

srvr-au commented Nov 29, 2023

Fixed issue on moto g54 by making font bold. Changing font didn't help

@ekalin
Copy link

ekalin commented Jan 27, 2024

I also had this sproblem when using a non-standard font. I suppose an option to select a font for the terminal would solve this problem.

@hydrian
Copy link

hydrian commented Feb 5, 2024

This seems to related to a changes in android 12 and Material Design. Some phone's settings let you change font size and color but not actual font. My Moto G Stylus 5G 2023 is an example of this which came stock with Android 13. Screenshot attached. Screenshot_20240204-222232.png

I recommend adding the feature to set the font in-app. This will help fix the issues across multiple manufacturers.

@hydrian
Copy link

hydrian commented Feb 5, 2024

I finally found the setting in Android 13. Tap and hold the screen, to bring up the widgets, and use the personalise option, and change it to a different font (in Android 11 it's in the settings, display, styles section).

I can live with a stock android font as it makes this look right.

Hope this helps the others that got stuck looking for this setting.

My Moto G Stylus 5G 2023 (Android 13) doesn't have the personalize widget.

@hydrian
Copy link

hydrian commented Feb 5, 2024

Fixed issue on moto g54 by making font bold. Changing font didn't help

Enabling bold in system settings didn't fix my font probm on my Moto G Stylus 5G 2023.

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

No branches or pull requests