61
Views
9
Comments
Solved
How to get Roboto font for a screen

I have designed a screen and need to give font family as "RobotoBoldItalic". I added RobotoBoldItalic font file in resource folder. I tried assigning this to text , it's not reflecting. (The applied changes are not looking like Roboto family) 

I will attach the snapshots below for CSS Styles I have used.


2024-05-08 06-29-37
Prince Aadil Khan Panwar
Solution

i am attaching an oml for fonts changed. please have reference. 

check this link - here

please mark my reply as solution if you find it appropriate


fontchange.oml
UserImage.jpg
Priya Mv
Solution

I will attach a sample OML below. First expression should be as Roboto font family . If you see that second expression it's "Merriweather" font family . It is working correctly . But not sure why Roboto is not working.



FontDemo.oml
2024-05-08 06-29-37
Prince Aadil Khan Panwar
UserImage.jpg
Priya Mv

I tried using this same method, but still I cant able to get the output. As mentioned in above snapshots the same method I have used and also tried your ways. Still I can't able to achieve result for Roboto font family

2024-05-08 06-29-37
Prince Aadil Khan Panwar
2024-05-08 06-29-37
Prince Aadil Khan Panwar
Solution

i am attaching an oml for fonts changed. please have reference. 

check this link - here

please mark my reply as solution if you find it appropriate


fontchange.oml
UserImage.jpg
Priya Mv
Solution

I will attach a sample OML below. First expression should be as Roboto font family . If you see that second expression it's "Merriweather" font family . It is working correctly . But not sure why Roboto is not working.



FontDemo.oml
2024-05-08 06-29-37
Prince Aadil Khan Panwar

check i have added my OML above. go through this.

UserImage.jpg
Priya Mv

I checked your oml file. It's working now. Thanks for your help

2023-11-22 10-51-50
Jozy Sohail

Hi Priya,

In addition to what aadil shared you can also check this,

https://www.outsystems.com/forums/discussion/26831/adding-custom-fonts/

Hope it helps,

Thanks

UserImage.jpg
Priya Mv

I also tried using this same method, but still I cant able to get the output. As mentioned in above snapshots the same method I have used and also tried your ways. Still I can't able to achieve result for Roboto font family 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.