EasyGlyph Updated – Kerning Fixed + Dropshadows
About a week ago I released a font system for the iPhone called EasyGlyph. I looked into switching over to a native true-type-font loader but came back to this because it still seems like the cleanest solution. I noticed there were some issues with the kerning so I fixed that, and added support for drop shadows and glow:
Drop shadows really help the fonts stand out. Give it a try! If anybody wants to help convert this to a library that supports Android or other platforms, I’m happy to assist. Just email me: alexei.white@gmail.com if it’s your intention to do this.









Not sure what happened to the comment I wrote so I’ll try again.
Basically EasyGlyph crashes for me when launching on Windows XP running in Parallels.
Looking for any help and suggestions.
Hey Michael,
I’ll post a new version of EasyGlyph shortly. Not sure what could be happening. I’m also using XP but in VMWare. If you are familiar with VisualStudio/.NET/C# I’m happy to send you the source code and you can try running it in debug mode. Just let me know.
Cheers
Alexei
Hi Alexei,
Thanks for the reply.
I’ll try the new version once its available. Thanks for the offer of the source code but I know very little about .net etc.
The error message I get when I launch is as follows:
“The application failed to launch properly (0xc0000135). Click on OK to terminate the application”
Not sure if this helps but let me know if there is anything you want me to try. The app looks brilliant and would love to use it!
Thanks again. Michael.
Thanks for releasing this to the public.
Cheers,
Mike
OK I’ve got this working on Windows 7! Thanks again…your efforts appreciated.
Hi there, I fixed a nasty memory leak in your init method, this is the patch:
-(void)initFont:(NSString *)fontImage:(NSString *)charSt:(NSString *)fontInfo {
fontUIImage = [UIImage imageNamed:fontImage];
characterDict = [[NSMutableDictionary alloc] init];
charSet = [[NSString alloc] initWithString:charSt];
charSetLength = [charSet length];
NSArray *chunks = [fontInfo componentsSeparatedByString: @";"];
for (int i = 0; i < charSetLength; i++) {
NSString *ch = [[NSString alloc] initWithString:[charSet substringWithRange:NSMakeRange(i, 1)]];
EasyGlyphChar *cf = [[EasyGlyphChar alloc] init];
NSString *ich = [[NSString alloc] initWithString:[chunks objectAtIndex:i]];
NSArray *dta = [ich 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];
[ch release];
[ich release];
}
[fontImage release];
[charSt release];
[fontInfo release];
}
Good luck , and thanks!
Thanks man. I’ll be sure to put this in the next version.
Great tool. thanks for sharing with us. we want one more option in these tool its call pixel wise border line around the font. Please implement in next version.Thanks
Hi, I tried this tool, it’s nice, thnx
I came here from Apple iPhone developer discussions… I was looking for a way to use custom fonts in my iPhone app
Anyway how is the generated C file should help?
Thanks in advance