uifont
What is the difference between lineHeight and leading?
I understand that, in ye olden days of typesetting, \'leading\' was the total height of the lead blocks used for the letters - i.e. the height of the lines.[详细]
2023-03-09 22:12 分类:问答Bold font with bold weight in iPhone
I have a design that uses Helvetica-Bold font with a weight of bold: i\'m trying to explain myself: a bold font, which can be set also to bold. But in iOS, trying to make a font bold, over and over ag[详细]
2023-03-04 00:29 分类:问答Why are UIFont and CGFont/CTFont separated completely?
I was trying to draw some text with开发者_JAVA百科 a downloaded font. I looked at API documentation and searched the Web. I found a solution, but the problem is that it\'s applicable to only the CoreG[详细]
2023-03-01 10:37 分类:问答What is the best way to determine the supported styles of a font on iOS?
I\'m unable to find an easy way to determine if a font supports the bold or italic font style on iOS. My current solution is based on trying to 开发者_运维技巧create a CTFont with the wished font styl[详细]
2023-03-01 05:53 分类:问答How to make the font scale
I am making an universal application for iPhone and iPad. I know there is a option to define that the text should scale downwards to a chosen point-size when it is to large however I need the text to开[详细]
2023-02-28 16:25 分类:问答cocoa-touch: Why is font not applied?
I\'m trying to code the appearance of an UILabel, but I can\'t get another font applied. The funny (or rather annoying) thing is that if I add a second UILabel, the font WILL BE APPLIED for the second[详细]
2023-02-28 13:14 分类:问答Dealing with points or pixels when using UIFont
I was trying to position a string in the vertical center of a CGRect in my drawRect:(CGRect) method. The CGRect has this size:[详细]
2023-02-25 17:01 分类:问答What is UILabel's vertical alignment algorithm?
There\'s ample discussion here on SO about Apple\'s failure to provide vertical alignment APIs for UILabel, but how does the actual vertical alignment work? Is the bounding box of the string (cf. size[详细]
2023-02-21 18:34 分类:问答Any way to alter text attributes within a UITextField?
Simply stated - I want to have a scrollable text field with a paragraph of text.Some of th开发者_如何学编程e sentences should be bold and blue while others are red and normal, while the remainder is s[详细]
2023-02-20 03:42 分类:问答UIButton setFont fails on iPhone 2G iOS 3.1.3
My tester has in iPhone 2G with iOS 3.1.3. The application crashes on his phone on this method: - (void) viewDidLoad[详细]
2023-02-19 21:06 分类:问答