개정판 24c5e56c
- final pdf Font 추가
- Markus navi 속도 최적화 Key input 최적화
Change-Id: I7f2cf1933e86017d7b1df9ef4bd3048a8e80a653
FinalService/KCOM_FinalService/Markus.Fonts/FontDictionary.cs | ||
---|---|---|
14 | 14 |
|
15 | 15 |
public const string FONT_CALIBRI_BODY = "NanumSquareRoundR.ttf"; |
16 | 16 |
|
17 |
public const string FONT_TIMES_NEW_ROMAN = "NanumMyeongjo.ttf"; |
|
17 |
public const string FONT_TIMES_NEW_ROMAN = "NanumMyeongjo-Regular.ttf";
|
|
18 | 18 |
|
19 | 19 |
public const string FONT_VERDANA = "Verdana.ttf"; |
20 | 20 |
|
21 |
|
|
22 |
public class MarkusFont |
|
23 |
{ |
|
24 |
public string FileName { get; set; } |
|
25 |
public string[] FamilyNames { get; set; } |
|
26 |
} |
|
27 |
|
|
28 | 21 |
public static List<MarkusFont> GetMarkusFonts() |
29 | 22 |
{ |
30 | 23 |
return new List<MarkusFont> |
31 | 24 |
{ |
32 | 25 |
new MarkusFont |
33 | 26 |
{ |
34 |
FileName = FONT_ARIAL, |
|
35 |
FamilyNames = new [] {"Arial"} |
|
27 |
ResourceName = FONT_ARIAL, |
|
28 |
FamilyNames = new [] {"Arial"}, |
|
29 |
IsDefault = true |
|
36 | 30 |
}, |
37 | 31 |
new MarkusFont |
38 | 32 |
{ |
39 |
FileName = FONT_CALIBRI_BODY,
|
|
33 |
ResourceName = FONT_CALIBRI_BODY,
|
|
40 | 34 |
FamilyNames = new [] {"Calibri (Body)"} |
41 | 35 |
}, |
42 | 36 |
new MarkusFont |
43 | 37 |
{ |
44 |
FileName = FONT_VERDANA,
|
|
38 |
ResourceName = FONT_VERDANA,
|
|
45 | 39 |
FamilyNames = new [] {"Verdana"} |
46 | 40 |
}, |
47 | 41 |
new MarkusFont |
48 | 42 |
{ |
49 |
FileName = FONT_TIMES_NEW_ROMAN,
|
|
43 |
ResourceName = FONT_TIMES_NEW_ROMAN,
|
|
50 | 44 |
FamilyNames = new [] { "Times New Roman" } |
51 | 45 |
} |
52 | 46 |
}; |
... | ... | |
56 | 50 |
{ |
57 | 51 |
MarkusFont result = new MarkusFont |
58 | 52 |
{ |
59 |
FileName = FONT_ARIAL,
|
|
53 |
ResourceName = FONT_ARIAL,
|
|
60 | 54 |
FamilyNames = new[] { "Arial" } |
61 | 55 |
}; |
62 | 56 |
|
내보내기 Unified diff