Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-25161] (6_2_X) iOS: Add thin, light, ultra-light & semi-bold font-sizes #9309

Merged
merged 5 commits into from Aug 16, 2017

Conversation

hansemannn
Copy link
Collaborator

if (self.isSemiboldWeight) {
font = [[UIFont systemFontOfSize:self.size weight:UIFontWeightSemibold] retain];
} else if (self.isItalicStyle) {
font = [[UIFont italicSystemFontOfSize:self.size] retain];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why put this api inside block of iOS 8.2 and greater ?

didChange |= (self.isBoldWeight)||(self.isSemiboldWeight)||!(self.isNormalWeight);
if ([fontWeightObject isEqualToString:@"semibold"]) {
didChange |= !(self.isSemiboldWeight)||(self.isBoldWeight)||(self.isNormalWeight)||(self.isThinWeight)||(self.isLightWeight)||(self.isUltraLightWeight);
self.isSemiboldWeight = YES;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix indentation .

@hansemannn
Copy link
Collaborator Author

@vijaysingh-axway Addressed comments!

Copy link
Contributor

@vijaysingh-axway vijaysingh-axway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR passed.

Copy link
Contributor

@ewieberappc ewieberappc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FR Passed.
New font weights are available and usable without issue.

@ewieberappc ewieberappc merged commit 229a2f7 into tidev:6_2_X Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants