Article Description: A guide to the method of font substitution for web designers.
Before this article: The dilemma of Chinese web fonts
When designers abroad happily discuss how to replace fonts without images, when Google proudly to
CSS for Webpage Design @ font-face application @ font-face in Webpage font custom CSSHe mainly embeds the web font he defined Into Your webpage.@ Font-faceThe emergence of modules, we use fonts in web development, not afraid to only use Web security
Http://www.fontsquirrel.com/fontface
@ Font-faceIt is a module in css3. It mainly embeds the custom web font Into Your webpage.@ Font-faceThe emergence of modules, we use fonts in web development, not afraid to only use Web security fonts, many of
The CFont font class initialization function CreateFontIndirect Initializes a CFont object that is given its characteristics by the LOGFONT structure CreateFont initializes the CFont object defined with the specified attribute CreatePointFont
The installation and configuration methods of jpgraph fonts have been introduced in the phpjpgraph installation and configuration tutorial. the use of fonts and texts in the jpgraph class library is very important, jpgraph can control text rotation,
This chapter will make the text in your Web page more beautiful.
Some properties about the text
font-family: Text font
Font-size: Text Size
Color: Text Colors
Font-weight: Text thickness
Text-decoration: More Styles of text
The following approach is a method:
if (!function_exists (' imagecreate ')) {
Die (' This server does not support GD module ');
}
How do I configure it if not supported? Download the DLL file of GD module, modify the php.ini, restart the
This method directly references the font, provided that the referenced font exists. Some fonts need to be replaced by images.
@ Font-face syntax rules:
@font-face { font-family: ; src: [][, []]*; [font-weight: ]; [font-style: ];
The following approach is one way:
if (!function_exists (' imagecreate ')) {
Die (' This server does not support GD module ');
}
If not, how do I configure it? Download the GD module DLL file, modify the php.ini, restart the server.
the following
The following is a method: If (! Function_exists ('imagecreate ')){Die ('the current server does not support GD module ');}If not, how can I configure it? Download the dll file of the gd module, modify php. ini, and restart the server.The PHP plot
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.