Open sinfullad opened 1 year ago
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.
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
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?
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
Finally, I added the Titilium-Web font (which is used by the official website in the articles)(382234f).
So now, you can choose between Android's default (Roboto), the official one and Titilium.
If needed, I can also add some older font, however, this setting is applied for the articles' font to improve readability.
Describe the bug Font setting is not using the font of the phone to show the article, but the default Android font.
Screenshots
Smartphone (please complete the following information):
Additional context I'm using the latest debug build that improved the setting page.