, 02 2007 . 08:39
+
. , . , .
, , , , .
, , , . .. , . , . , , . .
, .
, .
.. , , . , : , - . , , , . .
. , , . ? - , , - , , . , "", .
. , - . , (, , ). , . . , - , .
, , .
, 07 2007 . 07:07
+
pdf php!
- , , , !
!
:
1. File_PHP - PEAR
2. FPDF - , , !
!
, 1 , , .
! , pdf !
, !
, TrueType , Adobe.
ttf2pt1. ! ! amf
ttf2pt1 -A .ttf . afm. arial.
ttf2pt1 -A arial.ttf arial
FPDF , MakeFont(). font/makefont/makefont.php
:
PHP:
MakeFont(string fontfile, string afmfile [, string enc [, array patch [, string type]]])
font>
:
fontfile - TrueType
afmfile - afm
enc - ( cp1251)
patch - ( )
type - ( TrueType, - )
, , makefont/makefont.php , font, :
PHP:
MakeFont("arial.ttf", "arial.afm", "cp1251") ;
font>
! , !
arial.php arial.z
arial.php, !
, !
FPDF ( ) pdf , , FPDF addfont().
:
PHP:
$pdf = new FPDF();
$pdf->addfont('arial','','font/arial.php');
font>
, - , - ! - (, ..). , ..!
- , ! ! , ! , ! - , arial.php !
, :
$cw, => = =>! , , 750! , !
arial regular!
!
!
!
, 09 2007 . 12:25
+
IE !!! IE !!! IE !!! IE !!! IE !!! IE !!! IE !!!
! !