# HG changeset patch # User Adrian Robert # Date 1245040490 0 # Node ID 3c179a4d2b8ad2beb68105d7d9563f39c3fc28ec # Parent 60d7ccbdecb834d7c5de0c404a99f10ba5d81126 (ns_get_covering_families): Retain scriptToFamilies. diff -r 60d7ccbdecb8 -r 3c179a4d2b8a src/ChangeLog --- a/src/ChangeLog Sun Jun 14 23:39:07 2009 +0000 +++ b/src/ChangeLog Mon Jun 15 04:34:50 2009 +0000 @@ -9,6 +9,7 @@ (ns_has_attribute): Shrink the normal range. (ns_findfonts): Don't worry about requested spec in determining need for synthItal. + (ns_get_covering_families): Retain scriptToFamilies. 2009-06-14 Seiji Zenitani diff -r 60d7ccbdecb8 -r 3c179a4d2b8a src/nsfont.m --- a/src/nsfont.m Sun Jun 14 23:39:07 2009 +0000 +++ b/src/nsfont.m Mon Jun 15 04:34:50 2009 +0000 @@ -397,7 +397,7 @@ NSLog(@"Request covering families for script: '%@'", script); if (scriptToFamilies == nil) - scriptToFamilies = [NSMutableDictionary dictionaryWithCapacity: 30]; + scriptToFamilies = [[NSMutableDictionary alloc] init]; if ((families = [scriptToFamilies objectForKey: script]) == nil) {