사용자 지정 글꼴 사용

장치에서 미리 볼 때 사용자 지정 글꼴을 사용하려면 글꼴을 프로젝트 폴더로 가져와야 합니다. Qt Creator 은 글꼴을 UI와 함께 장치에 배포합니다.

참고: 실행 중인 숫자에 애니메이션을 적용하려는 경우 고정 너비 글꼴을 사용하여 숫자가 변경될 때 화면에서 숫자가 점프하는 것처럼 보이지 않도록 하세요.

글꼴을 추가하려면 다음과 같이 하세요:

  1. Assets > 더하기 버튼 을 선택합니다.
  2. 글꼴 파일이 들어 있는 폴더를 찾아서 선택한 다음 Open 을 선택합니다.
  3. Add Resources 대화 상자에서 파일을 저장할 위치를 선택합니다.
  4. OK 을 선택하여 글꼴을 저장합니다.

글꼴이 PropertiesFont 속성에 대한 글꼴 목록에 추가됩니다.

방법도참조하세요 : Qt Quick UI 디자인하기, Qt Quick UI 디자인하기 Qt Quick UI 디자인하기 참조하세요.

Copyright © The Qt Company Ltd. and other contributors. 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.