1
1
Fork
You've already forked BoxBox
0

Font setting is not using the phone's selected font for articles #15

Closed
opened 2022年11月04日 10:06:52 +01:00 by sinfullad · 4 comments
sinfullad commented 2022年11月04日 10:06:52 +01:00 (Migrated from github.com)
Copy link
  • [✓] I use the latest GitHub release of the app.

Describe the bug
Font setting is not using the font of the phone to show the article, but the default Android font.

Screenshots
Screenshot_20221104_075322.jpg
Screenshot_20221104_074319_Settings.jpg

Smartphone (please complete the following information):

  • Device: [Samsung A33 5G]
  • OS: [Android 12, OneUI 4.1]

Additional context
I'm using the latest debug build that improved the setting page.

- [✓] I use the latest GitHub release of the app. **Describe the bug** Font setting is not using the font of the phone to show the article, but the default Android font. **Screenshots** ![Screenshot_20221104_075322.jpg](https://user-images.githubusercontent.com/67637299/199933669-a85829ca-f755-4dbb-8069-ae3040d3e56a.jpg) ![Screenshot_20221104_074319_Settings.jpg](https://user-images.githubusercontent.com/67637299/199933753-4fe6e377-700f-4674-9ab1-35021556b65f.jpg) **Smartphone (please complete the following information):** - Device: [Samsung A33 5G] - OS: [Android 12, OneUI 4.1] **Additional context** I'm using the latest debug build that improved the setting page.
BrightDV commented 2022年11月04日 11:06:20 +01:00 (Migrated from github.com)
Copy link

Sadly, this is a limitation on Flutter's side. It uses the Roboto font by default (which is often used on Android devices), not the system's font.

Related: flutter/flutter#48381.

Sadly, this is a limitation on Flutter's side. It uses the Roboto font by default (which is often used on Android devices), not the system's font. Related: flutter/flutter#48381.
sinfullad commented 2022年11月04日 11:41:15 +01:00 (Migrated from github.com)
Copy link

Sadly, this is a limitation on Flutter's side. It uses the Roboto font by default (which is often used on Android devices), not the system's font.

Related: flutter/flutter#48381.

That's a shame, I don't know much about Flutter, it can't detect what font the system is using nor the type of fonts that the phone has in storage?

Maybe you can add a list of fonts to customize instead?

After looking around a bit, maybe you can add old fonts that F1 used to use for their TV graphics like:
Benton Sans 2015-2017
DIN 1451 from 2010-2014
Frutiger 55 from 2004-2009
Futura from 1994-2003

Could be potential idea for themes too if you want to

> Sadly, this is a limitation on Flutter's side. It uses the Roboto font by default (which is often used on Android devices), not the system's font. > > Related: flutter/flutter#48381. That's a shame, I don't know much about Flutter, it can't detect what font the system is using nor the type of fonts that the phone has in storage? Maybe you can add a list of fonts to customize instead? After looking around a bit, maybe you can add old fonts that F1 used to use for their TV graphics like: Benton Sans 2015-2017 DIN 1451 from 2010-2014 Frutiger 55 from 2004-2009 Futura from 1994-2003 Could be potential idea for themes too if you want to
BrightDV commented 2022年11月04日 13:43:13 +01:00 (Migrated from github.com)
Copy link

That's a shame, I don't know much about Flutter, it can't detect what font the system is using nor the type of fonts that the phone has in storage?

I did some research and found a workaround to add it but it is not very convenient and it needs a lot of work to implement it.

Maybe you can add a list of fonts to customize instead?

After looking around a bit, maybe you can add old fonts that F1 used to use for their TV graphics like:
Benton Sans 2015-2017
DIN 1451 from 2010-2014
Frutiger 55 from 2004-2009
Futura from 1994-2003

Could be potential idea for themes too if you

I don't think this is a needed feature right now given the amount of time required to add it, and now I plan to add more widgets of the articles and improve the hall of fame.
Maybe I could add some retro themes with the old fonts, I will think about it...
Also, where did you find these fonts?

> That's a shame, I don't know much about Flutter, it can't detect what font the system is using nor the type of fonts that the phone has in storage? I did some research and found a workaround to add it but it is not very convenient and it needs a lot of work to implement it. > Maybe you can add a list of fonts to customize instead? > > After looking around a bit, maybe you can add old fonts that F1 used to use for their TV graphics like: > Benton Sans 2015-2017 > DIN 1451 from 2010-2014 > Frutiger 55 from 2004-2009 > Futura from 1994-2003 > > Could be potential idea for themes too if you I don't think this is a needed feature right now given the amount of time required to add it, and now I plan to add more widgets of the articles and improve the hall of fame. Maybe I could add some retro themes with the old fonts, I will think about it... Also, where did you find these fonts?
sinfullad commented 2022年11月04日 13:50:35 +01:00 (Migrated from github.com)
Copy link

Maybe I could add some retro themes with the old fonts, I will think about it...
Also, where did you find these fonts?

This is the best I can find with some quick searches 😅
https://gprejects.com/forum/viewtopic.php?f=4&t=6159
https://github.com/ktomov/old-fonts-in-f1

> Maybe I could add some retro themes with the old fonts, I will think about it... > Also, where did you find these fonts? This is the best I can find with some quick searches 😅 https://gprejects.com/forum/viewtopic.php?f=4&t=6159 https://github.com/ktomov/old-fonts-in-f1
Sign in to join this conversation.
No Branch/Tag specified
main
official-api-support
web-proxy
livetiming-archive
weblate/weblate-box-box-translations
comradekingu/patch-3
v0.3.0
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.0
v0.0.4
v0.0.3
v0.0.2
v0.0.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BrightDV/BoxBox#15
Reference in a new issue
BrightDV/BoxBox
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?