Skip to content

Instantly share code, notes, and snippets.

@chitsaou chitsaou/gist:221439
Created Oct 29, 2009

Embed
What would you like to do?
my DefaultFontFallbacks.plist
<?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">
<!-- ATSUI-compatible preferred fallback -->
<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>
<string>Thonburi</string>
<string>Kokonor</string>
<!-- language preferred fallback list - to be reordered according to AppleLanguages preferences -->
<array>
<!-- language preferred entity - index 0: BCP 47 language code, index 1: PostScript name -->
<array>
<!-- for Japanese, use AquaHiraKaku, which uses AquaKana for Kana and HiraKakuProN for Kanji -->
<string>ja</string>
<string>AquaHiraKaku</string>
</array>
<array>
<!-- for Traditional Chinese, use STHeiti TC -->
<string>zh-Hant</string>
<string>AquaHiraKaku</string>
</array>
<array>
<!-- for Simplified Chinese, use STHeiti SC -->
<string>zh-Hans</string>
<string>STHeitiSC-Light</string>
</array>
<array>
<!-- for Korean, use AppleGothic Regular -->
<string>ko</string>
<string>AppleGothic</string>
</array>
</array>
<!-- while STHeiti is not the preferred fallback for Japanese or Korean, it does have additional coverage for those languages -->
<array>
<array>
<string>ja</string>
<string>STHeitiJ-Light</string>
</array>
<array>
<string>zh-Hant</string>
<string>HiraginoSansGB-W3</string>
</array>
<array>
<string>ko</string>
<string>STHeitiK-Light</string>
</array>
</array>
<string>DevanagariMT</string>
<string>GujaratiMT</string>
<string>MonotypeGurmukhi</string>
<string>EuphemiaUCAS</string>
<string>InaiMathi</string>
<string>Mshtakan</string>
<string>PlantagenetCherokee</string>
</array>
<!-- ordered fallback list for sans-serif style - fallback entity has to be PostScript name -->
<key>sans-serif</key>
<array>
<string>LucidaGrande</string>
<string>AppleSymbolsFB</string>
<string>GeezaPro</string>
<string>Thonburi</string>
<string>Kailasa</string>
<!-- language preferred fallback list - to be reordered according to AppleLanguages preferences -->
<array>
<!-- language preferred entity - index 0: BCP 47 language code, index 1: PostScript name -->
<array>
<!-- for Japanese, use Hiragino Kaku Gothic ProN W3 -->
<string>ja</string>
<string>HiraKakuProN-W3</string>
</array>
<array>
<!-- for Traditional Chinese, use STHeiti TC -->
<string>zh-Hant</string>
<string>HiraginoSansGB-W3</string>
</array>
<array>
<!-- for Simplified Chinese, use STHeiti SC -->
<string>zh-Hans</string>
<string>STHeitiSC-Light</string>
</array>
<array>
<!-- for Korean, use AppleGothic Regular -->
<string>ko</string>
<string>AppleGothic</string>
</array>
</array>
<!-- while STHeiti is not the preferred fallback for Japanese or Korean, it does have additional coverage for those languages -->
<array>
<array>
<string>ja</string>
<string>STHeitiJ-Light</string>
</array>
<array>
<string>ko</string>
<string>STHeitiK-Light</string>
</array>
</array>
<string>DevanagariMT</string>
<string>GujaratiMT</string>
<string>MonotypeGurmukhi</string>
<string>EuphemiaUCAS</string>
<string>InaiMathi</string>
<string>Mshtakan</string>
<string>PlantagenetCherokee</string>
</array>
<!-- ordered fallback list for serif style - fallback entity has to be PostScript name -->
<key>serif</key>
<array>
<string>Times-Roman</string>
<string>Symbol</string>
<string>LucidaGrande</string>
<string>AppleSymbolsFB</string>
<string>GeezaPro</string>
<string>Thonburi</string>
<string>Kokonor</string>
<!-- language preferred fallback list - to be reordered according to AppleLanguages preferences -->
<array>
<!-- language preferred entity - index 0: BCP 47 language code, index 1: PostScript name -->
<array>
<!-- for Japanese, use Hiragino Mincho ProN W3 -->
<string>ja</string>
<string>HiraMinProN-W3</string>
</array>
<array>
<!-- for Traditional Chinese, use LiSong Pro -->
<string>zh-Hant</string>
<string>LiSongPro</string>
</array>
<array>
<!-- for Simplified Chinese, use STSong -->
<string>zh-Hans</string>
<string>STSong</string>
</array>
<array>
<!-- for Korean, use Apple Myungjo -->
<string>ko</string>
<string>AppleMyungjo</string>
</array>
</array>
<string>DevanagariMT</string>
<string>GujaratiMT</string>
<string>MonotypeGurmukhi</string>
<string>EuphemiaUCAS</string>
<string>InaiMathi</string>
<string>Mshtakan</string>
<string>PlantagenetCherokee</string>
</array>
<!-- ordered fallback list for monospace style - fallback entity has to be PostScript name -->
<key>monospace</key>
<array>
<string>Monaco</string>
<string>AppleSymbolsFB</string>
<string>LucidaGrande</string>
<string>Baghdad</string>
<string>Kailasa</string>
<!-- language preferred fallback list - to be reordered according to AppleLanguages preferences -->
<array>
<!-- language preferred entity - index 0: BCP 47 language code, index 1: PostScript name -->
<array>
<!-- for Japanese, use Hiragino Kaku Gothic ProN W3. The portions that are used are mono spaced. -->
<string>ja</string>
<string>HiraKakuProN-W3</string>
</array>
<array>
<!-- for Traditional Chinese, use STHeiti TC -->
<string>zh-Hant</string>
<string>STHeitiTC-Light</string>
</array>
<array>
<!-- for Simplified Chinese, use STHeiti SC -->
<string>zh-Hans</string>
<string>STHeitiSC-Light</string>
</array>
<array>
<!-- for Korean, use AppleGothic Regular -->
<string>ko</string>
<string>AppleGothic</string>
</array>
</array>
<!-- while STHeiti is not the preferred fallback for Japanese or Korean, it does have additional coverage for those languages -->
<array>
<array>
<string>ja</string>
<string>STHeitiJ-Light</string>
</array>
<array>
<string>ko</string>
<string>STHeitiK-Light</string>
</array>
</array>
<string>DevanagariMT</string>
<string>GujaratiMT</string>
<string>MonotypeGurmukhi</string>
<string>EuphemiaUCAS</string>
<string>InaiMathi</string>
<string>Mshtakan</string>
<string>PlantagenetCherokee</string>
</array>
<!-- ordered fallback list for cursive style - fallback entity has to be PostScript name -->
<key>cursive</key>
<array>
<string>Apple-Chancery</string>
<string>AppleSymbolsFB</string>
<string>GeezaPro</string>
<string>Thonburi</string>
<string>DevanagariMT</string>
<string>Kokonor</string>
<!-- language preferred fallback list - to be reordered according to AppleLanguages preferences -->
<array>
<!-- language preferred entity - index 0: BCP 47 language code, index 1: PostScript name -->
<array>
<!-- for Japanese, use Hiragino Mincho ProN W3. It's not a cursive font but we do not have "brush" typeface for J. -->
<string>ja</string>
<string>HiraMinProN-W3</string>
</array>
<array>
<!-- for Traditional Chinese, use BiauKai -->
<string>zh-Hant</string>
<string>DFKaiShu-SB-Estd-BF</string>
</array>
<array>
<!-- for Simplified Chinese, use STKaiti -->
<string>zh-Hans</string>
<string>STKaiti</string>
</array>
<array>
<!-- for Korean, use Apple Myungjo -->
<string>ko</string>
<string>AppleMyungjo</string>
</array>
</array>
<string>GujaratiMT</string>
<string>MonotypeGurmukhi</string>
<string>EuphemiaUCAS</string>
<string>InaiMathi</string>
<string>Mshtakan</string>
<string>PlantagenetCherokee</string>
</array>
<!-- ordered fallback list for fantasy style - fallback entity has to be PostScript name -->
<key>fantasy</key>
<array>
<string>Zapfino</string>
<string>AppleSymbolsFB</string>
<string>GeezaPro</string>
<string>Thonburi</string>
<string>DevanagariMT</string>
<string>Kokonor</string>
<!-- language preferred fallback list - to be reordered according to AppleLanguages preferences -->
<array>
<!-- language preferred entity - index 0: BCP 47 language code, index 1: PostScript name -->
<array>
<!-- for Japanese, use Hiragino Mincho ProN W3. It's not a cursive font but we do not have "brush" typeface for J. -->
<string>ja</string>
<string>HiraMinProN-W3</string>
</array>
<array>
<!-- for Traditional Chinese, use BiauKai -->
<string>zh-Hant</string>
<string>DFKaiShu-SB-Estd-BF</string>
</array>
<array>
<!-- for Simplified Chinese, use STKaiti -->
<string>zh-Hans</string>
<string>STKaiti</string>
</array>
<array>
<!-- for Korean, use Apple Myungjo -->
<string>ko</string>
<string>AppleMyungjo</string>
</array>
</array>
<string>GujaratiMT</string>
<string>MonotypeGurmukhi</string>
<string>EuphemiaUCAS</string>
<string>InaiMathi</string>
<string>Mshtakan</string>
<string>PlantagenetCherokee</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.