64位系统中,安装freetype时,出现这个问题。后来发现,此问题进出现在64位系统中。
修复方法:
cd zlib-1.2.3 //进入zlib目录
CFLAGS="-O3 -fPIC" ./configure //使用64位元的方法进行编译
make
make install
然后,进入freetyp...
分类:
其他好文 时间:
2014-05-02 23:50:23
阅读次数:
397
javaFX 可以通过css来设计界面。javafx中的css只是w3c css2.1规范的一个扩展和子集,并不完全支持所有的css特性。
javafx中的css元素必须有-fx-前缀。
一、介绍
java8中新增了javafx.css开放了css相关api。
选择器分类:
Type选择器:通过Node的getTypeSelector可以获取
id选择器:通过设定id=属性(注意这里的...
分类:
编程语言 时间:
2014-05-02 22:10:45
阅读次数:
1205
最近又实验安装了centos
5.8,装完后启动,界面太差了,看着费劲。百度一查,原来是分辨率的问题。下面是分辨率设置方法。“系统->管理->显示“(英文版本的是system->adminstaration->display),打开后,hardware的monitor
type 选择你的显示器对应类...
分类:
其他好文 时间:
2014-05-02 17:07:22
阅读次数:
533
HTML中META属性详解meta是html语言head区的一个辅助性标签。几乎所有的网页里,我们可以看到类似下面这段的html代码:
<head> <meta http-equiv= "content-Type " content= "text/html; charset=gb2312
">...
分类:
Web程序 时间:
2014-05-02 12:02:03
阅读次数:
314
Write an efficient algorithm that searches for
a value in anmxnmatrix. This matrix has the following properties:Integers in
each row are sorted from l...
分类:
其他好文 时间:
2014-05-02 10:41:53
阅读次数:
267
Given a sorted array and a target value, return
the index if the target is found. If not, return the index where it would be if
it were inserted in or...
分类:
其他好文 时间:
2014-05-02 09:54:11
阅读次数:
269
受朋友之托做了一个按键输入的LED计分显示屏。原理简单就不详细说明,功能也很简单,视频如下:
分类:
其他好文 时间:
2014-05-02 09:30:25
阅读次数:
281
const : 指定字段或者本地变量不能被修改。readonly :
声明一个字段只能在定义的时候赋值或者在构造函数中赋值。( readonly 可以有不同的值,取决于构造函数的值。 const
是一个编译时的常量,readonly是一个运行时的常量,example:public static re...
分类:
其他好文 时间:
2014-05-02 09:26:05
阅读次数:
304
最近在看Jdk6中String的源码的时候发现String的有个这样的构造方法,源代码内容如下:
public String(String original) {
int size = original.count;
char[] originalValue = original.value;
char[] v;
if (originalValue.length > size) {
...
分类:
其他好文 时间:
2014-05-02 06:34:52
阅读次数:
237
1.虚拟机vmware下linuxmessage日志异常信息如下:......Nov2519:33:17rac1tpvmlpd[4415]:devicetypenotsupportedNov2519:33:32rac1tpvmlpd[4521]:devicetypenotsupportedNov2519:33:47rac1tpvmlpd[4681]:devicetypenotsupportedNov2519:34:02rac1tpvmlpd[4831]:devicetypenotsu..
分类:
系统相关 时间:
2014-05-02 04:29:05
阅读次数:
602