On 8/13/13 8:05 AM, Karl Tomlinson wrote:
On Fri, 09 Aug 2013 13:51:45 +0200, Axel Hecht wrote:
To clarify, the tool does support either .name. or .name-list. at
this point. Is there a code path or a setup where we have for any
language/family both a .name. and a .name-list. entry?
I.e.
pref("font.name.serif.zh-TW", "Times");
pref("font.name-list.serif.zh-TW", "Droid Serif, Droid Sans Fallback");
Just a randomly constructed example.
The .name. and .name-list. are essentially concatenated into a
single list, even though that is less clear in the second piece of
code here:
http://hg.mozilla.org/mozilla-central/annotate/c146d402a55f/gfx/thebes/gfxPlatform.cpp#l1019
http://hg.mozilla.org/mozilla-central/annotate/c146d402a55f/gfx/thebes/gfxFont.cpp#l4156
OK, that was easy to add,
https://github.com/Pike/font-tool/commit/707bff7b6e87f695038bac1f80ba66e2b216593d.
Thanks
Axel
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform