개정판 c206d293
- final service
: font 추가
Change-Id: If1a85790055b42b90f397f4e2054acc320c1ed30
KCOM/Common/InitData.cs | ||
---|---|---|
35 | 35 |
|
36 | 36 |
List<string> fontList = new List<string>(); |
37 | 37 |
fontList.Add("Arial"); |
38 |
fontList.Add("Calibri (Body)"); |
|
39 |
fontList.Add("Tahoma"); |
|
38 |
//fontList.Add("Calibri (Body)");
|
|
39 |
//fontList.Add("Tahoma");
|
|
40 | 40 |
fontList.Add("Verdana"); |
41 | 41 |
fontList.Add("Times New Roman"); |
42 | 42 |
fontList.Add("Cambria"); |
... | ... | |
55 | 55 |
{ |
56 | 56 |
comboFontFamily.SelectedItem = KCOM.Properties.Settings.Default.FontFamily; |
57 | 57 |
} |
58 |
} |
|
58 |
} |
|
59 |
|
|
60 |
public void SetFont(FontFamily fontFamily) |
|
61 |
{ |
|
62 |
foreach (var item in comboFontFamily.Items) |
|
63 |
{ |
|
64 |
if(fontFamily.FamilyNames.Select(x=>x.Value).Contains((string)item)) |
|
65 |
{ |
|
66 |
comboFontFamily.SelectedItem = item; |
|
67 |
return; |
|
68 |
} |
|
69 |
} |
|
70 |
} |
|
59 | 71 |
|
60 | 72 |
/// <summary> |
61 | 73 |
/// 폰트 설치 여부 구하기 |
내보내기 Unified diff