rparkins999 / AndroidSecondsClock

Android clock with seconds, both widget and fullscreen
GNU General Public License v3.0
7 stars 1 forks source link

Manage text style #10

Open TonyWhite opened 1 year ago

TonyWhite commented 1 year ago

It would be nice to be able to manage the text style:

rparkins999 commented 1 year ago

Do you want to change the text style for the widget or the full screen clock? For the widget it isn't possible: you can only have the system font. For the full screen clock, it is in principle possible to set the font and I do already give you one choice: system font or simulated seven segment. It would be a lot of extra UI to set the font, and I'm not sure that it's worth while. Giving the user too many choices to make just makes it harder to configure. The full screen clock isn't a presentation document: it's just intended to tell you the time at night. Most hardware clocks don't give you any choices at all, except possibly some variation in brightness.

Why do you want to force new lines? The app goes to a lot of trouble to lay out its display (widget or full screen clock) to make effective use of the space available to display the information that you ask it to display, and it took me a long time to get it right. Giving the user more freedom to set the line breaks would just force every user to spend as much time as I did working out how to get the display right.

If you can produce a real example of where the app puts in a line break when it shouldn't, or doesn't put in a line break when it should, I'll consider adjusting the algorithm that it uses. However I'm not going to even try to fix the case where your device's home screen launcher doesn't tell the widget when the screen orientation changes. If that is your problem, you can install a better home screen launcher: there are plenty of free open source ones.

rparkins999 commented 1 year ago

I still can't see a way to change the font family in the widget. It might in fact be possible to set italic or bold using font variations, but it's a lot of work to determine what variations your system font offers (it doesn't have to offer any at all) and display a suitable UI for the user to select them.

I wrote Android Seconds Clock because I wanted a seconds clock on my home screen and I wanted a better full screen night clock than any Open Source one that I could find. It does what I want it to do, and I tried to make it reasonably configurable. If someone finds a bug, I'll fix it, but if you want features that I don't need, your best option is to fork it and add them yourself.

TonyWhite commented 1 year ago

I understood