EasyGlyph 1.2 Released – iPhone Font System
I’ve added some features and fixed some bugs in EasyGlyph – which is a font system for iPhone. You can ready about this tool in this earlier post. Specifically:
- Improved the font ripping tool to specify the text hinting style. This is really important for controlling the clarity of the text.
- Added the source code to the windows app. You can now compile this yourself.
- Fixed a memory leak in the display code.
- Begun working on alignment code for the objective-c classes. These still need a bit more work.
Here are some updated screenshots:










Brilliant. Thanks!
Hi there, I think I posted some updates for this version, but on another blogpost, here are my corrections to a memory leak that you have going on in the initFont method.
// set things up
-(void)initFont:(NSString *)fontImage:(NSString *)charSt:(NSString *)fontInfo {
fontUIImage = [[UIImage imageNamed:fontImage] retain];
characterDict = [[NSMutableDictionary alloc] init];
charSetLength = [charSt length];
NSArray *chunks = [fontInfo componentsSeparatedByString: @";"];
for (int i = 0; i < charSetLength; i++) {
NSString *ch = [charSt substringWithRange:NSMakeRange(i, 1)];
EasyGlyphChar *cf = [[EasyGlyphChar alloc] init];
NSArray *dta = [[chunks objectAtIndex:i] componentsSeparatedByString: @","];
cf.x = [[dta objectAtIndex:0] floatValue];
cf.y = [[dta objectAtIndex:1] floatValue];
cf.w = [[dta objectAtIndex:2] floatValue];
cf.h = [[dta objectAtIndex:3] floatValue];
cf.kernx1 = [[dta objectAtIndex:4] floatValue];
cf.kernx2 = [[dta objectAtIndex:5] floatValue];
[characterDict setObject:cf forKey:ch];
[cf release];
}
}
Thanks for this, you should made it able to export a file that works converting to png
Sorry, the last line meant:
you should made it able to export a file that works when converting it to .pvr4
Thanks again
Hi, great application!
Do you know if there is any easy way to include special European characters (À,à,Â,Ä,ã, etc) into the generated files?
Thanks,
~Taewoon