# Setting font dynamically

**URL:** <https://forum.kirupa.com/t/setting-font-dynamically/260749>\
**Category:** Uncategorized\
**Created:** [May 19, 2008, 3:44pm UTC](https://forum.kirupa.com/t/setting-font-dynamically/260749 "2008-05-19T15:44:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stripedCyborg](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@stripedCyborg](https://forum.kirupa.com/u/stripedCyborg)\
**Post date:** [May 19, 2008, 3:44pm UTC](https://forum.kirupa.com/t/setting-font-dynamically/260749/1 "2008-05-19T15:44:32Z")

</div>

im not sure why but one of my dynamic text boxes does not display text when i embed the font - perhaps because its displaying a string of information(?). I thought about using html to set the font but Im not sure how…

this is my code:

slideCounter.text = String(e.currentIndex + 1) + “/” + slideshow.totalSlides;

Can someone help me do this?  
thanks!!!
