This little thread to share my experience with FontAwesome and WinCC OA. B)
FontAwesome is a complete set of moderns and beautiful icons available on http://fontawesome.io/icons/
My need is to make buttons with a centered icons in a toolbar :
> To do that, first step : i used the TTF file available on https://github.com/FortAwesome/Font-Awe ... ebfont.ttf
> Second step : install TTF (right click on file)
> Third step : i copied the char from the Windows charmap into the button text (do not forget to set the property font to FontAwesome)
It works like a charm ...
... but now, i think to Mobile UI (or Remote UI) and a possibility to embed the TTF Font into the WinCC OA Project.
Please, anybody know a solution to load TTF fonts from local project folder when UI startup ?
I think that should be a useful and if there's no solution with the actual version, maybe that should be an evolution for the future versions.
Thanks a lot for your responses.
How to use FontAwesome with WinCC OA 3.15 ? (the BEST iconic font toolkit)
- amichon
- Posts:93
- Joined: Sat May 17, 2014 3:49 pm
How to use FontAwesome with WinCC OA 3.15 ? (the BEST iconic font toolkit)
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: How to use FontAwesome ? (the BEST iconic font toolkit)
To use a custom font, define this in your config file:
[ui]
applicationFont = "FontAwesome.ttf"
The font file mist reside in the data dir of your project.
[ui]
applicationFont = "FontAwesome.ttf"
The font file mist reside in the data dir of your project.
- amichon
- Posts:93
- Joined: Sat May 17, 2014 3:49 pm
Re: How to use FontAwesome ? (the BEST iconic font toolkit)
Thanks
- ewoenne
- Posts:62
- Joined: Thu May 12, 2016 10:35 am
Re: How to use FontAwesome ? (the BEST iconic font toolkit)
Hi, will this work in the webclient as well? We would really like to keep using FontAwesome.
- amichon
- Posts:93
- Joined: Sat May 17, 2014 3:49 pm
Re: How to use FontAwesome ? (the BEST iconic font toolkit)
what do you call webclient ? Is it ULC-UX or the old webclient ?
- ewoenne
- Posts:62
- Joined: Thu May 12, 2016 10:35 am
Re: How to use FontAwesome ? (the BEST iconic font toolkit)
The old webclient (the one that downloads a plugin)
- amichon
- Posts:93
- Joined: Sat May 17, 2014 3:49 pm
Re: How to use FontAwesome ? (the BEST iconic font toolkit)
hmm, i don't know if it works. It depends only if the plugin download the TTF file which is configured by the "applicationFont" key in config file.
Maybe can you try and give the response on this thread.
Maybe can you try and give the response on this thread.
- willw
- Posts:22
- Joined: Thu Nov 19, 2015 4:40 pm
Re: How to use FontAwesome ? (the BEST iconic font toolkit)
Nope - this doesn't work with the plugin (writes Ellen's colleague).
Boo hoo.
Thanks for the suggestion, though.
Boo hoo.
Thanks for the suggestion, though.
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: How to use FontAwesome ? (the BEST iconic font toolkit)
Hi Will,
Is your data folder copied when using Webclient? You can check your cache to see if font has been forwarded,. Basically a web client is a classic UI so it should work.
Is your data folder copied when using Webclient? You can check your cache to see if font has been forwarded,. Basically a web client is a classic UI so it should work.
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: How to use FontAwesome ? (the BEST iconic font toolkit)
As you did nowhere mention the vesion you are using: the config entry is only implemented since 3.15