Syncope.T-*
Intelli J 에서 Design View에서 한글 깨짐 해결.
Utility 2016. 12. 9. 07:14

Edition 2016.3 ver 업데이트 부터 문제가 생겼다. Preview 에서 한글 폰트 사용시 깨진다. C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2016.3\plugins\android\lib\layoutlib\data\fonts의 fonts.xml을 열어서 부분을 다음과 같이 고친다 NanumGothic.ttf 문제는 기존에있던 NotoSansCJK-Regular.ttc 가 없어서 그렇다.

[SWT] Display Async Method.
BackEnd/Java 2016. 12. 7. 03:40

123456789101112 private static void doUpdate(final Display display, final Label target, final String value) { display.asyncExec(new Runnable() { @Override public void run() { if (!target.isDisposed()) { target.setText(value); target.getParent().layout(); } } }); }Colored by Color Scriptercs

Visual Studio 2013 이상 버전에서의 fflush 문제 해결
C 2016. 10. 13. 14:21

fflush 대신에 아래를 사용. void flushstdbin(){int ch;do ch = getchar();while (ch != EOF && ch != '\n');} char* fgetsclean(char *string){if (string[strlen(string) - 1] == '\n')string[strlen(string) - 1] = '\0';else flushstdbin(); return string;}

profile on loading

Loading...