How to include custom font in Oracle MAF OEPE

允我心安 提交于 2019-12-11 07:04:27

问题


I am completely new to the Oracle MAF, I am using the OEPE environment to develop the app. I want to include native font files in the application (Like what we do in android - include it in assets folder and refer to the file in program). I failed to find any useful data about it except this link https://community.oracle.com/message/12669272#12669272

unfortunatly I am not enough familiar with this to understand, please help me i need to add native language text to the header and for a content text int the amf page( not an html page ), please help me....


回答1:


Please follow the article at http://docs.oracle.com/middleware/mobile201/mobile/develop-oepe/oepe-maf-ui-components.htm#CHDGIBAC in order to read more about skinning.

You can create a new css file with the font and override the default css style in a that css file. Then include the css file in maf-skins.xml (under ApplicationController/src/META-INF) folder. Please import and run the SkinningDemo (New > MAF Examples) to see how the default skin can be extended/altered.

Thanks



来源:https://stackoverflow.com/questions/28695716/how-to-include-custom-font-in-oracle-maf-oepe

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!