Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Tyler_Smith
Streaming Star

Font antialiasing?

Hi,

I have a component that contains a label and I am wondering if there is a antialias method that I can apply.
I perform scaling on the component and when I do so, the font gets all distorted.

Any guidance would be appreciated.
Tyler Smith
0 Kudos
17 REPLIES 17
joetesta
Roku Guru

Re: Font antialiasing?

would it be feasible to redraw the label with an updated font size after scaling?
aspiring
0 Kudos
Tyler_Smith
Streaming Star

Re: Font antialiasing?

I've tried this with no luck unfortunately.
Tyler Smith
0 Kudos
EnTerr
Roku Guru

Re: Font antialiasing?

perhaps you should be more specific what component and how scaling?
0 Kudos
Tyler_Smith
Streaming Star

Re: Font antialiasing?

I have created a custom scroller with "items" (a LayoutGroup with Group children). The "active" item has a scale of 1.0 and the "inactive" items are assigned a scale of 0.9. Within these items I am using a Label component. When the item is scaled to greater of less than 1.0 the Label text experiences a lot of distortion.
Tyler Smith
0 Kudos
_rossbower
Visitor

Re: Font antialiasing?

I am having this exact same issue. If I come up with a solution I'll post it. Hopefully someone can come to our aid!
0 Kudos
Tyler_Smith
Streaming Star

Re: Font antialiasing?

Hopefully they'll be a fix for the issue in the next Firmware release 🙂
If I figure anything out before then I'll be sure to drop a line.
Tyler Smith
0 Kudos
EnTerr
Roku Guru

Re: Font antialiasing?

"Don't" comes to mind as a workaround 🙂
As in "don't use scaling as a way to highlight the current item"
0 Kudos
Tyler_Smith
Streaming Star

Re: Font antialiasing?

Design team is asking for it, so I have to atleast try 🙂
Tyler Smith
0 Kudos
EnTerr
Roku Guru

Re: Font antialiasing?

"Tyler Smith" wrote:
Design team is asking for it, so I have to atleast try 🙂

Show them the result then: "Mission accomplished!" :mrgreen:

On a side note, how about using instead width, height and <font/> ?
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.