当前位置: 首页>>代码示例>>PHP>>正文


PHP PDF::SetFont方法代码示例

本文整理汇总了PHP中PDF::SetFont方法的典型用法代码示例。如果您正苦于以下问题:PHP PDF::SetFont方法的具体用法?PHP PDF::SetFont怎么用?PHP PDF::SetFont使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在PDF的用法示例。


在下文中一共展示了PDF::SetFont方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: index

 public function index()
 {
     $pdf = new PDF();
     $pdf->AliasNbPages();
     $pdf->AddPage();
     $pdf->SetFont('Times', '', 12);
     for ($i = 1; $i <= 40; $i++) {
         $pdf->Cell(0, 10, 'Printing line number ' . $i, 0, 1);
     }
     $pdf->Output();
 }
开发者ID:iamonuwa,项目名称:ivote,代码行数:11,代码来源:Test.php

示例2: index

 function index()
 {
     // Instanciation of inherited class
     $pdf = new PDF();
     $pdf->AliasNbPages();
     $pdf->AddPage();
     $pdf->SetFont('Times', '', 12);
     for ($i = 1; $i <= 40; $i++) {
         $pdf->Cell(0, 10, 'Printing line number ' . $i, 0, 1);
     }
     $pdf->Output();
 }
开发者ID:akbarhakim29,项目名称:restclient,代码行数:12,代码来源:pdf.php

示例3: PDF

 function __construct($datos)
 {
     $pdf = new PDF();
     // [ Establesco Todos los datos que conendra la Factura ]
     $pdf->set_data($datos);
     $pdf->FPDF('P', 'mm', 'Letter');
     // Esta funcion la uso cuando voy a imprimir  al final el numero de la paguina $pdf->AliasNbPages();
     $pdf->AddPage();
     $pdf->SetFont('Arial', '', 12);
     //$pdf->SetTextColor(20,20,250); COLOR AZUL
     $pdf->SetTextColor(0, 0, 0);
     $pdf->menbrete();
     $pdf->detalle($datos['productos']);
     $pdf->Output();
 }
开发者ID:julio899,项目名称:factura_ktux,代码行数:15,代码来源:class_factura.php

示例4: testpdf

 function testpdf()
 {
     $this->load->library('fpdf');
     $this->fpdf->FPDF('P', 'cm', 'A4');
     $this->fpdf->AddPage();
     //$this->fpdf->SetFont('Arial','',10);
     $this->fpdf->setFont('Arial', 'B', 9);
     $teks = "Ini hasil Laporan PDF menggunakan Library FPDF di CodeIgniter";
     $this->fpdf->Cell(3, 0.5, $teks, 1, '0', 'L', true);
     //	$this->fpdf->setFont('Arial','B',7);
     $this->fpdf->Text(8, 1.9, 'Jl.Zambrud I No.35 Sumur Batu - Jakarta Pusat');
     $this->fpdf->Line(15.6, 2.1, 5, 2.1);
     $this->fpdf->Text(8, 1.9, 'Jl.Zambrud I No.35 Sumur Batu - Jakarta Pusat');
     //$this->fpdf->Ln();
     $this->fpdf->Output();
     $this->load->library('pdf');
     $pdf = new PDF();
     $pdf->SetMargins(1, 1);
     $pdf->AddPage();
     $pdf->SetFont('Arial', 'B', 14);
     $pdf->Cell(0, 0.5, 'Hellol Ci', 0, 1, 'C');
     $pdf->Output();
     /*
     	$this->load->library('fpdf');
     	$this->fpdf->FPDF('P','cm','A4');
     	$this->fpdf->Ln();
     	$this->fpdf->setFont('Arial','B',9);
     	$this->fpdf->Text(7.5,1,"DAFTAR PENJUALAN BULAN ");
     	$this->fpdf->setFont('Arial','B',9);
     	$this->fpdf->Text(8.3,1.5,'KOMUNITAS MUSISI INDONESIA');
     	$this->fpdf->setFont('Arial','B',7);
     	$this->fpdf->Text(8,1.9,'Jl.Zambrud I No.35 Sumur Batu - Jakarta Pusat');
     	 
     	$this->fpdf->Line(15.6,2.1,5,2.1);             
     	$this->fpdf->ln(1.6);
     	$this->fpdf->ln(0.3);
     	$this->fpdf->Output(); 
     */
 }
开发者ID:rasyid46,项目名称:ci_crud,代码行数:39,代码来源:chart.php

示例5: relatorioDisciplinasPorCurso

 function relatorioDisciplinasPorCurso($id)
 {
     $pdf = new PDF("P", "pt", "A4");
     $pdf->AddPage();
     $pdf->SetFont('Arial', 'B', 16);
     $polo = new Polo();
     $polo->setId($id);
     $polo = $polo->getById();
     $pdf->Cell(40, 10, $polo->getNome());
     $cabeçalhoTabela = array('Disciplina', 'Nome Tutor', 'Sobrenome Tutor');
     $curso = new Curso();
     $cursos = $curso->read();
     foreach ($cursos as $curso) {
         if ($curso->getPolo()->getId() != $id) {
             continue;
         }
         $pdf->setVendedor($curso->getNome() . " - " . $curso->getTipo()['descricao']);
         $pdf->AddPage();
         $disciplinaDao = new DisciplinaDao();
         $array = $disciplinaDao->listDisciplinasTutoresByCurso($curso);
         $pdf->BasicTable($cabeçalhoTabela, $array);
     }
     $pdf->Output();
 }
开发者ID:RaelCappra,项目名称:SisTutor,代码行数:24,代码来源:DisciplinaController.php

示例6: PDF

        //Page number
        $this->Line(10, 281, 200, 281);
        $this->Cell(0, 3, 'Emitido por: ' . $usuarioNome);
    }
}
//Instancia a classe gerador de pdf
$pdf = new PDF();
//Define os atributos de propriedade do arquivo PDF
$pdf->SetCreator('work | eventos');
$pdf->SetAuthor($usuarioNome . " - " . $empresaNome);
$pdf->SetTitle('Relação de Momentos de Repertório');
$pdf->SetSubject('Relatório gerado automaticamente pelo sistema');
$pdf->AliasNbPages();
$pdf->AddPage();
//Títulos das colunas
$pdf->SetFont('Arial', 'B', 10);
//Define a cor RGB do fundo da celula
$pdf->SetFillColor(178, 178, 178);
//Faz a célula ser preenchida. Isso é feito setando 1 após a expressao de alinhamento
$pdf->Cell(0, 6, 'Descrição do Momento de Repertório', 1, 0, 'L', 1);
$pdf->SetX(170);
$pdf->Cell(0, 6, 'Ativo');
//Monta as linhas com os dados da query
$pdf->SetFont('Arial', '', 10);
while ($dados = mysql_fetch_array($sql)) {
    switch ($dados[ativo]) {
        case 0:
            $ativo = "Inativo";
            break;
        case 1:
            $ativo = "Ativo";
开发者ID:workcrm,项目名称:consoli,代码行数:31,代码来源:CategoriaRepertorioRelatorioPDF.php

示例7: elseif

        } elseif ($highest_tt == 5) {
            $protected = 1;
        } else {
            $antigen = 'TT' . $highest_tt;
            $q_diff = mysql_query("SELECT consult_id FROM m_consult_mc_vaccine WHERE patient_id='{$pxid}' AND vaccine_id='{$antigen}' AND (TO_DAYS('{$pxedc}')-TO_DAYS(actual_vaccine_date)) <= '{$tt_duration[$highest_tt]}'") or die("Cannot query: 2399");
            if (mysql_num_rows($q_diff) != 0) {
                $protected = 1;
            }
        }
        $tt_stat = 'TT' . $highest_tt . '*';
        $tt_stat .= $protected == 1 ? 'Active' : 'Not Active';
        $tt_stat .= '*' . $date_tt;
        return $tt_stat;
    }
    function Footer()
    {
        //Position at 1.5 cm from bottom
        $this->SetY(-15);
        //Arial italic 8
        $this->SetFont('Arial', 'I', 8);
        //Page number
        $this->Cell(0, 10, $this->PageNo() . '/{nb}', 0, 0, 'C');
    }
}
$_SESSION[pahina] = $page == 1 ? 1 : 2;
$pdf = new PDF('L', 'mm', 'Legal');
$pdf->AliasNbPages();
$pdf->SetFont('Arial', '', 10);
$pdf->AddPage();
$_SESSION[pahina] == 1 ? $pdf->show_ccdev1() : $pdf->show_ccdev2();
$pdf->Output();
开发者ID:wahgithub,项目名称:chits_wah_emr,代码行数:31,代码来源:ccdev_underone.php

示例8: getPeriodeName

    } else {
        $array = $Form->get_row($_GET['from_date'], $_GET['to_date'], $_GET['type_periode']);
    }
} else {
    // yes with step
    //--
    for ($e = $_GET['from_periode']; $e <= $_GET['to_periode']; $e += $_GET['p_step']) {
        $periode = getPeriodeName($cn, $e);
        if ($periode == null) {
            continue;
        }
        $array[] = $Form->get_row($e, $e, 'periode');
        $periode_name[] = $periode;
    }
}
$pdf->SetFont('DejaVuCond', '', 8);
// without step
if ($step == 0) {
    if ($_GET['type_periode'] == 0) {
        $q = getPeriodeName($cn, $from_periode);
        if ($from_periode != $to_periode) {
            $periode = sprintf("Période %s à %s", $q, getPeriodeName($cn, $to_periode));
        } else {
            $periode = sprintf("Période %s", $q);
        }
    } else {
        $periode = sprintf("Date %s jusque %s", $_GET['from_date'], $_GET['to_date']);
    }
    $pdf->Cell(0, 7, $periode, 'B');
    $pdf->Ln();
    for ($i = 0; $i < count($array); $i++) {
开发者ID:Kloadut,项目名称:noalyss_ynh,代码行数:31,代码来源:export_form_pdf.php

示例9: substr

         $this->Cell(8 / 100 * $width, $height, $_SESSION['lang']['tgltanam'] . " " . substr($_SESSION['lang']['afkirbibit'], 5), 1, 0, 'C', 1);
         $this->Cell(8 / 100 * $width, $height, $_SESSION['lang']['umur'], 1, 1, 'C', 1);
     }
     function Footer()
     {
         $this->SetY(-15);
         $this->SetFont('Arial', 'I', 8);
         $this->Cell(10, 10, 'Page ' . $this->PageNo(), 0, 0, 'C');
     }
 }
 $pdf = new PDF('L', 'pt', 'A4');
 $width = $pdf->w - $pdf->lMargin - $pdf->rMargin;
 $height = 12;
 $pdf->AddPage();
 $pdf->SetFillColor(255, 255, 255);
 $pdf->SetFont('Arial', '', 7);
 $where = "";
 if ($kdBatch != '') {
     $where = " and batch='" . $kdBatch . "'";
 }
 $sData = "select distinct batch,kodeorg,sum(jumlah) as jumlah from " . $dbname . ".bibitan_mutasi where kodeorg like '%" . $kdUnit . "%'  " . $where . " and post = 1 group by batch,kodeorg order by tanggal desc ";
 // exit("error".$sData);
 $qData = mysql_query($sData) or die(mysql_error());
 while ($rData = mysql_fetch_assoc($qData)) {
     $data = '';
     $sDatabatch = "select distinct tanggaltanam,supplerid,jenisbibit,tanggalproduksi from " . $dbname . ".bibitan_batch where batch='" . $rData['batch'] . "' ";
     $qDataBatch = mysql_query($sDatabatch) or die(mysql_error($sDatabatch));
     $rDataBatch = mysql_fetch_assoc($qDataBatch);
     $thnData = substr($rDataBatch['tanggaltanam'], 0, 4);
     $starttime = strtotime($rDataBatch['tanggaltanam']);
     //time();// tanggal sekarang
开发者ID:halimc17,项目名称:magsys,代码行数:31,代码来源:bibit_2_slave_keluar_masuk.php

示例10: Footer

        // Logo
        $this->Image('logo_pb.png', 10, 8, 33);
        // Arial bold 15
        $this->SetFont('Arial', 'B', 15);
        // Movernos a la derecha
        $this->Cell(80);
        // Título
        $this->Cell(30, 10, 'Title', 1, 0, 'C');
        // Salto de línea
        $this->Ln(20);
    }
    // Pie de página
    function Footer()
    {
        // Posición: a 1,5 cm del final
        $this->SetY(-15);
        // Arial italic 8
        $this->SetFont('Arial', 'I', 8);
        // Número de página
        $this->Cell(0, 10, 'Page ' . $this->PageNo() . '/{nb}', 0, 0, 'C');
    }
}
// Creación del objeto de la clase heredada
$pdf = new PDF();
$pdf->AliasNbPages();
$pdf->AddPage();
$pdf->SetFont('Times', '', 12);
for ($i = 1; $i <= 40; $i++) {
    $pdf->Cell(0, 10, 'Imprimiendo línea número ' . $i, 0, 1);
}
$pdf->Output();
开发者ID:joshluq,项目名称:sysexcel,代码行数:31,代码来源:tuto2.php

示例11: Footer

        $this->Cell(40, 5, utf8_decode($_GET['fin']), 0, 1, 'C', 0);
        $this->Ln(5);
    }
    function Footer()
    {
        $this->SetY(-15);
        $this->SetFont('Arial', 'I', 8);
        $this->Cell(0, 10, 'Pag. ' . $this->PageNo() . '/{nb}', 0, 0, 'C');
    }
}
$pdf = new PDF('P', 'mm', 'a4');
$pdf->AddPage();
$pdf->SetMargins(0, 0, 0, 0);
$pdf->AliasNbPages();
$pdf->AddFont('Amble-Regular', '', 'Amble-Regular.php');
$pdf->SetFont('Amble-Regular', '', 10);
$pdf->SetFont('Arial', 'B', 9);
$pdf->SetX(5);
$pdf->SetFont('Amble-Regular', '', 9);
$total = 0;
$sub = 0;
$repetido = 0;
$contador = 0;
$consulta = pg_query("select id_cliente,identificacion,nombres_cli,telefono,direccion_cli from clientes");
while ($row = pg_fetch_row($consulta)) {
    $repetido = 0;
    $total = 0;
    $sql1 = pg_query("select id_factura_venta,num_factura,num_autorizacion,fecha_autorizacion,fecha_caducidad FROM factura_venta where id_cliente='{$row['0']}' and estado='Activo' and fecha_caducidad between '{$fecha}' and '{$_GET['fin']}'");
    if (pg_num_rows($sql1)) {
        if ($repetido == 0) {
            $pdf->SetX(1);
开发者ID:Oskrin,项目名称:neltex_formulario,代码行数:31,代码来源:reporte_autorizacion_caducidad.php

示例12:

 /**
  *   Affiche la grille des lignes de factures
  *
  *   @param     PDF			$pdf     		Object PDF
  *   @param		int			$tab_top		Tab top
  *   @param		int			$tab_height		Tab height
  *   @param		int			$nexY			next y
  *   @param		Translate	$outputlangs	Output langs
  *   @return	void
  */
 function _tableau(&$pdf, $tab_top, $tab_height, $nexY, $outputlangs)
 {
     global $conf;
     $default_font_size = pdf_getPDFFontSize($outputlangs);
     // Amount in (at tab_top - 1)
     $pdf->SetTextColor(0, 0, 0);
     $pdf->SetFont('', '', $default_font_size - 2);
     $titre = $outputlangs->transnoentities("AmountInCurrency", $outputlangs->transnoentitiesnoconv("Currency" . $conf->currency));
     $pdf->SetXY($this->page_largeur - $this->marge_droite - ($pdf->GetStringWidth($titre) + 4), $tab_top - 4);
     $pdf->MultiCell($pdf->GetStringWidth($titre) + 3, 2, $titre);
     $pdf->SetDrawColor(128, 128, 128);
     // Rect prend une longueur en 3eme param
     $pdf->Rect($this->marge_gauche, $tab_top, $this->page_largeur - $this->marge_gauche - $this->marge_droite, $tab_height);
     // line prend une position y en 3eme param
     $pdf->line($this->marge_gauche, $tab_top + 5, $this->page_largeur - $this->marge_droite, $tab_top + 5);
     $pdf->SetFont('', '', 8);
     // Accountancy piece
     $pdf->SetXY($this->posxpiece - 1, $tab_top + 1);
     $pdf->MultiCell($this->posxdesc - $this->posxpiece - 1, 1, '', '', 'R');
     // Comments
     $pdf->line($this->posxdesc - 1, $tab_top, $this->posxdesc - 1, $tab_top + $tab_height);
     $pdf->SetXY($this->posxdesc - 1, $tab_top + 1);
     $pdf->MultiCell($this->posxdate - $this->posxdesc - 1, 1, $outputlangs->transnoentities("Description"), '', 'L');
     // Date
     $pdf->line($this->posxdate - 1, $tab_top, $this->posxdate - 1, $tab_top + $tab_height);
     $pdf->SetXY($this->posxdate - 1, $tab_top + 1);
     $pdf->MultiCell($this->posxtype - $this->posxdate - 1, 2, $outputlangs->transnoentities("Date"), '', 'C');
     // Type
     $pdf->line($this->posxtype - 1, $tab_top, $this->posxtype - 1, $tab_top + $tab_height);
     $pdf->SetXY($this->posxtype - 1, $tab_top + 1);
     $pdf->MultiCell($this->posxprojet - $this->posxtype - 1, 2, $outputlangs->transnoentities("Type"), '', 'C');
     // Project
     $pdf->line($this->posxprojet - 1, $tab_top, $this->posxprojet - 1, $tab_top + $tab_height);
     $pdf->SetXY($this->posxprojet - 1, $tab_top + 1);
     $pdf->MultiCell($this->posxtva - $this->posxprojet - 1, 2, $outputlangs->transnoentities("Project"), '', 'C');
     // VAT
     if (empty($conf->global->MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT)) {
         $pdf->line($this->posxtva - 1, $tab_top, $this->posxtva - 1, $tab_top + $tab_height);
         $pdf->SetXY($this->posxtva - 1, $tab_top + 1);
         $pdf->MultiCell($this->posxup - $this->posxtva - 1, 2, $outputlangs->transnoentities("VAT"), '', 'C');
     }
     // Unit price
     $pdf->line($this->posxup - 1, $tab_top, $this->posxup - 1, $tab_top + $tab_height);
     $pdf->SetXY($this->posxup - 1, $tab_top + 1);
     $pdf->MultiCell($this->posxqty - $this->posxup - 1, 2, $outputlangs->transnoentities("PriceU"), '', 'C');
     // Quantity
     $pdf->line($this->posxqty - 1, $tab_top, $this->posxqty - 1, $tab_top + $tab_height);
     $pdf->SetXY($this->posxqty - 1, $tab_top + 1);
     $pdf->MultiCell($this->postotalttc - $this->posxqty, 2, $outputlangs->transnoentities("Qty"), '', 'R');
     // Total with all taxes
     $pdf->line($this->postotalttc, $tab_top, $this->postotalttc, $tab_top + $tab_height);
     $pdf->SetXY($this->postotalttc - 1, $tab_top + 1);
     $pdf->MultiCell($this->page_largeur - $this->marge_droite - $this->postotalttc, 2, $outputlangs->transnoentities("TotalTTC"), '', 'R');
     $pdf->SetTextColor(0, 0, 0);
 }
开发者ID:Samara94,项目名称:dolibarr,代码行数:65,代码来源:pdf_standard.modules.php

示例13: PutLink

    }
    function PutLink($URL, $txt)
    {
        // Escribir un hiper-enlace
        $this->SetTextColor(0, 0, 255);
        $this->SetStyle('U', true);
        $this->Write(5, $txt, $URL);
        $this->SetStyle('U', false);
        $this->SetTextColor(0);
    }
}
$html = 'Ahora puede imprimir fácilmente texto mezclando diferentes estilos: <b>negrita</b>, <i>itálica</i>,
<u>subrayado</u>, o ¡ <b><i><u>todos a la vez</u></i></b>!<br><br>También puede incluir enlaces en el
texto, como <a href="http://www.fpdf.org">www.fpdf.org</a>, o en una imagen: pulse en el logotipo.';
$pdf = new PDF();
// Primera página
$pdf->AddPage();
$pdf->SetFont('Arial', '', 20);
$pdf->Write(5, 'Para saber qué hay de nuevo en este tutorial, pulse ');
$pdf->SetFont('', 'U');
$link = $pdf->AddLink();
$pdf->Write(5, 'aquí', $link);
$pdf->SetFont('');
// Segunda página
$pdf->AddPage();
$pdf->SetLink($link);
$pdf->Image('logo.png', 10, 12, 30, 0, '', 'http://www.fpdf.org');
$pdf->SetLeftMargin(45);
$pdf->SetFontSize(14);
$pdf->WriteHTML($html);
$pdf->Output();
开发者ID:joshluq,项目名称:sysexcel,代码行数:31,代码来源:tuto6.php

示例14: while

     $szelle = 0;
     while (isset($plan[$pp]->datum) and $termine[$t]->datum == $plan[$pp]->datum and $termine[$t]->typ_id == $plan[$pp]->lid) {
         if ($content_detail !== "") {
             $termin_length += $zelle;
             $content_detail .= "\n";
         }
         $content_detail .= utf8_decode($plan[$pp]->hname) . " - " . utf8_decode($plan[$pp]->gname);
         $pp++;
     }
 }
 $termin_length = $termin_length * 5;
 //echo '<br>Termin: '.$termine[$t]->typ.' GetY: '.$pdf->GetY().'  Page: '.$page_length.' TerminL: '.$termin_length;
 if ($pdf->GetY() > $page_length - $termin_length or $tt == 0) {
     $tt = 0;
     $pdf->AddPage();
     $pdf->SetFont('Times', '', $date_font);
     $pdf->Cell(10, 3, ' ', 0, 0);
     $pdf->Cell(175, 3, utf8_decode(JText::_('WRITTEN')) . ' ' . utf8_decode(JText::_('ON_DAY')) . ' ' . utf8_decode(JHTML::_('date', $now, JText::_('DATE_FORMAT_CLM_PDF'))), 0, 1, 'R');
     $pdf->SetFont('Times', '', $head_font);
     $pdf->Cell(10, 10, ' ', 0, 0);
     $pdf->Cell(150, 10, utf8_decode(JText::_('TERMINE_HEAD')), 0, 1, 'L');
 }
 $pdf->SetFont('Times', '', $font);
 $pdf->SetTextColor(0);
 $pdf->SetFillColor(255);
 // Monatsberechnungen
 if ($t1 == 1 or $datum_arr[$t][1] > $datum_arr[$t - 1][1] or $datum_arr[$t][0] > $datum_arr[$t - 1][0]) {
     // Jahresberechnungen
     if ($t1 == 1 or $datum_arr[$t][0] > $datum_arr[$t - 1][0]) {
         $tt++;
         $pdf->SetTextColor(255);
开发者ID:kbaerthel,项目名称:com_clm,代码行数:31,代码来源:termine_long_pdf.php

示例15: Footer

         $this->Cell(8 / 100 * $width, $height, $_SESSION['lang']['jmlhTandan'], 1, 0, 'C', 1);
         $this->Cell(8 / 100 * $width, $height, $_SESSION['lang']['tahuntanam'], 1, 1, 'C', 1);
     }
     function Footer()
     {
         $this->SetY(-15);
         $this->SetFont('Arial', 'I', 8);
         $this->Cell(10, 10, 'Page ' . $this->PageNo(), 0, 0, 'C');
     }
 }
 $pdf = new PDF('P', 'pt', 'A4');
 $width = $pdf->w - $pdf->lMargin - $pdf->rMargin;
 $height = 9;
 $pdf->AddPage();
 $pdf->SetFillColor(255, 255, 255);
 $pdf->SetFont('Arial', '', 5);
 if ($pilTamp == 1) {
     exit("Error: Not privided for PDF");
 }
 if ($tipeIntex != '') {
     if ($tipeIntex != 3) {
         $where .= " and intex='" . $tipeIntex . "'";
     }
 } else {
     echo "warning: Choose FFB source";
     exit;
 }
 if ($unit != "") {
     if ($tipeIntex == 0) {
         $where .= " and kodecustomer='" . $unit . "'";
     } elseif ($tipeIntex != 0) {
开发者ID:halimc17,项目名称:magsys,代码行数:31,代码来源:pabrik_slave_2penerimaantbs.php


注:本文中的PDF::SetFont方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。