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 Answer
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.
Best Answer
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.
Best AnswerThanks 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 Answer
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.
Sorry, I will get the documentation updated. It's not available for those fonts.
Best AnswerDid that list ever get populated?
And, if so, where is it?
And, does it apply to SDK 5?
Best AnswerJon, we've been waiting for years now for just one alternate fixed-width font. Is there no way to prioritize this request?
Best Answer
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.