Imageloadfont---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; load new font
Syntax: int imageloadfont (string file)
Description:
Imageloadfont () Loads a user-defined bitmap (bitmap) font and returns the identifier of the font (it is always greater than 5, so it does not conflict with the embedded font).
The font file format is now binary and depends on the internal structure of the computer, which means that you have to produce a font file on the machine where you run PHP.
Font file format:
BYTE group position c data type description byte 0-3 int font number of characters in byte 4-7 int font The value of the first character (usually 32 or blank) byte 8-11 int pixel width byte 12-15 int. pixel height of individual characters Byte 16-char array and Word metadata, one pixel in each character is one byte, total number of bytes (nchars*width*height)
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.