fry19
2 months agoBinge Watcher
Embedded font fails to load / regression
In a similar problem I had a couple years ago with embedded images, my free screensaver BPOD started not displaying the embedded font and instead display another font (which I assume is the default font).
This screenshot shows the correct/embedded font used:
This screenshot shows when the embedded font is not used:
Similarly to the other problem I had, my screensaver has not been changed or updated in a very long time and has worked flawlessly until this font problem started appearing a few weeks ago.
For the record I am using code like this to use the font:
<Group id="copyrightGroup">
<Poster uri="pkg:/images/bg_bottom_screen_720p.png" width="1920" height="1080" loadSync="true"/>
<ScrollingLabel id="copyright"
color="0x999999ff"
scrollSpeed="50"
horizAlign = "left"
vertAlign = "bottom"
text="© pongasoft">
<Font role = "font" uri = "pkg:/fonts/DINCondensedBold.ttf" size = "36" />
</ScrollingLabel>
</Group>
It is just an embedded font.
It seems that it is a regression that was introduced in a Roku update since this has worked for years with no issue.