You are browsing through solution

Chinese language tips for web design

Friday, May 14th, 2010

Recently I needed to work with some Chinese and we had tons of trouble trying to figure out which fonts to use and how to specify them in CSS. After a lot of detective work and comparing long font lists we found some basic font choices that should work on both PC and Macs that have Chinese language packs active. I want to archive them here just in case I need to reference this ever again since it was PAINFUL…
Some Chinese Website tips:

  1. Specify English fonts first and then the Chinese fonts in your font list. This makes it so English fonts render with your desired fonts then the Chinese fonts pick up the other characters. font-family: futura, arial, Hei, “Microsoft YaHei”, “MS Yahei”, “宋体”, sans-serif;
  2. Standard chinese sans-serifs are: Hei, HeiTi or “Microsoft YaHei”
  3. Standard chinese serifs are: “Fang Song”, or “宋体”
  4. Set a meta tag to display chinese charset: utf-8. <META HTTP-EQUIV=”content-type” CONTENT=”text/html; charset=”utf-8″>

References:

DVD drive not found – a solution!

Tuesday, December 2nd, 2008

My Toshiba has problems. That said, every now and then it can’t find it’s own DVD drive. No power no detection, nothing. I’m suspecting iTunes is the culprit but who knows. In any case I found out that there’s a simple solution posted around the web but I found it in a forum here.

Steps

1) Open regedit.exe (Start menu > run, type regedit, and the exe should be listed)

2) Locate the following reg file in the following path:

HKEY_LOCAL_MACHINE
SYSTEM
CurrentControlSet
Control
Class
{4D36E965-E325-11CE-BFC1-08002BE10318}

3) Delete the values for the Upper and Lower filters.

4) Restart

Writing files from Mac to NTFS hard drive

Thursday, September 11th, 2008

I’m at work needing to transfer files from my Mac to my NTFS hard drive. The file system normally allows the drive to be read but unable to write to. There’s too many complicated tutorials/forum posts so I’m making it simple for myself and hopefully others here. 2 downloads and no funky terminal stuff.

  1. Download MacFUSE on Google Code - Install & restart
  2. Download the MacOSX NTFS-3G plugin – Install & restart
Now the NTFS drive should be writable. 
Notes:
If you get an error like:
$LogFile indicates unclean shutdown (0,0)
Failed to mount…

You need to plug in the drive into a windows pc and then “Safely remove hardware” by right-clicking on the lower right-hand green arrow that says “Safely remove hardware”. There’s other ways, but this is the easiest I’ve seen.

Most helpful forum link by jo7ker on Sat, Mar 3 2007 at 9:12AM PST
http://www.macosxhints.com/article.php?story=20070220150856279



IE Hate. PNG’s don’t display.

Monday, October 29th, 2007

IE can’t deal with PNG’s. It makes them opaque- kinda defeats the purpose…
Here’s a solution to fix png display in IE. It makes directX display pngs instead of IE.
Code that works

Toshiba m400 loses pen function – solution

Sunday, October 21st, 2007

So I installed the new wacom vista driver for my toshiba m400, and all was happy. Then when I put my computer to sleep or hibernate, my newly gained pressure sensitivity dropped. In fact, the computer wouldn’t even recognize the pen at all. I’ve found 2 solutions, the second one being better:

1) Reinstall the wacom driver. It sucks because then you have to restart AND the problem occurs again once the computer goes to sleep.

2) Remove the preference file. Start menu > All Programs >Tablet > Tablet Preference File Utility
Click on “Remove My Preference File” and all will be good again, no restart required!