handle "Times Roman" font

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1163582 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-08-31 11:35:40 +00:00
parent e32b56827b
commit 20a55c5c45

View File

@ -56,7 +56,8 @@ public class DefaultFontReplacer implements FontReplacer
if ( AbstractWordUtils.isNotEmpty( original.fontName ) )
{
if ( "Times Regular".equals( original.fontName )
|| "Times-Regular".equals( original.fontName ) )
|| "Times-Regular".equals( original.fontName )
|| "Times Roman".equals( original.fontName ) )
{
original.fontName = "Times";
original.bold = false;