Modifying the font settings file for imported applications
To ensure that your imported mobile app is displayed properly with the Mobile – Slide Up layout, you customize the icon font for the native elements of your mobile app. After you create an empty font settings file, modify the fonts list.
When you import a mobile app that uses UI Kit in a version that is earlier than version 14 and choose not to upgrade the UI Kit, you must create apyMobileFontsList
file in the
context of your application, and then configure the font settings.- Open the pyMobileFontsList text file rule that you created.
- In the pyMobileFontsList rule, add a JSON array, according to the
following template:The parameters define the following attributes:
{ url: "myAppName/uikit13-icons.ttf", fontFamily: "pega-uik-13", type: "icons", css: "webwb/py-icons.css" }
url
- Defines the URL address of the font file.
fontFamily
- Defines the name of the font. You obtain this value when you convert the font file.
type
- Defines the type of the font.
css
- Defines the name of the CSS sheet that uses the icon font. You obtain this value when you convert the font file.
- Click Save.
Previous topic Creating the font settings file for imported applications Next topic Configuring search in mobile apps