diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/nsfont.m | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 08ac6ceac9a..cc5d3d630b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | (ns_has_attribute): Shrink the normal range. | 9 | (ns_has_attribute): Shrink the normal range. |
| 10 | (ns_findfonts): Don't worry about requested spec in determining | 10 | (ns_findfonts): Don't worry about requested spec in determining |
| 11 | need for synthItal. | 11 | need for synthItal. |
| 12 | (ns_get_covering_families): Retain scriptToFamilies. | ||
| 12 | 13 | ||
| 13 | 2009-06-14 Seiji Zenitani <zenitani@mac.com> | 14 | 2009-06-14 Seiji Zenitani <zenitani@mac.com> |
| 14 | 15 | ||
diff --git a/src/nsfont.m b/src/nsfont.m index c5e73604e7a..68ed1e6dd36 100644 --- a/src/nsfont.m +++ b/src/nsfont.m | |||
| @@ -397,7 +397,7 @@ static NSSet | |||
| 397 | NSLog(@"Request covering families for script: '%@'", script); | 397 | NSLog(@"Request covering families for script: '%@'", script); |
| 398 | 398 | ||
| 399 | if (scriptToFamilies == nil) | 399 | if (scriptToFamilies == nil) |
| 400 | scriptToFamilies = [NSMutableDictionary dictionaryWithCapacity: 30]; | 400 | scriptToFamilies = [[NSMutableDictionary alloc] init]; |
| 401 | 401 | ||
| 402 | if ((families = [scriptToFamilies objectForKey: script]) == nil) | 402 | if ((families = [scriptToFamilies objectForKey: script]) == nil) |
| 403 | { | 403 | { |