윈폼(Winform)
C# 실행파일에 폰트 포함
실행파일에 폰트를 포함하는 방법 프로젝트 내의 특정 폴더(ex: Resocuces)에 해당 폰트파일(들) 복사 (참고) 윈도우즈 폰트 파일 위치 : "C:\Windows\Fonts" (예제) 한컴고딕("HANCOM GOTHIC REGULAR.TTF", 휴먼편지체 보통("HMFMPYUN.TTF") Resources.resx > 리소스 추가 > 위의 폰트파일(들) 추가 FontManager.cs using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Text; using System.Runtime.InteropServices; namespace srctree { //1. 프로젝트 내의 Resources..
2021. 11. 14. 23:03
최근댓글