如何在Oracle MAF OEPE中包含自定义字体 [英] How to include custom font in Oracle MAF OEPE

查看:236
本文介绍了如何在Oracle MAF OEPE中包含自定义字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我完全不熟悉Oracle MAF,我正在使用OEPE环境来开发应用程序。我想在应用程序中包含原生字体文件(就像我们在android中所做的那样 - 将其包含在assets文件夹中,并在程序中引用该文件)。我没有找到任何有用的数据,除了这个链接
https://community.oracle .com / message / 12669272#12669272



不幸的是我对这个理解不够熟悉,请帮助我,我需要添加母语文本到头文件和一个内容文本int amf页面(而不是一个html页面),请帮助我....

请按照文章
http://docs.oracle.com/middleware/mobile201/mobile/develop-oepe/oepe-maf-ui-components.htm#CHDGIBAC
以阅读更多关于蒙皮。 p>

您可以使用该字体创建一个新的css文件,并覆盖该css文件中的默认css样式。然后在maf-skins.xml(ApplicationController / src / META-INF)文件夹中包含css文件。
请导入并运行SkinningDemo(新建> MAF示例),以查看默认皮肤如何扩展/更改。



谢谢


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....

解决方案

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

这篇关于如何在Oracle MAF OEPE中包含自定义字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆