From 3864019c040b88add6a3e668c8f960a5743b5521 Mon Sep 17 00:00:00 2001 From: Saketh1499 Date: Thu, 25 Feb 2021 11:12:35 +0530 Subject: Generating certificates for completed projects --- pdf/fpdf/fonts/certificate.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 pdf/fpdf/fonts/certificate.php (limited to 'pdf/fpdf/fonts/certificate.php') diff --git a/pdf/fpdf/fonts/certificate.php b/pdf/fpdf/fonts/certificate.php new file mode 100755 index 0000000..5ff1fa4 --- /dev/null +++ b/pdf/fpdf/fonts/certificate.php @@ -0,0 +1,23 @@ +909,'Descent'=>-255,'CapHeight'=>909,'Flags'=>32,'FontBBox'=>'[-168 -255 1248 909]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>762); +$up = -140; +$ut = 50; +$cw = array( + chr(0)=>762,chr(1)=>762,chr(2)=>762,chr(3)=>762,chr(4)=>762,chr(5)=>762,chr(6)=>762,chr(7)=>762,chr(8)=>762,chr(9)=>762,chr(10)=>762,chr(11)=>762,chr(12)=>762,chr(13)=>762,chr(14)=>762,chr(15)=>762,chr(16)=>762,chr(17)=>762,chr(18)=>762,chr(19)=>762,chr(20)=>762,chr(21)=>762, + chr(22)=>762,chr(23)=>762,chr(24)=>762,chr(25)=>762,chr(26)=>762,chr(27)=>762,chr(28)=>762,chr(29)=>762,chr(30)=>762,chr(31)=>762,' '=>255,'!'=>283,'"'=>338,'#'=>505,'$'=>505,'%'=>843,'&'=>788,'\''=>225,'('=>338,')'=>338,'*'=>505,'+'=>608, + ','=>255,'-'=>338,'.'=>255,'/'=>283,'0'=>505,'1'=>505,'2'=>505,'3'=>505,'4'=>505,'5'=>505,'6'=>505,'7'=>505,'8'=>505,'9'=>505,':'=>255,';'=>255,'<'=>608,'='=>608,'>'=>608,'?'=>394,'@'=>810,'A'=>843, + 'B'=>788,'C'=>675,'D'=>788,'E'=>730,'F'=>843,'G'=>730,'H'=>788,'I'=>730,'J'=>561,'K'=>788,'L'=>730,'M'=>1013,'N'=>843,'O'=>788,'P'=>730,'Q'=>788,'R'=>788,'S'=>843,'T'=>730,'U'=>788,'V'=>730,'W'=>956, + 'X'=>730,'Y'=>730,'Z'=>675,'['=>338,'\\'=>283,']'=>338,'^'=>608,'_'=>505,'`'=>283,'a'=>451,'b'=>451,'c'=>338,'d'=>451,'e'=>338,'f'=>338,'g'=>451,'h'=>451,'i'=>283,'j'=>283,'k'=>451,'l'=>283,'m'=>675, + 'n'=>505,'o'=>451,'p'=>451,'q'=>451,'r'=>394,'s'=>451,'t'=>283,'u'=>505,'v'=>451,'w'=>675,'x'=>451,'y'=>451,'z'=>394,'{'=>338,'|'=>225,'}'=>338,'~'=>608,chr(127)=>762,chr(128)=>762,chr(129)=>762,chr(130)=>225,chr(131)=>505, + chr(132)=>451,chr(133)=>1013,chr(134)=>451,chr(135)=>451,chr(136)=>283,chr(137)=>1274,chr(138)=>843,chr(139)=>338,chr(140)=>1013,chr(141)=>762,chr(142)=>675,chr(143)=>762,chr(144)=>762,chr(145)=>225,chr(146)=>225,chr(147)=>451,chr(148)=>451,chr(149)=>355,chr(150)=>505,chr(151)=>1013,chr(152)=>283,chr(153)=>880, + chr(154)=>451,chr(155)=>338,chr(156)=>561,chr(157)=>762,chr(158)=>762,chr(159)=>730,chr(160)=>380,chr(161)=>283,chr(162)=>505,chr(163)=>505,chr(164)=>355,chr(165)=>505,chr(166)=>225,chr(167)=>451,chr(168)=>283,chr(169)=>810,chr(170)=>276,chr(171)=>394,chr(172)=>608,chr(173)=>338,chr(174)=>810,chr(175)=>283, + chr(176)=>405,chr(177)=>608,chr(178)=>260,chr(179)=>235,chr(180)=>283,chr(181)=>505,chr(182)=>427,chr(183)=>255,chr(184)=>283,chr(185)=>212,chr(186)=>277,chr(187)=>394,chr(188)=>597,chr(189)=>645,chr(190)=>605,chr(191)=>394,chr(192)=>843,chr(193)=>843,chr(194)=>843,chr(195)=>843,chr(196)=>843,chr(197)=>843, + chr(198)=>1013,chr(199)=>675,chr(200)=>730,chr(201)=>730,chr(202)=>730,chr(203)=>730,chr(204)=>730,chr(205)=>730,chr(206)=>730,chr(207)=>730,chr(208)=>788,chr(209)=>843,chr(210)=>788,chr(211)=>788,chr(212)=>788,chr(213)=>788,chr(214)=>788,chr(215)=>608,chr(216)=>788,chr(217)=>788,chr(218)=>788,chr(219)=>788, + chr(220)=>788,chr(221)=>730,chr(222)=>730,chr(223)=>451,chr(224)=>451,chr(225)=>451,chr(226)=>451,chr(227)=>451,chr(228)=>451,chr(229)=>451,chr(230)=>561,chr(231)=>338,chr(232)=>338,chr(233)=>338,chr(234)=>338,chr(235)=>338,chr(236)=>283,chr(237)=>283,chr(238)=>283,chr(239)=>283,chr(240)=>451,chr(241)=>505, + chr(242)=>451,chr(243)=>451,chr(244)=>451,chr(245)=>451,chr(246)=>451,chr(247)=>608,chr(248)=>451,chr(249)=>505,chr(250)=>505,chr(251)=>505,chr(252)=>505,chr(253)=>451,chr(254)=>451,chr(255)=>451); +$enc = 'cp1252'; +$file = 'certificate.z'; +$originalsize = 79128; +?> -- cgit