略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: PDF_begin_font

2024-11-15

PDF_begin_font

(PECL pdflib >= 2.0.0)

PDF_begin_fontStart a Type 3 font definition

说明

PDF_begin_font ( resource $pdfdoc , string $filename , float $a , float $b , float $c , float $d , float $e , float $f , string $optlist ) : bool

Starts a Type 3 font definition.

add a note add a note

User Contributed Notes 1 note

up
1
Greg Field
9 years ago
From the PDFLib site's documentation:

fontname (Name string) The name under which the font will be registered, and can later be used with PDF_load_font( ).

a, b, c, d, e, f (Will be ignored in the second pass of the font definition for Type 3 font subsets) The elements of the font matrix. This matrix defines the coordinate system in which the glyphs will be drawn. The six values make up a matrix in the same way as in PostScript and PDF. In order to avoid degenerate transformations, a*d must not be equal to b*c. A typical font matrix for a 1000 x 1000 coordinate system is [0.001, 0, 0, 0.001, 0, 0].

optlist (Ignored in the second pass for subset fonts) An option list. The following options can be used: colorized, familyname, stretch, weight, widthsonly

官方地址:https://www.php.net/manual/en/function.pdf-begin-font.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3