Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Replacing fonts - problem after deploying on SAP

$
0
0

I'm writing SAPUI5 application, where original fonts need to be replaced with custom ones. I overwrote them in CSS, providing path to ttf files, and on localhost it all works fine. Unfortunatelly, the problem arouse while I was trying to export application to SAP server (using eclipse plug-in). All files were correctly uploaded apart from ttf files. It indicated error with line endings (CR+LF), but converting line endings in ttf files always rendered faulty files (unable even to open). So I tried to upload fonts with SAPGui to MIMEs folder, but requests for ttf files always failed with 404. I tried several (correct) paths, and changing MIME-type, but it didn't help. Finally, I used transaction SE73 to upload font to SAP, but after uploading, they seem invisible for SAPUI5 applications. Right now I don't have any ideas what should I do. What's more, I cannot use Theme Designer, because my application requires 3 sets of fonts, but Theme Designer allows me to use only one. Any ideas how I can use my ttf fonts on SAP server?


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>