이 페이지에서

임베디드 리눅스용 Qt 글꼴

Qt는 일반적으로 fontconfig 를 사용하여 시스템 글꼴에 대한 액세스를 제공합니다. 예를 들어, 공간이 매우 제한적인 전용 임베디드 시스템에서 fontconfig 를 사용할 수 없는 경우, Qt는 QBasicFontDatabase 를 대신 사용합니다. 이 경우 Qt 애플리케이션은 Qt의 lib/fonts/ 디렉터리에 있는 글꼴을 검색합니다. Qt는 미리 렌더링된 글꼴과 트루타입(TrueType) 글꼴을 자동으로 감지합니다.

Qt는 FreeType 2 글꼴 엔진을 사용하여 글꼴을 출력합니다. 지원되는 형식은 로컬에 설치된 FreeType 라이브러리 버전에 따라 다릅니다.

FreeType 글꼴 엔진 설정 옵션을 보여주는 QConfig 도구

지원되는 모든 글꼴은 유니코드 문자 인코딩을 사용합니다. 현재 사용 가능한 대부분의 글꼴이 유니코드를 지원하지만, 일반적으로 모든 유니코드 문자를 포함하고 있지는 않습니다. 완전한 16포인트 유니코드 글꼴은 1MB 이상의 메모리를 사용합니다.

FreeType 형식

FreeType 2 라이브러리는 다음 글꼴 형식을 지원합니다:

  • TrueType (TTF)
  • PostScript Type1 (PFA/PFB)
  • 비트맵 배포 형식(BDF)
  • CID 키 기반 Type1
  • 컴팩트 글꼴 형식(CFF)
  • OpenType 글꼴
  • SFNT 기반 비트맵 글꼴
  • 이식형 컴파일 형식(PCF)
  • Microsoft Windows 글꼴 파일 형식(Windows FNT)
  • 이동식 글꼴 리소스(PFR)
  • Type 42 (제한적 지원)

FreeType 2 글꼴 엔진에 모듈을 추가하여 다른 유형의 글꼴 파일을 지원할 수 있습니다. 자세한 내용은 글꼴 엔진 공식 웹사이트( https://freetype.sourceforge.net/freetype2/index.html)를 참조하십시오.

FreeType을 사용하여 렌더링된 글리프는 애플리케이션 간에 효율적으로 공유되어 메모리 요구량을 줄이고 텍스트 렌더링 속도를 높입니다.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.