Unable to set font of snprintf

Unable to set font of snprintf

BY 28 Sep 2018 Native Application Development
Hey fellow programmers. I’m fairly new to Tizen and I programmed my first watchface. I am stuck on one thing though: I have quite a lot of snprintf that I’m using for time, battery, etc., but I’m unable to change the font of these. Changing font size, style, alignment and similar works, but I can’t change the font itself 🙁 Could you help me out with this please? I unfortunately can’t upload my project (only .txt allowed), you can find the project and a screenshot of what I’m trying to make it look like following this link: https://goo.gl/RGx4h6 The font I’d love to use can be found in res/font/ I am also encoutering a bug in which coming out of ambient mode I can only see the background, time, battery and date for a second (and then time_tick most likely kicks in, redrawing the screen entirely). You can find a short video of this behaviour in the link listed above as well. Maybe you have an idea on this as well? I don’t mind this bug too much, but it’d be nice to have it gone. Thanks in advance and Kind regards, Jakob P.s. Yes, I know most of this code is garbage, but I just wasn’t sure how to do a lot of things in Tizen (like switch cases and similar things) :/
Written by