Ignore:
Timestamp:
2009/12/07 15:08:06 (17 years ago)
Author:
kajiwara
Message:

EC-CUBE Ver2.4.2 分コミット。詳細はこちら( http://www.ec-cube.net/release/detail.php?release_id=207

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/SC_Fpdf.php

    r18177 r18432  
    2828 */ 
    2929 
    30 require(DATA_PATH . 'pdf/japanese.php'); 
    31 define('PDF_TEMPLATE_DIR', DATA_PATH . 'pdf/'); 
     30require(DATA_PATH . 'module/pdf/japanese.php'); 
    3231define('PDF_IMG_DIR', HTML_PATH. USER_DIR. USER_PACKAGE_DIR. TEMPLATE_NAME. '/img/pdf/'); 
    3332 
     
    3635        $this->arrData = $arrData; 
    3736        // デフォルトの設定 
    38         $this->tpl_pdf = PDF_TEMPLATE_DIR . $tpl_pdf;  // テンプレートファイル 
     37        $this->tpl_pdf = PDF_DIR . $tpl_pdf;  // テンプレートファイル 
    3938        $this->pdf_download = $download;      // PDFのダウンロード形式(0:表示、1:ダウンロード) 
    4039        $this->tpl_title = $title; 
     
    123122            $this->lfText(125, 83, $text, 8);      //Email 
    124123        } 
     124 
    125125        //ロゴ画像 
    126         $logo_file = PDF_TEMPLATE_DIR . 'logo.png'; 
     126        $logo_file = PDF_IMG_DIR . 'logo.png'; 
    127127        $this->pdf->Image($logo_file, 124, 46, 40); 
    128128    } 
     
    296296    // PDF_Japanese::Text へのパーサー 
    297297    function lfText($x, $y, $text, $size, $style = '') { 
    298         $text = mb_convert_encoding($text, "SJIS", CHAR_CODE); 
     298        $text = mb_convert_encoding($text, "SJIS-win", CHAR_CODE); 
    299299 
    300300        $this->pdf->SetFont('SJIS', $style, $size); 
Note: See TracChangeset for help on using the changeset viewer.