Friday, November 23, 2012

How to read Chinese on Nook 2

Even though I am a Kindle fan, this year nook simple touch is only $49.00 from Target comparing to the regular $99.00. My wife decided to buy me one for fun.

Since nook is not selling in Chinese market officially. The Chinese support is not natively.

1. Download Sigil from: http://code.google.com/p/sigil/
2. Open a .epub file. select "Styles", click the .css file.
3. MOdify the @font-face section from :
@font-face {
font-family:"cnepub";
src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf), url(res:///tt0011m_.ttf);
}
to: 
@font-face {
font-family:"cnepub";
src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf), url(res:///tt0011m_.ttf),
url(res:///system/fonts/DroidSansFallback.ttf);
}
4. Copy the modified .epub file into your nook.
5. Open the file in nook. Click the pages like 5/233, select "text" -> check "Publisher Defaults".
Then you will notice the Chinese characters are showing up!!

Reference webpages:
1. http://www.hi-pda.com/forum/viewthread.php?tid=857877&extra=page%3D1
2. http://www.hi-pda.com/forum/viewthread.php?tid=812236
3. http://www.hi-pda.com/forum/viewthread.php?tid=800133
4. http://www.by-smart.com/forum.php?mod=viewthread&tid=2000

Wednesday, November 21, 2012

Install Emacs key-stroke in VS 2010 professional

Emacs key stroke will save operator's time for leaving keyboard fundamental key positions. This is critical for improving programmers' productivity.

Visual Studio for Emacs users might be a pain at the first glance due to the keystroke differences. This article will list the necessary information of how to utilize Emacs keystrokes in VS2010 Pro.

1. Go webpage: http://visualstudiogallery.msdn.microsoft.com/09dc58c4-6f47-413a-9176-742be7463f92/
2. Click "Download" button
3. The download file will be "EmacsEmulations.vsix"
4. Close Visual Studio 2010 Pro
5. Right click and select "open with" -> "Visual Studio 2010"
6. It should be installed automatically.
7. Re start Visual Studio 2010 Pro
8. Click OK for installation permit.
9. Go to Tools->Options-> Environment->Keyboard; Select "Emacs" from "Apply the following additional keyboard mapping scheme:"

Please pay attention to the webpage in step 1. It also includes keystrokes information you may be interested.

PS: This Emacs extension is NOT applied for VS 2010 Express version.

prettify