개정판 10df01b4
issue #937: Final시 텍스트가 잘리는 현상 수정
Change-Id: I51be12df2188d7ec9a2df0854a3123c294bd06bc
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs | ||
---|---|---|
114 | 114 |
return angle; |
115 | 115 |
} |
116 | 116 |
|
117 |
public string replaceXY(string text) |
|
118 |
{ |
|
119 |
return text.Replace(@"_x", @"X").Replace(@"_y", @"Y"); |
|
120 |
|
|
121 |
} |
|
122 |
|
|
123 |
|
|
124 |
|
|
125 | 117 |
#endregion |
126 | 118 |
|
127 | 119 |
#region 생성자 & 소멸자 |
... | ... | |
788 | 780 |
using (S_TextControl control = JsonSerializerHelper.JsonDeserialize<S_TextControl>(item)) |
789 | 781 |
{ |
790 | 782 |
string[] data2 = control.SizeSet.Split(delimiterChars2, StringSplitOptions.RemoveEmptyEntries); |
791 |
string Text = " " + replaceXY(control.Text);
|
|
783 |
string Text = control.Text;
|
|
792 | 784 |
|
793 | 785 |
bool isUnderline = false; |
794 | 786 |
control.BoxW -= scaleWidth; |
... | ... | |
915 | 907 |
|
916 | 908 |
if (Paint == PaintSet.Hatch) |
917 | 909 |
{ |
918 |
Text = replaceXY(control.ArrowText);
|
|
910 |
Text = control.ArrowText;
|
|
919 | 911 |
} |
920 | 912 |
else |
921 | 913 |
{ |
922 |
Text = " " + replaceXY(control.ArrowText);
|
|
914 |
Text = control.ArrowText;
|
|
923 | 915 |
} |
924 | 916 |
|
925 | 917 |
try |
내보내기 Unified diff