SDL_ttf
Support for TrueType (.ttf) font files with Simple Directmedia Layer.
파일 탐색기
최종 버전 다운로드 (.zip)- action.yml
- main.yml
- release.yml
- SDL3_ttfConfig.cmake
- SDL3_ttfConfigVersion.cmake.in
- __main__.py.in
- description.json.in
- INSTALL.md.in
- SDL3_ttfConfig.cmake
- SDL3_ttfConfigVersion.cmake
- INSTALL.md.in
- Makefile
- INSTALL.md.in
- SDL3_ttfConfig.cmake.in
- SDL3_ttfConfigVersion.cmake.in
- INSTALL.md.in
- INSTALL.md.in
- INSTALL.md.in
- build-release.py
- check_elf_alignment.sh
- cmake-toolchain-mingw64-i686.cmake
- cmake-toolchain-mingw64-x86_64.cmake
- create-release.py
- release-info.json
- rename_api.py
- rename_symbols.py
- SDL_migration.cocci
- test-versioning.sh
- wikiheaders.pl
- CMakeLists.txt
- main.c
- CPackProjectConfig.cmake.in
- Findharfbuzz.cmake
- Findplutosvg.cmake
- Findplutovg.cmake
- GetGitRevisionDescription.cmake
- GetGitRevisionDescription.cmake.in
- PkgConfigHelper.cmake
- PrivateSdlFunctions.cmake
- sdl3-ttf.pc.in
- SDL3_ttfConfig.cmake.in
- sdlcpu.cmake
- sdlmanpages.cmake
- sdlplatform.cmake
- hello-textengine.c
- hello.c
- INTRO-androidstudio.md
- INTRO-cmake.md
- INTRO-emscripten.md
- INTRO-visualstudio.md
- INTRO-xcode.md
- README-migration.md
- README-versions.md
- release_checklist.md
- build-shaders.sh
- shader-sdf.frag.dxil.h
- shader-sdf.frag.hlsl
- shader-sdf.frag.msl.h
- shader-sdf.frag.spv.h
- shader-solid.frag.dxil.h
- shader-solid.frag.hlsl
- shader-solid.frag.msl.h
- shader-solid.frag.spv.h
- shader.frag.dxil.h
- shader.frag.hlsl
- shader.frag.msl.h
- shader.frag.spv.h
- shader.vert.dxil.h
- shader.vert.hlsl
- shader.vert.msl.h
- shader.vert.spv.h
- SDL_math3d.h
- editbox.c
- editbox.h
- glfont.c
- showfont.c
- showfps.c
- testapp.c
- testgltext.c
- testgputext.c
- download.sh
- freetype
- Get-GitModules.ps1
- harfbuzz
- plutosvg
- plutovg
- SDL_textengine.h
- SDL_ttf.h
- sdl3_ttf-config-version.cmake
- sdl3_ttf-config.cmake
- genexports.py
- SDL_gl_textengine.c
- SDL_gpu_textengine.c
- SDL_hashtable.c
- SDL_hashtable.h
- SDL_hashtable_names.h
- SDL_hashtable_ttf.c
- SDL_hashtable_ttf.h
- SDL_renderer_textengine.c
- SDL_surface_textengine.c
- SDL_ttf.c
- SDL_ttf.exports
- SDL_ttf.sym
- stb_rect_pack.h
- version.rc
- glfont.vcxproj
- showfont.vcxproj
- clean.sh
- SDL_ttf.sln
- SDL_ttf.vcxproj
- SDL_ttf.vcxproj.filters
- SDL.h
- SDL_assert.h
- SDL_asyncio.h
- SDL_atomic.h
- SDL_audio.h
- SDL_begin_code.h
- SDL_bits.h
- SDL_blendmode.h
- SDL_camera.h
- SDL_clipboard.h
- SDL_close_code.h
- SDL_copying.h
- SDL_cpuinfo.h
- SDL_dialog.h
- SDL_egl.h
- SDL_endian.h
- SDL_error.h
- SDL_events.h
- SDL_filesystem.h
- SDL_gamepad.h
- SDL_gpu.h
- SDL_guid.h
- SDL_haptic.h
- SDL_hidapi.h
- SDL_hints.h
- SDL_init.h
- SDL_intrin.h
- SDL_iostream.h
- SDL_joystick.h
- SDL_keyboard.h
- SDL_keycode.h
- SDL_loadso.h
- SDL_locale.h
- SDL_log.h
- SDL_main.h
- SDL_main_impl.h
- SDL_messagebox.h
- SDL_metal.h
- SDL_misc.h
- SDL_mouse.h
- SDL_mutex.h
- SDL_oldnames.h
- SDL_opengl.h
- SDL_opengl_glext.h
- SDL_opengles.h
- SDL_opengles2.h
- SDL_opengles2_gl2.h
- SDL_opengles2_gl2ext.h
- SDL_opengles2_gl2platform.h
- SDL_opengles2_khrplatform.h
- SDL_pen.h
- SDL_pixels.h
- SDL_platform.h
- SDL_platform_defines.h
- SDL_power.h
- SDL_process.h
- SDL_properties.h
- SDL_rect.h
- SDL_render.h
- SDL_revision.h
- SDL_scancode.h
- SDL_sensor.h
- SDL_stdinc.h
- SDL_storage.h
- SDL_surface.h
- SDL_system.h
- SDL_thread.h
- SDL_time.h
- SDL_timer.h
- SDL_touch.h
- SDL_tray.h
- SDL_version.h
- SDL_video.h
- SDL_vulkan.h
- Info.plist
- LICENSE.txt
- README.md
- SDL3.tbd
- SDL.h
- SDL_assert.h
- SDL_asyncio.h
- SDL_atomic.h
- SDL_audio.h
- SDL_begin_code.h
- SDL_bits.h
- SDL_blendmode.h
- SDL_camera.h
- SDL_clipboard.h
- SDL_close_code.h
- SDL_copying.h
- SDL_cpuinfo.h
- SDL_dialog.h
- SDL_egl.h
- SDL_endian.h
- SDL_error.h
- SDL_events.h
- SDL_filesystem.h
- SDL_gamepad.h
- SDL_gpu.h
- SDL_guid.h
- SDL_haptic.h
- SDL_hidapi.h
- SDL_hints.h
- SDL_init.h
- SDL_intrin.h
- SDL_iostream.h
- SDL_joystick.h
- SDL_keyboard.h
- SDL_keycode.h
- SDL_loadso.h
- SDL_locale.h
- SDL_log.h
- SDL_main.h
- SDL_main_impl.h
- SDL_messagebox.h
- SDL_metal.h
- SDL_misc.h
- SDL_mouse.h
- SDL_mutex.h
- SDL_oldnames.h
- SDL_opengl.h
- SDL_opengl_glext.h
- SDL_opengles.h
- SDL_opengles2.h
- SDL_opengles2_gl2.h
- SDL_opengles2_gl2ext.h
- SDL_opengles2_gl2platform.h
- SDL_opengles2_khrplatform.h
- SDL_pen.h
- SDL_pixels.h
- SDL_platform.h
- SDL_platform_defines.h
- SDL_power.h
- SDL_process.h
- SDL_properties.h
- SDL_rect.h
- SDL_render.h
- SDL_revision.h
- SDL_scancode.h
- SDL_sensor.h
- SDL_stdinc.h
- SDL_storage.h
- SDL_surface.h
- SDL_system.h
- SDL_thread.h
- SDL_time.h
- SDL_timer.h
- SDL_touch.h
- SDL_tray.h
- SDL_version.h
- SDL_video.h
- SDL_vulkan.h
- Info.plist
- LICENSE.txt
- README.md
- SDL3.tbd
- Current
- Headers
- Resources
- SDL3.tbd
- SDL3_ttfConfig.cmake
- SDL3_ttfConfigVersion.cmake
- INSTALL.md
- INSTALL.md
- SDL_DS_Store
- SDL3_ttfConfig.cmake
- SDL3_ttfConfigVersion.cmake
- sdl_logo.pdf
- project.pbxproj
- macOS.entitlements
- project.pbxproj
- config.xcconfig
- config.xcconfig
- Info-Framework.plist
- .clang-format
- .editorconfig
- .gitignore
- .gitmodules
- .wikiheaders-options
- Android.mk
- CHANGES.txt
- CMakeLists.txt
- INSTALL.md
- LICENSE.txt
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/libsdl-org/SDL_ttf
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd SDL_ttf
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. CMake
보통 추천사전 준비물
mkdir build && cd build
빌드 결과물을 담을 폴더를 만들고 그 안으로 이동합니다.
cmake ..
소스코드를 분석해 빌드 설정 파일을 생성합니다 (build 폴더 안에서 실행해야 함).
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).
3. .NET
보통cd VisualC
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
dotnet restore
프로젝트에 필요한 패키지를 내려받습니다.
dotnet run
프로젝트를 빌드하고 바로 실행합니다.
dotnet run 실행 후 터미널에 나타나는 안내 메시지나 주소를 확인하세요.
4. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd build-scripts/pkg-support/mingw
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
