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,
For example, we use the following font settings (let's not be unreasonable)
Font-family:verdana,tahoma,arial,5b8b4f53 (XXFarEastFont-Arial), Sans-serif
After the IE6, IE7, IE8, Firefox, Chrome and other mainstream browser test, found in the IE7
Web designers tend to appreciate beautiful fonts! Many times when dealing with certain items or simply surfing around, they encounter certain fonts that are visually appealing, they get curious and want to know about special fonts for future
: This article describes how to use the GD library to generate a verification code for PHP to draw Chinese characters on the image. For more information about PHP tutorials, see. PHP is not limited to creating HTML output. It can also create and
In php, adding watermarks to Chinese characters requires some simple processing. one is to convert characters into gbk, and the other is to load Chinese fonts, with these two conditions, adding a Chinese watermark to the image is simple. Example 1
In the previous article, I published
Program The created TrueType font is used in the vs editor.
Code The display of characters and Chinese characters is not beautiful. For details, refer to: Here.
In that article, a friend suggested whether
In php, adding watermarks to Chinese characters requires some simple processing. one is to convert characters into gbk, and the other is to load Chinese fonts, with these two conditions, adding a Chinese watermark to the image is simple. Example 1
Php image and Chinese watermark implementation code sharing Example 1
The code is as follows:
Header ("Content-type: image/png");/* notify the browser to output the image */
$ Im = imagecreate (400,300);/* define the image size */
$ Gray =
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.