Some thoughts on the application of special fonts in Web pages (web post totals)

Source: Internet
Author: User

1, in the HTML direct application of special font

Http://blog.sina.com.cn/s/blog_66b67ab00101htnk.html

2, PHP will be processed into the text of the source code (no scrutiny, anyway know the idea can be)

Http://www.jb51.net/article/70097.htm

Obviously, the above Method 1: The required font file is too large, seriously affecting the speed. Method 2: Make full use of the functions of PHP GD2 function library, but to which text into the picture has a certain limit, inflexible

Then consider how you can apply special fonts to a real web site.

(1) For a small number of individual words, using PHP to deal with the way the picture

(2) for a large number of constant period of text content can use the way of third party custom font

Reference page: http://jingyan.baidu.com/article/afd8f4de4ee6a734e286e99c.html



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.