Skip to content
Browse files

Fix for fonts that require multiple textures

  • Loading branch information...
1 parent 847e30c commit f15cd44f6892dd9437998723617a9cf53e5ea55c @phoboslab committed Oct 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/Ejecta/EJCanvas/EJFont.m
View
2 Classes/Ejecta/EJCanvas/EJFont.m
@@ -170,7 +170,7 @@ - (void)layoutGlyph:(CGGlyph)glyph {
[textures addObject:texture];
[texture release];
} else {
- texture = [textures objectAtIndex:0];
+ texture = [textures objectAtIndex:textures.count-1];
}
info->ti = [textures count]; // 0 is reserved, index starts at 1

0 comments on commit f15cd44

Please sign in to comment.
Something went wrong with that request. Please try again.