How to fix Broken Thai Text Display in Google Chrome

I recently experienced a very strange and vexing problem in Chrome (EN v.38, 64-bit, Windows 7) where all Thai text appeared as small boxes or squares, or squares with strange symbols inside of them. It literally appeared overnight, and no amount of tweaking encodings or font settings (you know, the normal stuff) could fix it. Only Thai language seemed affected, and it only happened in Chrome (I tested in FF, IE, Opera, and MS Office as well).

I cannot understand your boxy language.
I cannot understand your boxy language.

If you are experiencing the same problem, I have a solution that is working 100% (for me). It is tied to a new Microdicksoft font rendering technology recently enabled in Chrome by default called DirectWrite.
TL;WR: If you want to fix this problem with garbled foreign text display, you need to turn that shit off.

How to turn off DirectWrongWrite:
1) Open Chrome and type (or copy and paste, you lazy fucker) chrome:flags in the address bar, then hit Enter. This opens a magical gateway to a Land That Makes Chrome Bipolar:
20102020chromeflags-directwrite-on

2) Click the “Enable” link under Disable DirectWrite. That’s right, you have to click a link called Enable to turn off the Microphallussoft shit. But Bill Gates cured hemmorhoidal dysentery in the fourth world, so I forgive him.

3) Restart Chrome (remember to shut it down completely if you have it set to run in the background.)

Results for me:

What? Ping pong show RIGHT NOW? I'm on my way, homies!
What? Ping pong show RIGHT NOW? I’m on my way, homies!

I am including the bug report I filed with Google below, for posterity.

All Thai language text suddenly started appearing as boxes or squares in English version of Chrome 38.0.2125.101 m (64-bit). This was a sudden problem that appeared and persisted through various attempts at problem solving: Changing page encoding, font settings, re-installing Chrome, emptying cache, overriding CSS properties with various Extensions, etc. Although other browsers and applications were unaffected, I also tried re-installing all fonts in Windows (64-bit Windows 7), tweaking language settings, deleting FNTCACHE.DAT file, multiple restarts, etc.

I finally found a solution that is working for my system: disabling DirectWrite in chrome://flags/ and restarting Chrome. This solves all problems with Thai text rendering.

EnablingDirect write again and restarting Chrome causes the same problems again, disabling it and rebooting solves it instantly.


Keywords: Fuck Microsoft, Fuck DirectWrite, Fuck Windows 9, thank god it’s friday

How poor are poor families in Myanmar?

Poor enough to sell their children to human trafficking rings for $50 US: Trafficker of Rose-Selling Children on Khaosan Road Arrested

The story linked above is currently displayed along an article stating that Thailand has been downgraded to the lowest level (with the worst offenders) in the US State Department’s latest report on human trafficking.

…This is a direct result of the recent reporting on slavery on Thai shrimp boats and the media tying some of the largest corporations in Thailand, the US, and the UK to human trafficking (the big NY Times article ran just yesterday). The response from some of these corporations has been promising:

Through our research and development of alternative protein sources, CPF could walk away from fishmeal. However, doing so would shift the problem to the fishing industry, which is mostly comprised of fishermen earning their living in legal ways. The products of the fishing boats involved in human trafficking and slavery will continue to be purchased by other factories, and the issues around slavery will remain unchanged.

I believe it is better to work within the system, using our buying power to eradicate slavery in the region and make fishing practices fully sustainable…

– Dhanin Chearavanont
Chairman, Charoen Pokphand Foods, Bangkok, Thailand

Excerpt from: CP Foods condemns slavery and human trafficking in fishing industry

Taco night

20140509NamPhone033

When Dave and Michiko visited from Japan a month ago, we had a Mexifood party. Due to what’s available here, we had to improvise a few things, but it all turned out well: I made carnitas pork and refried beans in the slow cooker (in that order, without washing the pot, using pork fat to season the beans) from the night before. A trip to the supermarket only yielded a single, cement-hard avocado, so we nuked it for a minute and mixed it in with locally available (Khon Kaen) sour cream. Finally, we deemed making corn tortillas with the masa I have in the freezer and the tortilla press my mom brought over a few years back too much work, so we made due with flour tortillas for everything, which are available at the Tops supermarket in Central Khon Kaen. Dave kindly brought over many sauces from his stash: Sriracha, Cholula, and hundreds of Taco Bell hot sauce packs from the states.

The final result:

20140509NamPhone034

So I found out why 7/11s have locks on the doors…

…it’s in case there a coup and 10 pm curfew is enforced nationwide. The last time there was a coup, there weren’t any 7/11s near my house. Alas, Thailand has returned to its seemingly default state: Military rule. Besides there being nothing on TV (the broadcasts are controlled by the military), and closing all of the schools, it hasn’t affected anyone up here much (unless they need to work outside from between the hours of 10 pm and 5 am).

The Westernization of Thailand

Fried egg and bologna sandwiches on fresh baked mini-baguettes (batons?)
Fried egg and bologna sandwiches on fresh baked mini-baguettes (batons?)

This was all all procured locally. This part of the world will be hit with a metabolic syndrome epidemic in the coming years that will surely rival that of Mexico and their pudgy northern neighbors – we have a Starbucks three minutes from my house, for Christ’s sake.

Note: This round of Hate Gaijin Expansion may be finished for now.

Neither Washington nor Colorado

Just say woe
Just say woe

Forty years of failed US drug policy has culminated in my daughter wearing what appears to be an anti-hemp headband in her preschool parade in Thailand… A country where you can buy marijuana-seasoned chicken soup (not easily, but still), but where possessing it can get you all kinds of ganked, gaffled, or even shot by the police, all thanks to US drug policy.

In fairness, there were also anti-drinking, -smoking, and -injecting headbands worn by other kids, and the only thing frowned upon among those by Theravada Buddhism is the alcohol. That’s why Buddhism is so fucking cool – in a place with such high road fatalities due to DUI, it actually makes sense!