Skip to content

Commit

Permalink
Merge pull request Uncodin#170 from peepo3663/patch-1
Browse files Browse the repository at this point in the history
Edit render Bold Italic font to used boldItalicFontRef
  • Loading branch information
DDRBoxman committed Jan 15, 2015
2 parents 1807187 + 0a7ba54 commit 428ba44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platform/ios/Bypass/Bypass/BPDisplaySettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ - (UIFont *)boldItalicFont
CTFontRef boldItalicFontRef = CTFontCreateCopyWithSymbolicTraits(defaultFontRef, 0.f, NULL, traits, mask);
assert(boldItalicFontRef != NULL);

_boldItalicFont = [self UIFontFromCTFont:defaultFontRef];
_boldItalicFont = [self UIFontFromCTFont:boldItalicFontRef];
CFRelease(defaultFontRef);
CFRelease(boldItalicFontRef);
}

return _boldItalicFont;
Expand Down

0 comments on commit 428ba44

Please sign in to comment.