Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
kcnair
Level 7

Changing ttml fontsize from the SDK

We have a common ttml for both mobile and ott devices. The fontsize is being set as 16px which is optimal for mobile devices. But 16px is too small for Roku. Is there a way to override this from the App and increase the fontsize before displaying closed captions?

eg:

<style xml:id="defaultSpeaker" xmlns:_="http://www.w3.org/ns/ttml#styling" _:fontSize="16px" _:fontFamily="Arial" _:fontWeight="normal" _:fontStyle="normal" _:color="white" _:backgroundColor="black" _:textAlign="center" _Smiley Surprisedrigin="10% 85%" _:extent="80% 10%"></style>
              <style xml:id="defaultCaption" xmlns:_="http://www.w3.org/ns/ttml#styling" _:fontSize="16px" _:fontFamily="Arial" _:fontWeight="normal" _:fontStyle="normal" _:color="white" _:backgroundColor="black" _:textAlign="center" _Smiley Surprisedrigin="10% 85%" _:extent="80% 10%"></style>
0 Kudos