範例:指定 TrueType 字型目錄旗標

在 PDF 驅動程式產生範本的輸出檔時,它會檢查一般字型目錄中是否有所要使用的字型。如果系統在非預設目錄中安裝了其他字型,您可以在 Launcher 應用程式的配置檔中指定這些字型目錄。

關於這項作業

Windows
圖示 一般 Windows 字型目錄:
  • C:\Windows\Fonts
Linux
圖示 一般 Linux 字型目錄:
  • /usr/share/fonts
  • /usr/local/share/fonts
  • /usr/X11R6/lib/X11/fonts

程序

  1. 利用文字編輯器來開啟 Document Studio 應用程式的配置檔。 配置檔的預設位置如下:RPE_HOME\studio\rpe-studio.ini
  2. -Dcom.ibm.rational.rpe.pdf.truetypefontdirectory 和字型目錄新增至檔案尾端。 請使用分號來區隔多個目錄。 範例:
    • Windows
圖示-Dcom.ibm.rational.rpe.pdf.truetypefontdirectory=C:\Windows\Fonts;d:\fontlib
    • Linux
圖示-Dcom.ibm.rational.rpe.pdf.truetypefontdirectory=/usr/share/font;/usr/local/share/fonts
  3. 儲存變更。

意見