NicolasConstant / sengi

Mastodon & Pleroma Multi-account Desktop Client
https://nicolasconstant.github.io/sengi/
GNU Affero General Public License v3.0
536 stars 35 forks source link

Add option for font adjustment #222

Open ahangarha opened 4 years ago

ahangarha commented 4 years ago

Depending on screen size and resolution, users may need to adjust font size. Also, they may prefer using a custom font.

It would be great to have these options available.


I already compile my own version with customized font (Vazir 13px)

NicolasConstant commented 4 years ago

Changing the font dynamically might not be trivial, unless I find a trick. :/

Changing the scaling ratio in the contrary (for OS that still don't provide factional dpi scaling...) would be easy on the electron build. I might implement this last one first.

ahangarha commented 4 years ago

I will check it too

yannicka commented 4 years ago

I made a PR (#286) in order to be able to zoom the application. Does this meet your needs?

ahangarha commented 4 years ago

It can help I guess but not sure.

Anyway zoom feature is already needed.

NicolasConstant commented 4 years ago

Scaling for me is a bit different than changing the font size only. So I wouldn't close this one when adding scaling support.

But of course it's still a nice addition!

nullbasis commented 3 years ago

Here to throw my support behind a font size option. It's incredibly small on my screen.

NicolasConstant commented 3 years ago

If you are using the desktop app you can increase the scale and the fonts by the same time:

image (hit Alt key to show the toolbar)

nullbasis commented 3 years ago

The tool bar was not intuitive at all, but it did let me zoom in, thanks. But Ctrl++ and Ctrl+- do nothing, which is why I assumed there was no way to zoom in.

NicolasConstant commented 3 years ago

The tool bar was not intuitive at all

It was a request from another user: to mimic the behavior of other tools that are doing the same (like Firefox). In one way it does make the app cleaner/more modern, on the other hand it's indeed less intuitive.

But Ctrl++ and Ctrl+- do nothing

I guess you're on laptop? I have issues with those layouts, I can't make it work properly and since it's an Electron issue, I can't fix it myself. 😕

ahangarha commented 3 years ago

Today I saw this issue on Sengi. The current font is not complete for Persian and also it looks like a serif font.

image

Wanted to open a new issue but thought maybe it can be related to this issue. If user can specify font in setting (something that is available locally) this issue can be handled. I assume it is not a very big issue to add a text input in setting and set its value as first font for body tag.

laerm0 commented 2 years ago

Hi, I know this issue is ooooold...but I don't see a way to activate the zoom feature on macOS. Screen Shot 2022-06-11 at 14 42 29

Also, no combo of CMD+CTRL+OPT+SHIFT+plus enlarges.

GrahamDo commented 1 year ago

I see that Ctrl++ and Ctrl+- work on Windows, but you have to use the ones on the numpad. The ones on the number row don't work yet.

rkiddy commented 1 year ago

Where are you seeing the View menus above? It is not (AFAIK) reachable from Settings in the app on Ubuntu. FYI, freshly installed, new user, sorry for newbie-isms. Perhaps we need a "old eyes" tag here. Between the tiny fonts and the really skinny columns, it is giving me a permanent squint... :--)

NicolasConstant commented 1 year ago

You can open it with the Alt key, normally. 🙂

rkiddy commented 1 year ago

Wow. I guess I had not bumped into another app that hid its menubar by default. But if that is the usual thing, then now I know that. :--) Much thanx.

NicolasConstant commented 1 year ago

It was a request of a linux user at first, it's true you can find this kind of behavior on Firefox for example. It's cleaner so I let it this way, but yes, it's not that common.

GrahamDo commented 1 year ago

I just want to re-iterate that the CTRL++/CTRL+- thing is just a workaround, not the ultimate solution. As I add more and more columns (either via adding more accounts, or via more issues being resolved that let more things be added as columns), I'm ultimately still going to need a way to control the column widths and font sizes within those columns independently.

I'd like the columns narrower so I can fit more of them on one screen, but the font inside those columns bigger, so I can read their contents without slamming my nose into the monitor.

Just pointing that out. :-)

ahangarha commented 1 year ago

⚠️ Sorry for linking to this issue by mistake!

ahangarha commented 1 year ago

This issue was made not just for font-size but for font family customization.

@GrahamDo I would recommend opening a new issue for column width adjustment.

GrahamDo commented 1 year ago

Originally, I did, I think. Nicolas closed it and said it was a duplicate of this one.

Unless I'm thinking of a different issue, I can't remember. I'll check.

NicolasConstant commented 1 year ago

We have quite a few issues about column width adjustment, like #373 #460 or #205. I try to keep duplicates as low as possible but I guess those already cover quite some use cases. 🙂

Lancaban commented 1 year ago

If you are using the desktop app you can increase the scale and the fonts by the same time:

image (hit Alt key to show the toolbar)

Older thread, but I just got Sergi today, wanted to point out that although you can hold alt to access this menu and click on Zoom etc. the Key commands/shortcuts listed next to those items "ctrl++" don't seem to work

GrahamDo commented 1 year ago

Thanks for pointing that out (and yes, Sengi is great), but I know about it already.

That changes the font size and column width/scaling simultaneously. I need to be able to change the font size independently of the column width and scaling of all the other controls.

ahangarha commented 1 year ago

@Lancaban

the Key commands/shortcuts listed next to those items "ctrl++" don't seem to work

I just checked this. It seems it works only with +/- on Numpad!
This needs improvement for sure.

Lancaban commented 1 year ago

I just checked this. It seems it works only with +/- on Numpad! This needs improvement for sure.

Ahh that explains it!! I'm using a ten-keyless keyboard!!!