How to update system font with new font family?

CharlesR1
Kilo Guru

Hello all,

Simple requirement, but proving tricky!

I need to update the entire system font to Ubuntu, but this is not a font family that is in the system by default. I have created the following UI Script (taken from a previous post), but this does not change the font;

window.setTimeout(myFunction,'2000');      

function myFunction(){

      var sheet = document.createElement('style');

  sheet.innerHTML = "@import url('https://fonts.googleapis.com/css?family=Ubuntu');body {font-family: 'Ubuntu', sans-serif;}";  

      document.body.appendChild(sheet);

      }

Any ideas how to proceed?

Thanks in advance,

Charles

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Hi Charles,



Changing the system font for the default UI is not supported at this time. If you want to get in to customizing the look and feel to that level I encourage you to look at Service Portal as a way to give your end users a modern experience on the desktop and mobile.



If you feel this is something worth getting in the platform, I invite you to open an enhancement request! Our product managers DO listen.


Enhancement requests: Tell us how you would improve the ServiceNow product



View solution in original post

4 REPLIES 4

Chuck Tomasi
Tera Patron

Hi Charles,



Changing the system font for the default UI is not supported at this time. If you want to get in to customizing the look and feel to that level I encourage you to look at Service Portal as a way to give your end users a modern experience on the desktop and mobile.



If you feel this is something worth getting in the platform, I invite you to open an enhancement request! Our product managers DO listen.


Enhancement requests: Tell us how you would improve the ServiceNow product



Thanks Chuck - much appreciated. The request is actually for the main tool, rather than the end users - (I already changed the ess portal to Ubuntu by embedding the font in the style sheet).



I'll log the request right away .



Cheers,



Ch


Hi Chuck,

Is it possible to change the font in "iTextPDFUtil.FontFamily" include script?

sharma_sha
Tera Contributor

You need to create a new system property to add a new font family.Just refer to sys_properties and sys_properties_category. Refer this to add asystem property : http://wiki.servicenow.com/index.php?title=Adding_a_Property#gsc.tab=0