Skip to content

Instantly share code, notes, and snippets.

View midworld's full-sized avatar

Midworld Kim midworld

View GitHub Profile
#!/usr/local/bin/python3
# https://www.academia.edu/6647563/The_C90_encoding_for_Thai
# https://github.com/SaladLab/Unity3D.ThaiFontAdjuster/blob/master/docs/UnderTheHood.md
# https://www.thaitux.info/book/export/html/275
# https://unicodey.com/emoji-data/build/google/noto-emoji/add_svg_glyphs.py
from fontTools.ttLib import TTFont
from fontTools.ttLib.tables import _g_l_y_f
from fontTools.ttLib.tables import _v_m_t_x
@midworld
midworld / LICENSE
Created December 11, 2019 20:16 — forked from commonsguy/LICENSE
deaar: Convert Android AAR Artifacts Into Library Projects
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
@midworld
midworld / GooglePlayAds.java
Created July 22, 2014 03:01
Cocos2d-x Plugin-x for Google Play Ad (not AdMob SDK)
package org.cocos2dx.cpp;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Set;
import org.cocos2dx.plugin.AdsWrapper;
import org.cocos2dx.plugin.InterfaceAds;
import org.cocos2dx.plugin.PluginWrapper;
@midworld
midworld / PluginFactory.cpp
Created July 22, 2014 02:58
cocos2d-x plugin-x android class path
/** create the plugin by name */
PluginProtocol* PluginFactory::createPlugin(const char* name)
{
PluginProtocol* pRet = NULL;
do
{
if (name == NULL || strlen(name) == 0) break;
std::string jClassName = ANDROID_PLUGIN_PACKAGE_PREFIX;