@font-face是css3中定义字体的规则. 首先,在使用weui时,在Chrome.Firefox下没有问题,但是在IE下提示“font-face 未能完成 OpenType 嵌入权限检查.权限必须是可安装的”,如下图: 经过一番查找资料,解决方法如下: 1. 将@font-face中,字体的base64编码转换为字体文件. a)访问http://www.motobit.com/util/base64-decoder-encoder.asp ,将base64编码转换为ttf文件,这里命名为…
Win7系统中提示:本地无法启动MySQL服务,报的错误:1067,进程意外终止的解决方法. 在本地计算机无法启动MYSQL服务错误1067进程意外终止.这种情况一般是my.ini文件配置出错了1.首先找到这个文件: Win7下的默认安装路径C:\ProgramData\MySQL\MySQL Server 5.6\my.ini打开此文件找到:default-storage-engine=INNODB将default-storage-engine的值改为:MYISAM.2.但是还有问题:因为以前…
Android Studio中提示:Project SDK is not defined 2015 年 4 月 1 日 下午 9:04crifan已有2209人围观我来说几句 [背景] 之前用Android Studio去打开一个项目后,结果遇到提示: Project SDK is not defined 如图: [解决过程] 1.试着去点击Setup SDK,出现设置对话框: 然后就卡死了好一会. 然后就好了,就没了这个提示了. [总结] 好像是Android Studio对于刚使用的时候,没…
项目中提示找不到class,跟命名规则有关系RulesConfigDao,而非Mapper!…
安装过程中提示报错   点击确定后 安装程序会接着回滚,又提示报错如下       Error 1935的解决方法是下载一个微软的补丁. http://support.microsoft.com/default.aspx?scid=kb;en-us;946414   安装完毕后,会重启 再次安装,就不会有上面的2个错误了.  (也就是一个补丁,解决了2个报错问题) 当然有的通知是这样解决问题的,参考如下 http://www.cnblogs.com/aehyok/archive/2013/11/…
tomcat启动过程中提示: org.apache.catalina.webresources.Cache.getResource Unable to add the resource at xxx to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the ca…
LoadingView.h #import <Foundation/Foundation.h> @class MBProgressHUD; @interface LoadingView : NSObject @property (nonatomic, retain) MBProgressHUD *HUD; + (LoadingView *)sharedInstance; /** * 加载中提示框 * * @param title 标题 * @param superView 父View */ -…
Font Awesome 在网站开发中,经常用到.今天介绍如何在WPF应用程序中使用Font Awesome . 如果是自定义的图标字体,使用方法相同. 下载图标字体 在官方网站或github上下载资源 http://fontawesome.io/#modal-download https://github.com/FortAwesome/Font-Awesome 解压下载的文件(我是在github上下载的源码),我们要使用的是其中css和fonts文件夹中的内容 在项目中加入字体 新建WPF应…
设置EditText控件中提示消息hint的字体颜色和大小 1.设置字体大小 代码例: public void init(){ hint= (EditText) findViewById(R.id.in_login); // 新建一个可以添加属性的文本对象 SpannableString ss = new SpannableString("请输入用户名"); // 新建一个属性对象,设置文字的大小 AbsoluteSizeSpan ass = new AbsoluteSizeSpan(…
第一种方法:利用tooltip 里面的配置项 默认就会有写显示 第二种方法:利用formattet回调函数 返回我们想要显示的信息 formatter : function (params) { var value = (params.value + '').split('.'); value = value[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g, '$1,') + '.' + value[1]; return params.seriesName…