update dev300-m57
[ooovba.git] / applied_patches / 0031-sw-default-cjk-fontsize.diff
blobe7acc81a3a44b7379198baf1103b3220416d9ff2
1 --- sw/source/ui/inc/fontcfg.hxx 2006-11-27 16:01:56.000000000 +0800
2 +++ sw/source/ui/inc/fontcfg.hxx 2006-11-27 16:03:59.000000000 +0800
3 @@ -77,6 +77,7 @@
5 //pt-size of fonts
6 #define FONTSIZE_DEFAULT 240
7 +#define FONTSIZE_CJK_DEFAULT 210
8 #define FONTSIZE_OUTLINE 280
11 --- sw/source/ui/config/fontcfg.cxx 2006-11-27 16:57:32.000000000 +0800
12 +++ sw/source/ui/config/fontcfg.cxx 2006-11-27 16:57:45.000000000 +0800
13 @@ -325,7 +325,10 @@ sal_Int32 SwStdFontConfig::GetDefaultHei
14 case FONT_OUTLINE_CJK:
15 case FONT_OUTLINE_CTL:
16 nRet = FONTSIZE_OUTLINE;
17 - break;
18 + break;
19 + case FONT_STANDARD_CJK:
20 + nRet = FONTSIZE_CJK_DEFAULT;
21 + break;
23 if( eLang == LANGUAGE_THAI && nFontType >= FONT_STANDARD_CTL )