Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327531

Summary: ≤ , ≥ and ≠ not printing in pdf
Product: z_Archived Reporter: srikanth Mising name <srikanthklkrn>
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: RESOLVED WORKSFORME QA Contact: mindan xu <mindan.xu>
Severity: normal    
Priority: P3 CC: bluesoldier, jouyang
Version: unspecified   
Target Milestone: 3.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Its an rpt design decribed in the birt
none
This the pdf... none

Description srikanth Mising name CLA 2010-10-12 05:15:20 EDT
Build Identifier: 20100617-1415

I have a simple rpt design with one dynamic text.I have assigned the text the value as ">, <, &#8804; ,&#8805;".The report generates fine in doc and the html format but When I view the Report as pdf, the '&#8804;' and '&#8805;' symbols do not does not show up..

Reproducible: Always

Steps to Reproduce:
1.create a simple rpt design.
2.Add a dynamic text to it and assign the value ">, <, &#8804; ,&#8805;".
3.View the report as PDF
Comment 1 srikanth Mising name CLA 2010-10-12 10:30:57 EDT
Created attachment 180673 [details]
Its an rpt design decribed in the birt

I have attached the report..
Comment 2 Xiaoying Gu CLA 2010-10-13 03:31:32 EDT
Can not reproduce this issue in the 2.6.0 rcp report designer release build.
Comment 3 srikanth Mising name CLA 2010-10-14 02:52:34 EDT
(In reply to comment #2)
> Can not reproduce this issue in the 2.6.0 rcp report designer release build.

I generated the pdf without chinese and korean fonts installed in Adobe..Can you please try that??
Comment 4 Xiaoying Gu CLA 2010-10-14 02:58:46 EDT
(In reply to comment #3)
> (In reply to comment #2)
> > Can not reproduce this issue in the 2.6.0 rcp report designer release build.
> I generated the pdf without chinese and korean fonts installed in Adobe..Can
> you please try that??

Could you please attach the PDF file you generated here?
Comment 5 srikanth Mising name CLA 2010-10-14 03:05:33 EDT
Created attachment 180853 [details]
This the pdf...

As soon as i open the pdf only ">, <," show up...But, adobe asks me to install the chinese and korean fonts.After installing it,the report comes fine..But i dont want to install them..please open this pdf without the chinese and korean font installed in adobe...
Comment 6 Jun Ouyang CLA 2010-10-14 03:19:54 EDT
Srikanth,

&#8804;/&#8805; are not included in any embedded font. You have to install the font which contains these 2 characters.
Comment 7 srikanth Mising name CLA 2010-10-14 03:26:13 EDT
(In reply to comment #6)
> Srikanth,
> 
> &#8804;/&#8805; are not included in any embedded font. You have to install the
> font which contains these 2 characters.

Is there anything i can do on the birt side?? Including the font in fontsConfig.xml or Encoding these characters.. something like that??
Comment 8 Jun Ouyang CLA 2010-10-14 03:35:04 EDT
If you can find an embedded font which contains these 2 characters, you can specify the font for these 2 characters specially in fontsConfig_pdf.xml like following:
	<composite-font name="all-fonts" font-family="Times-Roman">
	   <character value="\u0068" font-family="Time Roman"/>
	</composite-font>
Comment 9 srikanth Mising name CLA 2010-10-14 03:41:12 EDT
(In reply to comment #8)
> If you can find an embedded font which contains these 2 characters, you can
> specify the font for these 2 characters specially in fontsConfig_pdf.xml like
> following:
>     <composite-font name="all-fonts" font-family="Times-Roman">
>        <character value="\u0068" font-family="Time Roman"/>
>     </composite-font>

So,These fonts have to be installed for every machine..pdf emitter does not have solution like the we have for the doc and the HTML emitter where these characters print correctly..
Comment 10 srikanth Mising name CLA 2010-10-14 03:50:35 EDT
(In reply to comment #9)
> (In reply to comment #8)
> > If you can find an embedded font which contains these 2 characters, you can
> > specify the font for these 2 characters specially in fontsConfig_pdf.xml like
> > following:
> >     <composite-font name="all-fonts" font-family="Times-Roman">
> >        <character value="\u0068" font-family="Time Roman"/>
> >     </composite-font>
> 
> So,These fonts have to be installed for every machine..pdf emitter does not
> have solution like the we have for the doc and the HTML emitter where these
> characters print correctly..&#8804; , &#8805;
Comment 11 srikanth Mising name CLA 2010-10-14 03:51:08 EDT
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #8)
> > > If you can find an embedded font which contains these 2 characters, you can
> > > specify the font for these 2 characters specially in fontsConfig_pdf.xml like
> > > following:
> > >     <composite-font name="all-fonts" font-family="Times-Roman">
> > >        <character value="\u0068" font-family="Time Roman"/>
> > >     </composite-font>
> > 
> > So,These fonts have to be installed for every machine..pdf emitter does not
> > have solution like the we have for the doc and the HTML emitter where these
> > characters print correctly..
Comment 12 srikanth Mising name CLA 2010-10-14 03:56:59 EDT
(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #9)
> > > (In reply to comment #8)
> > > > If you can find an embedded font which contains these 2 characters, you can
> > > > specify the font for these 2 characters specially in fontsConfig_pdf.xml like
> > > > following:
> > > >     <composite-font name="all-fonts" font-family="Times-Roman">
> > > >        <character value="\u0068" font-family="Time Roman"/>
> > > >     </composite-font>
> > > 
> > > So,These fonts have to be installed for every machine..pdf emitter does not
> > > have solution like the we have for the doc and the HTML emitter where these
> > > characters print correctly..

Please click on the link below..The "less than or equal to" symbol is what I am trying to print in the PDF..These are Unicodes.. Is Birt PDF emitter not supporting it??

http://www.fileformat.info/info/unicode/char/2264/index.htm
Comment 13 Jun Ouyang CLA 2010-10-18 02:07:54 EDT
you can specify "Times New Roman" for these 2 characters specially in fontsConfig_pdf.xml like
following:
    <composite-font name="all-fonts" font-family="Times-Roman">
       <character value="\u0068" font-family="Times New Roman"/>
    </composite-font>

Acrobat can find Times New Roman automatically.