Chinese characters in PDF reports from HR Workspace or EPortal appear as rectangular boxes because the web server is missing or has a corrupted Arial Unicode MS font, which Stimulsoft Reports requires for rendering. This issue triggers errors like "Font 'Arial Unicode MS' does not support style 'Regular'" and "Exception in PdfFonts.GetFontMetrics... A generic error occurred in GDI+".
HRPro 的 PDF 報表常見問題包括中文字符顯示為方形方塊,這通常源於字型或編碼支援不足。
修復方法涵蓋網頁客戶端與 EPortal 的字型設定調整,以及確保 Unicode 完整支援以顯示繁體中文。
PDF reports show Chinese characters as boxes or tofu glyphs.
2. Font style support errors for Arial Unicode MS Regular.
3. GDI+ exceptions during PDF font metrics retrieval.
PDF 報表將中文字符顯示為方塊或豆腐塊。
Arial Unicode MS Regular 字型樣式支援錯誤。
PDF 字型度量擷取期間發生 GDI+ 例外。
The server lacks the Arial Unicode MS (ARIALUNI.TTF) font needed for CJK glyph rendering in the reports, common in ASP.NET setups without Microsoft Office. Corruption or installation issues prevent GDI+ access, affecting multilingual PDFs.
伺服器缺少用於報表中 CJK 字形渲染的 Arial Unicode MS (ARIALUNI.TTF) 字型,這在未安裝 Microsoft Office 的 ASP.NET 環境中很常見。
字型損壞或安裝問題阻礙 GDI+ 存取,進而影響多語言 PDF 生成。
此問題源於 Windows 伺服器預設不包含完整 Unicode 字型支援,需手動安裝以確保中文顯示正常。
Locate ARIALUNI.TTF in the fonts subfolder of HR Workspace or EPortal site directory.
Right-click the file in Windows Explorer and select "Install for all users" to add it system-wide.
Reboot the server to ensure IIS and reporting services reload the font.
在 HR Workspace 或 EPortal 站點目錄的 fonts 子資料夾中找到 arialuni.ttf 檔案。
在 Windows 檔案總管中右鍵點擊該檔案,選擇「安裝給所有使用者」以系統範圍新增字型。
重新啟動伺服器,以確保 IIS 和報表服務重新載入字型。