11-23-2017 07:31
11-23-2017 07:31
Hi,
I've checked the system fonts that are available and found no font with monospaced digits.
Is there a plan to add such font or to use custom fonts?
Answered! Go to the Best Answer.
Best Answer11-23-2017 11:07
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
11-23-2017 11:07
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
11-26-2017 06:21
11-26-2017 06:21
Thanks for information, but there are undocumented limitations.
It's not monospaced in the following fonts: Colfax, Fabrikat und Tungsten.
Will it fixed in the future?
Here is my short test project for reproducing:
resources/styles.css
.background {
viewport-fill: #000080;
}
.text {
fill: white;
font-size: 32;
font-family: Colfax-Light;
text-anchor: start;
text-length: 10;
}resources/index.gui:
<svg class="background"> <text class="text" id="line1" x="0" y="20%"/> <text class="text" id="line2" x="0" y="40%"/> </svg>
app/index.js:
import document from "document";
document.getElementById("line1").text = "a:\x10\x10\x10\x10\x10\x10\x10\x10";
document.getElementById("line2").text = "a:\x11\x11\x11\x11\x11\x11\x11\x11";Result:
Best Answer11-28-2017 15:47
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
11-28-2017 15:47
Sorry, I will get the documentation updated. It's not available for those fonts.
Best Answer12-08-2020 02:18
12-08-2020 02:18
Did that list ever get populated?
And, if so, where is it?
And, does it apply to SDK 5?
Best Answer03-04-2022 03:46
03-04-2022 03:46
Jon, we've been waiting for years now for just one alternate fixed-width font. Is there no way to prioritize this request?
Best Answer03-04-2022 04:00
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
03-04-2022 04:00
I think most people just use Fitfont now. https://github.com/gregoiresage/fitfont
Best Answer03-04-2022 04:03
03-04-2022 04:03