mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Increase version number of font format, as font mask values have
changed. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25397 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
79b9caf27f
commit
85576dbae2
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-08-16 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/xlib/XGFontManager.m (load_cache),
|
||||
* Tools/font_cacher.m (-writeCacheTo): Increase version number of
|
||||
font format, as font mask values have changed.
|
||||
|
||||
2007-08-16 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/x11/XGServerWindow.m (-_setupRootWindow): Set lastTime to
|
||||
|
|
|
@ -149,7 +149,7 @@ load_cache(NSString *cacheName, BOOL async)
|
|||
|
||||
if ((o == nil)
|
||||
|| ((v = [o objectForKey: @"Version"]) == nil)
|
||||
|| ([v intValue] != 2))
|
||||
|| ([v intValue] != 3))
|
||||
{
|
||||
NSString *file_name = [cacheName lastPathComponent];
|
||||
NSString *path;
|
||||
|
|
|
@ -472,7 +472,7 @@ static NSComparisonResult fontDefSorter(id e1, id e2, void *context)
|
|||
NSData *data;
|
||||
NSMutableDictionary *cache = [NSMutableDictionary dictionaryWithCapacity: 4];
|
||||
|
||||
[cache setObject: [NSNumber numberWithInt: 2] forKey: @"Version"];
|
||||
[cache setObject: [NSNumber numberWithInt: 3] forKey: @"Version"];
|
||||
[cache setObject: allFontNames forKey: @"AllFontNames"];
|
||||
[cache setObject: allFontFamilies forKey: @"AllFontFamilies"];
|
||||
[cache setObject: creationDictionary forKey: @"CreationDictionary"];
|
||||
|
|
Loading…
Reference in a new issue