English 中文(简体)
Which non-bold UTF-8 iPhone SDK font can I use here?
原标题:
  • 时间:2009-11-17 18:48:08
  •  标签:
  • iphone
  • text

Problem: I create a UILabel with this font:

label.font = [UIFont systemFontOfSize:15.0f];

Now this system font is bold, but I want to display pretty small text, and the text may also contain very strange UTF-8 characters like chinese chars and stuff like that.

So which other fonts are there to use safely, which are NOT bold and suitful to display in small size?

最佳回答

Check out this list and choose the one that you like.
Also, you may want to take a look at this article, it discusses a method of finding all the fonts that are currently installed on the device. As far as I know, systemFontOfSize will not return a bold font, boldSystemFontOfSize will. Anyway, you may try [UIFont fontWithName:@"Verdana" size:14.0], I think it s pretty easy to read and not bold.

问题回答

暂无回答




相关问题
Which non-bold UTF-8 iPhone SDK font can I use here?

Problem: I create a UILabel with this font: label.font = [UIFont systemFontOfSize:15.0f]; Now this system font is bold, but I want to display pretty small text, and the text may also contain very ...

Limiting file upload type

Simple question. Is there a way to only allow txt files upon uploading? I ve looked around and all I find is text/php, which allows PHP. $uploaded_type=="text/php

Extract everything from PDF [closed]

Looking for solution to extract content from a PDF file (using console tool or a library). It will be used on server to produce on-line e-books from uploaded PDF files. Need to extract following ...

Flash & external form fields

Does anybody know if this is possible? I am trying to create a flash movie that will show / preview what I am typing into a field in a normal HTML form. The call to update the flash movie would most ...

Avoiding escape sequence processing in ActionScript?

I need to mimic C# functionality of the @ symbol when it precedes a string. @"C:AFilePath" for example What is the best way to do this? Also there are some sites that will escape larger ...

iPhone: Draw rotated text?

I want to draw some text in a view, rotated 90°. I m pretty new to iPhone development, and poking around the web reveals a number of different solutions. I ve tried a few and usually end up with my ...

Numbering in jQuery

How could I change the text below so that the text within it has a number appended to it. <div class="right">This is some text</div> <div class="right">This is some text</div>...

热门标签