artemp/trac2github — Issue #603: Add support for registering system fonts (for each platform)
Author: artemp
Created: 2011-10-09 20:43:37+00:00
State: open
Labels: Core_Library

For example on osx this would be '/System/Library/Fonts/' and '/Library/Fonts/'

My assumption is that this would lead to a slight performance hit/greater memory usage, and will need to be an optional setting, but will need to test that assumption.

osx font directories are fairly predictable:

{{{
#!sh
$ ls /Library/Fonts/
Academy Engraved LET Fonts InaiMathi.ttf
AlBayan.ttf Jazz LET Fonts
AlBayanBold.ttf Kai.ttf
AmericanTypewriter.ttc Kailasa.ttf
Andale Mono.ttf Kokonor.ttf
Apple Chancery.ttf Krungthep.ttf
Apple LiGothic Medium.ttf KufiStandardGK.ttf
Apple LiSung Light.ttf MarkerFelt.ttc
AppleCasual.dfont Microsoft Sans Serif.ttf
AppleMyungjo.ttf Mona Lisa Solid ITC TT
Arial Black.ttf MshtakanBold.ttf
Arial Bold Italic.ttf MshtakanBoldOblique.ttf
Arial Bold.ttf MshtakanOblique.ttf
Arial Italic.ttf MshtakanRegular.ttf
Arial Narrow Bold Italic.ttf NISC18030.ttf
Arial Narrow Bold.ttf Nadeem.ttf
Arial Narrow Italic.ttf NewPeninimMT.ttf
Arial Narrow.ttf NewPeninimMTBold.ttf
Arial Rounded Bold.ttf NewPeninimMTBoldInclined.ttf
Arial Unicode.ttf NewPeninimMTInclined.ttf
Arial.ttf Optima.ttc
ArialHB.ttf Osaka.ttf
ArialHBBold.ttf OsakaMono.ttf
Ayuthaya.ttf PCmyoungjo.ttf
Baghdad.ttf Palatino
Bank Gothic Papyrus.ttc
Baskerville.ttc Party LET Fonts
BiauKai.ttf Pilgiche.ttf
BigCaslon.ttf PlantagenetCherokee.ttf
Blackmoor LET Fonts PortagoITC TT
BlairMdITC TT-Medium Princetown LET Fonts
Bodoni Ornaments ITC TT Raanana.ttf
Bodoni SvtyTwo ITC TT RaananaBold.ttf
Bodoni SvtyTwo OS ITC TT STHeiti Medium.ttc
Bodoni SvtyTwo SC ITC TT Santa Fe LET Fonts
Bordeaux Roman Bold LET Fonts Sathu.ttf
Bradley Hand ITC TT-Bold Savoye LET Fonts
Brush Script.ttf SchoolHouse Cursive B.suit
Capitals.dfont SchoolHouse Printed A
Chalkboard.ttc Silom.ttf
Chalkduster.ttf Skia.ttf
CharcoalCY.dfont Snell Roundhand
Cochin.ttc Stone Sans ITC TT
Comic Sans MS Bold.ttf Synchro LET Fonts
Comic Sans MS.ttf Tahoma Bold.ttf
Copperplate.ttc Tahoma.ttf
Corsiva.ttf Times New Roman Bold Italic.ttf
CorsivaBold.ttf Times New Roman Bold.ttf
Courier New Bold Italic.ttf Times New Roman Italic.ttf
Courier New Bold.ttf Times New Roman.ttf
Courier New Italic.ttf Trebuchet MS Bold Italic.ttf
Courier New.ttf Trebuchet MS Bold.ttf
Cracked Trebuchet MS Italic.ttf
DecoTypeNaskh.ttf Trebuchet MS.ttf
DevanagariMT.ttf Type Embellishmnt One LET
DevanagariMTBold.ttf Verdana Bold Italic.ttf
Didot.ttc Verdana Bold.ttf
EuphemiaCASBold.ttf Verdana Italic.ttf
EuphemiaCASItalic.ttf Verdana.ttf
EuphemiaCASRegular.ttf Webdings.ttf
Futura.ttc Wingdings 2.ttf
GenevaCY.dfont Wingdings 3.ttf
Georgia Bold Italic.ttf Wingdings.ttf
Georgia Bold.ttf Zapfino.ttf
Georgia Italic.ttf encodings.dir
Georgia.ttf fonts.dir
GillSans.ttc fonts.list
GujaratiMT.ttf fonts.scale
GujaratiMTBold.ttf 儷宋 Pro.ttf
Gungseouche.ttf 华文仿宋.ttf
Gurmukhi.ttf 华文宋体.ttf
Handwriting - Dakota 华文楷体.ttf
HeadlineA.ttf ヒラギノ明朝 Pro W3.otf
Hei.ttf ヒラギノ明朝 Pro W6.otf
HelveticaCY.dfont ヒラギノ角ゴ Pro W3.otf
Herculanum.ttf ヒラギノ丸ゴ Pro W4.otf
Hiragino Sans GB W3.otf ヒラギノ角ゴ Pro W6.otf
Hiragino Sans GB W6.otf ヒラギノ丸ゴ ProN W4.otf
Hoefler Text Ornaments.ttf ヒラギノ角ゴ Std W8.otf
Hoefler Text.ttc ヒラギノ角ゴ StdN W8.otf
Impact.ttf
dane-3:trunk dane$ ls /System/Library/Fonts/
Apple Braille Outline 6 Dot.ttf Monaco.dfont
Apple Braille Outline 8 Dot.ttf STHeiti Light.ttc
Apple Braille Pinpoint 6 Dot.ttf Symbol.ttf
Apple Braille Pinpoint 8 Dot.ttf Thonburi.ttf
Apple Braille.ttf ThonburiBold.ttf
Apple Symbols.ttf Times LT MM
AppleGothic.ttf Times.dfont
AquaKana.ttc TimesLTMM
Courier.dfont ZapfDingbats.ttf
Geeza Pro Bold.ttf encodings.dir
Geeza Pro.ttf fonts.dir
Geneva.dfont fonts.list
HelveLTMM fonts.scale
Helvetica LT MM 儷黑 Pro.ttf
Helvetica.dfont 华文细黑.ttf
HelveticaNeue.dfont 华文黑体.ttf
Keyboard.ttf ヒラギノ明朝 ProN W3.otf
LastResort.ttf ヒラギノ明朝 ProN W6.otf
LucidaGrande.ttc ヒラギノ角ゴ ProN W3.otf
Menlo.ttc ヒラギノ角ゴ ProN W6.otf
}}}