issues
search
rdkcentral
/
Lightning-SDK
SDK for Lightning framework
Apache License 2.0
130
stars
69
forks
source link
Feature/multiplefontsupport
#204
Closed
sandeep-vedam
closed
3 years ago
sandeep-vedam
commented
3 years ago
Following are the changes in this PR :
Added Multiple font support.
User need to add fonts in getFont method of application as below
for a font that has single src :
{ family: 'Great Vibes', url: Utils.asset('fonts/GreatVibes-Regular.otf') },
for a font has that has multiple sources :
family: 'ChunkFive', urls: [Utils.asset('fonts/ChunkFivePrint.otf'), Utils.asset('fonts/Pacifico.ttf')],
This fix is backward compatible.
Following are the changes in this PR :