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

Some characters are not aligned center. #8

Closed
ewangke opened this issue Jan 24, 2013 · 5 comments
Closed

Some characters are not aligned center. #8

ewangke opened this issue Jan 24, 2013 · 5 comments

Comments

@ewangke
Copy link

ewangke commented Jan 24, 2013

Please check the screenshot. I add fonts in tableview cells and the UILabels' frame are the same. Is it a font issue?
Screen Shot 2013-01-25 at 2 30 40 AM

BTW, I'm interested how can you reference the character for font-awesome with integer value? I know little about fonts things. Would you please give me some hint or keyword to research?

@l4u
Copy link

l4u commented Jan 28, 2013

Try to use the patched font at https://github.com/leberwurstsaft/FontAwesome-for-iOS if it's the vertical alignment issue.

For the integer value, do you mean enum?

@ewangke
Copy link
Author

ewangke commented Jan 28, 2013

Yeap. I mean enum value.

On Monday, January 28, 2013, Leo Lou notifications@github.com wrote:

Try to use the patched font at
https://github.com/leberwurstsaft/FontAwesome-for-iOS

For the integer value, do you mean enum?


Reply to this email directly or view it on GitHub.


Ke Wang, Founder

IndieBros Studio http://www.indiebros.com/

Mail: ewangke@gmail.com //ewangke@gmail.com

Skype: ewangke

QQ: 196267890

Mobile: +86-186-0130-1335

Weibo: @IndieBros http://www.weibo.com/indiebros


@l4u
Copy link

l4u commented Jan 28, 2013

@ewangke,
the unicode characters are stored at

fontAwesomeIcons = @[@"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @""];

More info at the font repo https://github.com/FortAwesome/Font-Awesome/blob/13d5dd373cbf3f2bddd8ac2ee8df3a1966a62d09/sass/font-awesome.scss#L266

@ewangke
Copy link
Author

ewangke commented Jan 28, 2013

@l4u
Are the unicode characters just placeholders? All of them are just "".

fontAwesomeIcons = @[@"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @"", @""];

@l4u
Copy link

l4u commented Jan 28, 2013

They are unicode characters F000, F001, F002, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants