iOS development uses the. TTF or. OTF External Font Library

Source: Internet
Author: User

(reprint, please specify the source: Author: Arrow Address: http://blog.csdn.net/u012460084)

Small partners, in the iOS development process may need to use more WordArt, and Apple offers the font does not meet our requirements, this time we need to import from the outside we want the font library for us to use. The process is as follows:

First, find what you need. TTF (or. otf) Font Library

1. We can download directly to the Internet, this will not elaborate ...

2. You can also find the font library you want in your Mac computer, as follows:

Copy the found font library.

Second, the font library to import their own projects:

The steps are as follows:

1. Drag the font library into the project:

2. In the Engineering. plist configuration file can only add "Fonts provided by Application" Application font support options

Third, the use of font library:

The steps are as follows:

1. The name of each font can be viewed in the computer's font font: (The regular font name for the Chinese italics is: stkaiti)

\

2. Use the following in your code:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.