Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » no embedding
no embedding [message #1274416] Fri, 21 March 2014 12:43 Go to next message
Marina Orth is currently offline Marina Orth
Messages: 37
Registered: September 2012
Member
Hi,

BIRT embedd not standard fonts into pdf-reports per default. After printing this reports with a pdf-printer i've got problems. i don't want birt to embedd any fonts.

now i've tried:

PDFRenderOption pdfOptions = new PDFRenderOption(options);
pdfOptions.setOption( IPDFRenderOption.IS_EMBEDDED_FONT, false);
pdfOptions.setEmbededFont(false);

But IS_EMBEDDED_FONT and SetEmbededFont are both deprecated. Is there any alternative? What can i do?

Kind regards

Marina
Re: no embedding [message #1282298 is a reply to message #1274416] Wed, 02 April 2014 05:07 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1595
Registered: July 2009
Senior Member

The 4.3.2 JavaDoc doesn't show "setEmbeddedFont" as deprecated. Are you having issues using this?

http://developer.actuate.com/be/documentation/JAVADOCS/BIRT-4.3.2/org.eclipse.birt.doc.isv/engine/api/org/eclipse/birt/report/engine/api/PDFRenderOption.html


Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: no embedding [message #1310583 is a reply to message #1282298] Wed, 23 April 2014 09:12 Go to previous message
Marina Orth is currently offline Marina Orth
Messages: 37
Registered: September 2012
Member
Hi,

sorry for late answer but i was on vacation.

Yes, i've read this issue. And so i've tried.

The compiler prints following info:

Quote:
23.04.2014 11:06:46 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
INFO: load font config in jar:file:/C:/Users/Pragma/workspace2/CallReportEngine/lib/org.eclipse.birt.runtime_3.7.2.v20120214-1408.jar!/fontsConfig.xml cost 8ms
23.04.2014 11:06:46 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/ja/X11/fonts/TT cost:0ms
23.04.2014 11:06:46 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_13/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:46 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/ru.ansi-1251/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:46 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_15/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:46 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in d:/windows/fonts cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in C:/windows/fonts cost:414ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/truetype cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/ar/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in e:/WINNT/fonts cost:3ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in C:/WINNT/fonts cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_2/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/tt cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/th_TH/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_8/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_7/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/TTF cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/truetype cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in f:/WINNT/fonts cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in g:/WINNT/fonts cost:1ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_5/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in f:/windows/fonts cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in d:/WINNT/fonts cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/ko/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh_TW/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in e:/windows/fonts cost:3ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/zh_TW/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/ja/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh_CN.GB18030/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/default/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X/lib/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/euro_fonts/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/hi_IN.UTF-8/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh.GBK/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/OTF cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/iso_8859_9/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/X11R6/lib/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh_TW.BIG5/X11/fonts/TT cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/ko/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh_HK.BIG5HK/X11/fonts/TT cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/KOI8-R/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/openwin/lib/locale/zh/X11/fonts/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in /usr/share/fonts/zh_CN/TrueType cost:0ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory$2 run
INFO: register fonts in g:/windows/fonts cost:1ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
INFO: load font config in jar:file:/C:/Users/Pragma/workspace2/CallReportEngine/lib/org.eclipse.birt.runtime_3.7.2.v20120214-1408.jar!/fontsConfig_win32.xml cost 1ms
23.04.2014 11:06:47 org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
INFO: load font config in jar:file:/C:/Users/Pragma/workspace2/CallReportEngine/lib/org.eclipse.birt.runtime_3.7.2.v20120214-1408.jar!/fontsConfig_pdf.xml cost 1ms


If you check properties of pdf file attached you see that fonts are still embedded. Any ideas why?

Kind regards

Marina

[Updated on: Wed, 23 April 2014 09:15]

Report message to a moderator

Previous Topic:Strange behaviour in creating PDF output
Next Topic:BIRT Viewer URL __timezone Parameter
Goto Forum:
  


Current Time: Tue Sep 16 19:31:25 GMT 2014

Powered by FUDForum. Page generated in 0.01762 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software