Prob with chinese font bold, italic... in PDF report
474652Dec 6 2005 — edited Dec 14 2005Hello everyone ! :D
My symptoms (overview) : to create my RDF report, I'm using a font, simsun.ttf, wich allow me to view chineses and french characters. Everything is ok, except in PDF format, all the items remains in "normal" style.
My configuration : Windows NT4 SP6a
Report Builder 9.0.4.2
Acrobat Reader 7.0
Oracle Database 9.2.0.6
In Detail : in report builder, every items (text fields, labels,...) are directly created with SimSun font. Some items are bold, some italic, ...
If i generate the report in RTF format, my items bold, italic, ... are ok in Microsoft Word (SimSun Bold, ...). However, if i generate the report in PDF format, everything is in "normal" style.
I changed the file UIFONT.ALI like this :
[ PDF:Subset ]
# This example shows how to subset Arial True Type font into the PDF file
# Arial = "Arial.ttf"
# The True Type font files must exist in any one of the folders specified in
# REPORTS_PATH.
SimSun..Italic.Bold.. = "SimSun.ttf"
SimSun...Bold.. = "SimSun.ttf"
SimSun..Italic... = "SimSun.ttf"
SimSun..... = "SimSun.ttf"
and also like that (just to try something else, but it does not change anything) :
[ PDF:Subset ]
# This example shows how to subset Arial True Type font into the PDF file
# Arial = "Arial.ttf"
# The True Type font files must exist in any one of the folders specified in
# REPORTS_PATH.
SimSun = "SimSun.ttf"
Obviously, with an Arial font, we can map the different files Arialb.ttf, Arialbi.ttf, ... according to the desired font style we want, but with SimSun font, there is only one file : SimSun.ttf.
Obviously, i have no choice for the font... I have to use SimSun.
Anyway, if i take a look at my PDF, the used fonts (in file>property>fonts>) i can see several personnalized fonts, each one corresponding to a SimSun style (one for SimSun, Bold, an other for SimSun, BoldItalic, ...) but everything is the same style on screen.
Does somebody have an idea??
Thanks a lot !