|
@@ -10,6 +10,7 @@
|
|
|
#import "const.h"
|
|
#import "const.h"
|
|
|
#import <CoreText/CoreText.h>
|
|
#import <CoreText/CoreText.h>
|
|
|
#import "TextUtils.h"
|
|
#import "TextUtils.h"
|
|
|
|
|
+#import "RAUtils.h"
|
|
|
#define DEBUG_STRING_VALUE0 @"DEBUG OFF"
|
|
#define DEBUG_STRING_VALUE0 @"DEBUG OFF"
|
|
|
#define DEBUG_STRING_VALUE1 @"DEBUG OFF"
|
|
#define DEBUG_STRING_VALUE1 @"DEBUG OFF"
|
|
|
|
|
|
|
@@ -26,8 +27,8 @@
|
|
|
|
|
|
|
|
NSMutableDictionary * drawableTemplate = [TextDrawable createTextTemplate:rect source_type:source_type source:source textAlignment:textAlignment vAlign:vAlign size:size];
|
|
NSMutableDictionary * drawableTemplate = [TextDrawable createTextTemplate:rect source_type:source_type source:source textAlignment:textAlignment vAlign:vAlign size:size];
|
|
|
|
|
|
|
|
-
|
|
|
|
|
- [self setDrawableTemplate:[NSKeyedUnarchiver unarchiveObjectWithData:[NSKeyedArchiver archivedDataWithRootObject:drawableTemplate]] ];
|
|
|
|
|
|
|
+ [self setDrawableTemplate: [[RAUtils copyDict:drawableTemplate] mutableCopy]];
|
|
|
|
|
+// [self setDrawableTemplate:[NSKeyedUnarchiver unarchiveObjectWithData:[NSKeyedArchiver archivedDataWithRootObject:drawableTemplate]] ];
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
return self;
|
|
return self;
|