PDF function Library: Pdf_set_font

Source: Internet
Author: User
Keywords pdf_set_font pdf function Library php Chinese function manual
Tags aliyun configuration content file function function library html name

Pdf_set_font

Configure the font and size used.

Syntax: boolean pdf_set_font (int pdfid, String fonthttp://www.aliyun.com/zixun/aggregation/11696.html ">name, double size, int encoding);

Return Value: Boolean value

Function type: Special file format

Content Description

This function is used to configure the specified font and font size for use by the program for string output. Parameter Pdfid to PDF file code. Parameter fontname is the font name. The parameter size is the font size. The default value for the parameter encoding is 4, and the number is 0 table builtin, 1 is Pdfdoc, 2 is Macroman, 3 table Macexpert and 4 are winansi. Returns a true value for success. This function requires more than 2.0 pdflib to support.

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.