IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Adding Fonts to WebFOCUS Reporting
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Does IBI allow sites to add fonts. Our company's recommendations is using AGarmond and Myriad Pro which I can't find anywhere in WebFOCUS
 
Posts: 11 | Registered: August 25, 2006Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
Tom F,

From the IBI website:

quote:
How to add FONTs to FORMAT PDF output?
Case: 81131043 Product: WebFOCUS Release: 436 SP2 Primary OS: UNIX Date: 03/05/05
Case information refers to the Product, Release, and OS for which this question was asked. The solution may apply to other Products, Releases, and Operating Systems.

Problem:

How to add FONTs to FORMAT PDF output?


Solution:

The steps for adding additional PDF fonts are as follows:

1. Copy the test.pfb and the test.afm files to the //ibi/srv51/home/etc
directory. Please note that if using FTP, the PFB file is BINARY while the
AFM file is ASCII.

2. Modify the PDF.FTM file with the following:
font=Helvetica Condensed Light, style=normal, metricsfile=TEST AFM *,
fontfile=TEST PFB *,$

3. Within the stylesheet, the notation would be:
FONT='Helvetica Condensed Light'

An example would be as follows:
TABLE FILE CAR
PRINT CAR CAR
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=N1, FONT='Helvetica Condensed Light',$
TYPE=DATA, COLUMN=N2, FONT=HELVETICA,$
ENDSTYLE
END

For additional information on this, please see the Creating Reports With
WebFOCUS Language 5.2.0(dn4500513.0303) manual on page 8-10.



quote:

Instructions to setup various fonts can be found in Chapter 9 of the Creating
Reports with WebFOCUS Language, Version
7 Release 1 (DN4500695.0905) which can be retrieved using the URL:

http://documentation.informationbuilders.com/masterinde...rlang/wf71crlang.pdf


Tom Flynn
WebFOCUS 5.2.2 thru 7.6.x
Windows, Unix, MVS
 
Posts: 669 | Location: Richmond, VA | Registered: January 31, 2006Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
If you are talking about fonts for a PDF you can install post script fonts on your report server and make them available to WebFOCUS.

The font files go in \ibi\srv??\home\etc folder

You add the references to the fonts in PDF.FMP


(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
 
Posts: 106 | Location: Boston | Registered: April 23, 2003Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
I also responded to a post for this a couple weeks back. To simplify things, I have added an app folder (which is included in the APP PATH) and store all of our custom fonts in this directory along with a copy of the PDF.FMP that has been modified to include references to our new fonts. That way I have access to them as application files instead of having to wade through system directories.
A couple things to remember - these must be Adobe PostScript Type1 fonts which include both .PFB and .AFM files. WF cannot use TrueType fonts, but there are utilities (such as ttf2pt1) to convert them to Type 1 fonts. These work for both .PS and .PDF output.


Regards,

Darin



WF Server: 7.1.6 on Z/OS and Linux, ReportCaster, Self-Service, MRE, Java
Data: DB2, DB2/UDB, Adabas, SQL Server Output: HTML,PDF,Excel2K
WF Client: Linux w/WebSphere, Servlet, CGI
 
Posts: 1318 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
Darin,

Adding a FOLDER to the APP PATH sounds like a good idea. Because I have them in a system folder my fonts and PDF.FMP file get wiped out every time I upgrade WebFOCUS.

Lenny


(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
 
Posts: 106 | Location: Boston | Registered: April 23, 2003Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
Just need to make sure that when you upgrade, the font map files (PDF.FMP) is still valid for that version - but it hasn't changed for several versions now.
The manual says they need to be in the system folder, but somewhere along the way, I read that they only need to be in the EDAPATH, so this works good. We also keep our company logos and other images that we put on our reports in this same application folder


Regards,

Darin



WF Server: 7.1.6 on Z/OS and Linux, ReportCaster, Self-Service, MRE, Java
Data: DB2, DB2/UDB, Adabas, SQL Server Output: HTML,PDF,Excel2K
WF Client: Linux w/WebSphere, Servlet, CGI
 
Posts: 1318 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Thanks for the ideas. At this time, we are not going to persue the process.
 
Posts: 11 | Registered: August 25, 2006Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Adding Fonts to WebFOCUS Reporting

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.