From 9b462e941d63fe00b7e966dd01b3e43b1a71be65 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Tue, 21 Feb 2012 14:17:35 +0000 Subject: [PATCH] Reset Theme.php charset to UTF-8 without BOM as fix for far-eastern fonts git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86736 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Writer/Excel2007/Theme.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Classes/PHPExcel/Writer/Excel2007/Theme.php b/Classes/PHPExcel/Writer/Excel2007/Theme.php index 9f22065b..7c4ef36d 100644 --- a/Classes/PHPExcel/Writer/Excel2007/Theme.php +++ b/Classes/PHPExcel/Writer/Excel2007/Theme.php @@ -219,25 +219,25 @@ class PHPExcel_Writer_Excel2007_Theme extends PHPExcel_Writer_Excel2007_WriterPa // a:font $objWriter->startElement('a:font'); $objWriter->writeAttribute('script', 'Jpan'); - $objWriter->writeAttribute('typeface', '?? ?????'); + $objWriter->writeAttribute('typeface', 'MS Pゴシック'); $objWriter->endElement(); // a:font $objWriter->startElement('a:font'); $objWriter->writeAttribute('script', 'Hang'); - $objWriter->writeAttribute('typeface', '?? ??'); + $objWriter->writeAttribute('typeface', '맑은 고딕'); $objWriter->endElement(); // a:font $objWriter->startElement('a:font'); $objWriter->writeAttribute('script', 'Hans'); - $objWriter->writeAttribute('typeface', '??'); + $objWriter->writeAttribute('typeface', '宋体'); $objWriter->endElement(); // a:font $objWriter->startElement('a:font'); $objWriter->writeAttribute('script', 'Hant'); - $objWriter->writeAttribute('typeface', '????'); + $objWriter->writeAttribute('typeface', '新細明體'); $objWriter->endElement(); // a:font @@ -413,25 +413,25 @@ class PHPExcel_Writer_Excel2007_Theme extends PHPExcel_Writer_Excel2007_WriterPa // a:font $objWriter->startElement('a:font'); $objWriter->writeAttribute('script', 'Jpan'); - $objWriter->writeAttribute('typeface', '?? ?????'); + $objWriter->writeAttribute('typeface', 'MS Pゴシック'); $objWriter->endElement(); // a:font $objWriter->startElement('a:font'); $objWriter->writeAttribute('script', 'Hang'); - $objWriter->writeAttribute('typeface', '?? ??'); + $objWriter->writeAttribute('typeface', '맑은 고딕'); $objWriter->endElement(); // a:font $objWriter->startElement('a:font'); $objWriter->writeAttribute('script', 'Hans'); - $objWriter->writeAttribute('typeface', '??'); + $objWriter->writeAttribute('typeface', '宋体'); $objWriter->endElement(); // a:font $objWriter->startElement('a:font'); $objWriter->writeAttribute('script', 'Hant'); - $objWriter->writeAttribute('typeface', '????'); + $objWriter->writeAttribute('typeface', '新細明體'); $objWriter->endElement(); // a:font