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:
Fred Kiefer 2007-08-16 14:47:45 +00:00
parent 79b9caf27f
commit 85576dbae2
3 changed files with 8 additions and 2 deletions

View file

@ -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

View file

@ -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;

View file

@ -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"];