Hi there,
Are you using 4.22 version of the js api? We have an issue where the text symbols are not honoring the bolded fonts. This issue will be fixed in our next release. However, the font size and weight will be honored without issues if font family is specified as @Noah-Sager pointed out.
This test app uses version 4.22 and you can see that font weight and sizes being honored. https://codepen.io/U_B_U/pen/XWWJwxq?editors=1000
At 4.23, your code should work as expected.
Yes, if i add font family, it's worked.
Thank you for your answer!
Does it work if you add a valid font family? I assume that's the missing piece.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.