SAP Knowledge Base Article - Public

1456641 - Error: “Failed to export” when exporting Crystal Report with Unicode characters and Chinese fonts to PDF

Symptom

When Crystal reports having Unicode data set with Chinese fonts is exported to PDF it shows below error.

"Failed to Export"

Environment

Crystal Reports 2008 SP2

Reproducing the Issue

  1. Create a Crystal report with some Chinese data.
  2. Set one of the below mentioned fonts and export to PDF format

DFBiaoKaiShu1B
DFBiaoSong1B
DFFangSong1B
DFFangSong1B-GB
DFGirl1B
DFGuYinMedium1B
DFHei1B-GB
DFHeiBold1B
DFHeiMedium1B
DFHeiUBold1B
DFKaiShu1B-GB
DFKaiShuMedium1B
DFKanTingLiu1B
DFLiFancySong1B
DFLiHeiBold1B
DFLiHeiLight1B
DFLiHeiMedium1B
DFLiKaiShu1B
DFLiKingHei1B
DFLiShu1B
DFLiSongBold1B
DFLiSongLight1B
DFLiSongLight1B-GB
DFLiSongMedium1B
DFLiYuanBold1B
DFLiYuanXBold1B
DFMingBold1B
DFMingLight1B
DFMingMedium1B
DFMingUBold1B
DFPOP1B
DFSong1B-GB
DFSongXBold1B-GB
DFWeiBei1B-GB
DFXingShuMedium1B
DFYuanBold1B
DFYuanLight1B
DFZongYiBold1B
DFZongYiBold1B-GB

Cause

It is observed that these fonts do not work with Crystal Reports correctly while exporting to PDF.

Resolution

Use other supported fonts for unicode and Chinese characters like 'Arial Unicode MS' or 'Minglu'.

Keywords

KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

Crystal Reports 2008 V1