PluginProbe
Welcart e-Commerce / 2.12.4
Welcart e-Commerce v2.12.4
2.12.4 2.12.3 2.11.35 2.12.2 2.12.1 2.11.34 2.11.33 2.11.32 2.11.31 2.11.30 1.3.16 1.3.17 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 All 292 releases
← All changes | classes/fpdf/exja.php +27 -27 1.3.42.12.4 View file →
@@ -1,27 +1,27 @@
1 -<?php
2 -require(USCES_PLUGIN_DIR.'/classes/fpdf/mbfpdf.php');
3 -
4 -// EUC-JP->SJIS 変換を自動的に行なわせる場合に mbfpdf.php 内の $EUC2SJIS を
5 -// true に修正するか、このように実行時に true に設定しても変換してくます。
6 -$GLOBALS['EUC2SJIS'] = true;
7 -
8 -$pdf=new MBFPDF();
9 -$pdf->AddMBFont(GOTHIC ,'SJIS');
10 -$pdf->AddMBFont(PGOTHIC,'SJIS');
11 -$pdf->AddMBFont(MINCHO ,'SJIS');
12 -$pdf->AddMBFont(PMINCHO,'SJIS');
13 -$pdf->AddMBFont(KOZMIN ,'SJIS');
14 -$pdf->Open();
15 -$pdf->AddPage();
16 -$pdf->SetFont(GOTHIC,'U',20);
17 -$pdf->Write(10,"MSゴシック 摂氏 18 C 湿度 83 %\n");
18 -$pdf->SetFont(PGOTHIC,'U',20);
19 -$pdf->Write(10,"MSPゴシック 摂氏 18 C 湿度 83 %\n");
20 -$pdf->SetFont(MINCHO,'U',20);
21 -$pdf->Write(10,"MS明朝 摂氏 18 C 湿度 83 %\n");
22 -$pdf->SetFont(PMINCHO,'U',20);
23 -$pdf->Write(10,"MSP明朝 摂氏 18 C 湿度 83 %\n");
24 -$pdf->SetFont(KOZMIN,'U',20);
25 -$pdf->Write(10,"小塚明朝 摂氏 18 C 湿度 83 %\n");
26 -$pdf->Output();
27 -?>
1 +<?php
2 +require(USCES_PLUGIN_DIR.'/classes/fpdf/mbfpdf.php');
3 +
4 +// EUC-JP->SJIS 変換を自動的に行なわせる場合に mbfpdf.php 内の $EUC2SJIS を
5 +// true に修正するか、このように実行時に true に設定しても変換してくます。
6 +$GLOBALS['EUC2SJIS'] = true;
7 +
8 +$pdf=new MBFPDF();
9 +$pdf->AddMBFont(GOTHIC ,'SJIS');
10 +$pdf->AddMBFont(PGOTHIC,'SJIS');
11 +$pdf->AddMBFont(MINCHO ,'SJIS');
12 +$pdf->AddMBFont(PMINCHO,'SJIS');
13 +$pdf->AddMBFont(KOZMIN ,'SJIS');
14 +$pdf->Open();
15 +$pdf->AddPage();
16 +$pdf->SetFont(GOTHIC,'U',20);
17 +$pdf->Write(10,"MSゴシック 摂氏 18 C 湿度 83 %\n");
18 +$pdf->SetFont(PGOTHIC,'U',20);
19 +$pdf->Write(10,"MSPゴシック 摂氏 18 C 湿度 83 %\n");
20 +$pdf->SetFont(MINCHO,'U',20);
21 +$pdf->Write(10,"MS明朝 摂氏 18 C 湿度 83 %\n");
22 +$pdf->SetFont(PMINCHO,'U',20);
23 +$pdf->Write(10,"MSP明朝 摂氏 18 C 湿度 83 %\n");
24 +$pdf->SetFont(KOZMIN,'U',20);
25 +$pdf->Write(10,"小塚明朝 摂氏 18 C 湿度 83 %\n");
26 +$pdf->Output();
27 +?>