sengi icon indicating copy to clipboard operation
sengi copied to clipboard

Add option for font adjustment

Open ahangarha opened this issue 5 years ago • 25 comments

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)

ahangarha avatar Feb 22 '20 15:02 ahangarha

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.

NicolasConstant avatar Feb 25 '20 01:02 NicolasConstant

I will check it too

ahangarha avatar Feb 26 '20 17:02 ahangarha

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

yannicka avatar May 24 '20 11:05 yannicka

It can help I guess but not sure.

Anyway zoom feature is already needed.

ahangarha avatar May 24 '20 16:05 ahangarha

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!

NicolasConstant avatar May 24 '20 20:05 NicolasConstant

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

nullbasis avatar Nov 23 '20 02:11 nullbasis

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)

NicolasConstant avatar Nov 23 '20 04:11 NicolasConstant

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.

nullbasis avatar Nov 23 '20 19:11 nullbasis

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. 😕

NicolasConstant avatar Nov 23 '20 21:11 NicolasConstant

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.

ahangarha avatar Jul 22 '21 10:07 ahangarha

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.

laerm0 avatar Jun 11 '22 18:06 laerm0

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.

GrahamDo avatar Dec 20 '22 15:12 GrahamDo

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... :--)

rkiddy avatar Jan 20 '23 19:01 rkiddy

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

NicolasConstant avatar Jan 21 '23 19:01 NicolasConstant

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.

rkiddy avatar Jan 24 '23 00:01 rkiddy

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.

NicolasConstant avatar Jan 24 '23 00:01 NicolasConstant

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. :-)

GrahamDo avatar Jan 24 '23 06:01 GrahamDo

⚠️ Sorry for linking to this issue by mistake!

ahangarha avatar Jan 24 '23 11:01 ahangarha

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.

ahangarha avatar Jan 24 '23 11:01 ahangarha

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.

GrahamDo avatar Jan 24 '23 12:01 GrahamDo

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. 🙂

NicolasConstant avatar Jan 25 '23 06:01 NicolasConstant

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

Lancaban avatar Apr 23 '23 18:04 Lancaban

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.

GrahamDo avatar Apr 24 '23 06:04 GrahamDo

@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.

ahangarha avatar Apr 24 '23 10:04 ahangarha

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!!!

Lancaban avatar Jun 02 '23 23:06 Lancaban