2012年6月19日 星期二

xdvi helvetica ubuntu download


Warning: Cannot convert string "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-10-*-*-*-*-*-*" to type FontStruct


apt-get install xfs xfstt
apt-get install t1-xfree86-nonfree ttf-xfree86-nonfree ttf-xfree86-nonfree-syriac xfonts-75dpi xfonts-100dp
xset +fp /usr/share/fonts/X11/75dpi/
xset +fp /usr/share/fonts/X11/100dpi/

2012年6月10日 星期日

OpenCV-2.3.1a.tar.bz2

wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2
tar xvjf OpenCV-2.3.1a.tar.bz2
cd OpenCV-2.3.1
ls
mkdir release; cd release
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_NEW_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ..

 How do I set focus follows mouse?
 use gnome-tweak-tool

2012年3月22日 星期四

Failed to load AGL file

ftp://ftp.ccu.edu.tw/pub/tex/dviware/dvipdfmx/
1. Download latest dvipdfmx.tar.gz
2. Extract the two files glyphlist.txt pdfglyphlist.txt
3. Copy to /etc/texmf/dvipdfm

2012年2月25日 星期六

octave on debian



add the following packages:

epstool
octave-epstk
fig2dev

2012年2月11日 星期六

valgrind to check program

valgrind --tool=memcheck ./demo_matrix

2012年1月20日 星期五

update-alternatives --config java

update-alternatives --config java