Focal Point
[CASE-OPENED] PDF and imbeded fonts

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6231042741

January 05, 2006, 03:55 PM
Lenny Ward
[CASE-OPENED] PDF and imbeded fonts
I am trying to print the euro character (€) in a PDF using PostScript fonts we have purchased. The euro symbol is overstriking the next character when I use the imbeded fonts. It works ok with the standard WebFOCUS fonts.

Instead of €20 we get €0 , with the 2 underneath the euro symbol.
I am going to open a case with IBI but was wondering if someone has purchased PostSCript fonts installed if they could try this sample code agaist the CAR file to see if they get the same results.

Thanks for your help,

Lenny

DEFINE FILE CAR
EXTCHAR1/A10 = '€20';
END

TABLE FILE CAR
PRINT
MODEL AS 'Arial'
EXTCHAR1 AS 'Arial'
EXTCHAR1 AS 'Galliard'
HEADING
"Using imbeded font and extended characters"
"Outputing PDF"
" "
"Galliard is imbeded font Arial is NOT "
" "
"The Euro symbol is over writing the next character for Galliard imbeded font "
" "
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *

$ Page Margins and Orientation
UNITS=IN, PAGESIZE='Letter', LEFTMARGIN=0.30000, RIGHTMARGIN=0.30000,
TOPMARGIN=0.54000, BOTTOMMARGIN=0.30000, SQUEEZE=OFF, TOPGAP=0.01, BOTTOMGAP=0.01,

TYPE=REPORT, COLUMN=P1, FONT=Arial, STYLE=NORMAL, SIZE=10, POSITION=0.00,$
TYPE=REPORT, COLUMN=P2, FONT=Arial, STYLE=NORMAL, SIZE=10, POSITION=2.90,$
TYPE=REPORT, COLUMN=P3, FONT=Galliard, STYLE=NORMAL, SIZE=10, POSITION=3.80,$

ENDSTYLE
END

This message has been edited. Last edited by: <Kathryn Henning>,


(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
January 06, 2006, 11:28 AM
Francis Mariani
I thought we could only use the fonts specified in the WebFOCUS documentation. What's an "embedded" font? I tried coding a PostScript font I have (MACGrande), and I got the error (FOC3203) UNRECOGNIZED FONT IN STYLESHEET FILE AT LINE: 6


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
January 06, 2006, 12:16 PM
Lenny Ward
What you would have to do to test is take the MACGrande font files (the .AFM .PFB and .INF files) and copy them to your ibi\srv??\home\etc directory on your report server. You also have to include the reference to the MACGrande fonts in your C:\IBI\SRV??\HOME\ETC\PDF.FMP file.
You would add these lines for just the normal style.
font=ArialMT, style=normal, metricsfile=ARI_____ AFM *,
fontfile=ARI_____ PFB *, $

Instead of ArialMT you would use the name of your font and font files.

In the fex code I used you would change the reference to Galliard to your font name MACGrande

Lenny


(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
January 10, 2006, 10:20 AM
Francis Mariani
Lenny, thanks for the tip on embedded fonts. I wonder if this is documented anywhere, I think not.

Meanwhile, I'm still looking for a postscript font with the Euro symbol to test your fex.

Regards,

Francis.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
January 10, 2006, 10:47 AM
Tony A
Francis,

Search for case 10762015 on tech support pages.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
January 10, 2006, 10:47 AM
<DocServices>
Hi,

In the Creating Reports With WebFOCUS Language manual, the Choosing a Display Format chapter has a topic called "Adding PostScript Type 1 Fonts for PS and PDF Formats" that covers this.

For version 5.3, (DN4500580.0904) see chapter 8. For version 7.1, (DN4500695.0905) see chapter 9.

Hope this helps.

Have a good day,
Jenn
January 10, 2006, 11:13 AM
Francis Mariani
Jennifer,

Thank you for the reference to the documentation - very nice and detailed.

I was wondering if WebFOCUS supports the fairly new OpenType font format? It's a cross platform font format that can be used In Windows XP and Mac OS X.

Thanks again.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 12, 2013, 01:37 PM
neuro
I know this is old, but did anyone ever find out if OpenType Fonts are supported?


Currenly working @ Learning Circle Education Services
Previously worked @ Nationwide Insurance
Prod: WebFOCUS 7.6.11


Test: WebFOCUS 7.6.11


Dev: WebFOCUS 7.6.11
December 27, 2013, 02:42 PM
<Kathryn Henning>
Hi neuro,

There has been some font functionality added since the original topic was opened. Please open a case on InfoResponse Online so that we can verify that the specifics that you're looking for at the release of WebFOCUS that you're using have been implemented into to the product.

Thanks and regards,

Kathryn