Skip to content

Instantly share code, notes, and snippets.

View lianghai's full-sized avatar

梁海 Liang Hai lianghai

View GitHub Profile
@lianghai
lianghai / Ra-VowelSignVocalicR
Last active August 29, 2015 14:02
Substitute र + ◌ृ by "reph + ऋ" without introducing ligature glyphs.
@vocalic_liquid_matra = [
dvRvocalsign
dvRRvocalsign
dvLvocalsign
dvLLvocalsign
];
lookup flip_ra_to_vocalic_liquid {
sub dvRa' dvRvocalsign by dvRvocal;
sub dvRa' dvRRvocalsign by dvRRvocal;
@lianghai
lianghai / gist:3375111
Created August 17, 2012 01:21
The path to DefaultFontFallbacks.plist
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Resources/DefaultFontFallbacks.plist
@lianghai
lianghai / 10.7.4
Created June 13, 2012 13:27
DefaultFontFallbacks.plist from OS X 10.8 DP4 and 10.7.4
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- default ordered fallback list - fallback entity has to be PostScript name -->
<key>default</key>
<array>
<string>LucidaGrande</string> <!-- MAKE sure this matches the kCTFontSystemFontType in CTFontDescriptorCreateForUIType() & TDescriptorSourceImp::CreateDefaultDescriptor()! -->
<string>AppleSymbolsFB</string>
<string>GeezaPro</string>