You added fonts to your application (/apps/yourapplication/fonts/). Fonts are displayed correctly until you restart your instance. After the restart, the fonts are system fonts. You use


Use instead of

This class is a wrapper for the class, which provides the functionality to seamlessly support multiple font formats and sources. All API methods are delegated to an instance of (an extension of) the class, which is set up in the constructor.

The constructor tries a list of configured font providers to get the delegatee. It falls back to the class if none of the configured font providers can provide the desired font.

Additional information

When the font is imported (that is "added to the fonts directory"), the system loads the font through the java.awt.Font class for registration in the .fontlist. Then, the font is not only known to the ContentBus, but also to the system. only knows about the fonts, which are also known to the Java VM through the java.awt.Font class. Therefore, the script works after import, but not after restart, when the system does not know the font anymore.

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책