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

[FEATURE REQ]: Globally scalable fonts #1145

Closed
elrod16 opened this issue Dec 19, 2021 · 5 comments
Closed

[FEATURE REQ]: Globally scalable fonts #1145

elrod16 opened this issue Dec 19, 2021 · 5 comments

Comments

@elrod16
Copy link
Contributor

elrod16 commented Dec 19, 2021

Basically what the titles says. It'd be handy to be able to scale any and all (or most at least) texts on screen from a central setting.

@gfwilliams
Copy link
Member

I forget where but there was a discussion about this somewhere else. While in theory it's a good idea, in practice I think most apps wouldn't handle it well (as it's unlikely most authors will test for most sizes). It may make sense to have an option in settings that app authors could choose to honour though.

@elrod16
Copy link
Contributor Author

elrod16 commented Jan 4, 2022

Understandable. Sometimes I forget that the Bangle 2 is just the latest model of an already long existing platform (espruino) and that you have to weigh all the baggage that brings.

Would something like scaling for certain text elements, like the generic prompts the interpreter provides and full screen notifications be something more feasible? There's just some types of info that you want to be able to see with a quick glance, ya know? A good example of what I mean would be how, for the most part, a Pebble Dev could style their app however they wanted, but certain features like menus or text ran through the OS notification system would obey the user defined text size.

Also, I just saw your reply in the corruption thread. Got buried in my email. I'll send that stuff over when I'm back at a computer.

@gfwilliams
Copy link
Member

like the generic prompts the interpreter provides and full screen notifications be something more feasible?

I think so, yes. Right now I'm thinking maybe we can add something like:

g.setSmallFont();
g.setMediumFont();
g.setLargeFont();

Which would allow apps to do g.setFont("Small")/etc.

Personally I'm not sure you can provide too many useful/good scaling options with the built-in fonts, but having the named fonts means you can just install a 'large font' app that'll provide its own set of fonts for all applications. That should be really neat as it allows you to install (for instance) a themed set of fonts of different sizes.

@rigrig
Copy link
Contributor

rigrig commented Mar 24, 2022

Does it really make sense to globally scale fonts though?
For the messages app, sure: it needs to handle messages which won't fit anyway, so picking a font size makes sense.

But almost all other apps just show some predefined texts, so why shouldn't they just always use the largest font size that will fit?

@gfwilliams
Copy link
Member

Closing this - I think realistically it can be handled by #3109 which is almost there now.

Apps would 100% have to opt in to this anyway as most of them expect fonts to be a fixed size

@gfwilliams gfwilliams closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants