Community
Participate
Working Groups
Created attachment 237045 [details] rpt design We generate and preview reports using ReportEngine API (version 431) and noticed that original Arial font used in the report is substituted by ArialMT font in BIRT generated PDF output. ArialMT looks smaller and somewhat different than normal Arial. This is BIRT 431 on Windows 7 box and I am not even observing ArialMT font installed in c:\windows\fonts. Is there any way to get an actual font that was used in report design when generating a PDF document through BIRT? Maybe there is some API calls specific to that? I checked IPDFRenderOption and IRenderOption classes but nothing seems to be useful in this case. The issue can be easily recreated right in BIRT Designer>Menu:Run>View As PSF. Once PDF file is generated open it in Adobe and go to Menu:File>Properties>Fonts tab and note that Arial MT is used (not Arial). See simple report design file attached. p.s: we have a real customer issue here with a real production AP Checks report. Customer can't accept Arial MT font on bank check due to multiple space/formatting issues Thanks, Aleksey
Created attachment 237046 [details] pdf with font substituted
Hello again, Could anyone from BIRT expert team take a look at this problem? We have a really hot issue with this font substitution raised by one of our customers who are printing payroll checks report developed with Arial but substituted by Arial MT in PDF and when printing. really appreciate your input. Thanks
ArialMT is in c:\windows\fonts\arial.ttf. It is the PS font name for Arial. They should be the same. I compared the generated PDF with Web browser and MS WORD. ArialMT looks the same with Arial. Could you attach the customer's old PDF?
No, the fonts are different. Arial MT is smaller and a bit different...They are just different fonts - period. Any way we can force BIRT to PDF API to use actual design time font Arial but not Arial MT? The same thing happens to other fonts, e.g., Courier New gets replaced by Courier New MT in PDF. If you do a google search on the issue there are a lot of complains regarding this font replacement in PDF. In case of BIRT, it seems to be related with how BIRT API generates PDF in particular. It also seems that there is a way to tell PDF generation API to use actual font and not substitute it by PS (MT) font. Thanks internet links on font substitution issues: http://www.wpuniverse.com/vb/showthread.php?33162-Why-is-my-Arial-font-changed-to-ArialMT-in-the-PDF https://groups.google.com/forum/#!topic/adobe.indesign.windows/5RGGSpKILCQ http://lists.frameusers.com/pipermail/framers/2008-June/012745.html
Created attachment 237434 [details] true arial font (PPTX)
Created attachment 237435 [details] arial mt (pdf for the same report)
Arial is Arial MT. BIRT uses arial.ttf and embeds the font into PDF file. The name table in arial.ttf shows its Postcript name is "ArialMT" and font family name is "Arial". They are exactly the same when I print them out to compare them. How did you check the difference? If you compare them by printing them out, please make sure your print setting does not shrink the content. You can assign a border for the grid in your attached rpt.design to check this.