Gary,
I found this:   http://afpcinc.org/wp-content/uploads/2016/08/Using-OpenType-Fonts-in-an-AFP-System.pdf ;
I have attached a copy here.
It explains what that AFP Resource Installer does (or did) on page 11.
I found the ".RAT" file they mentioned, here:
    /QIBM/ProdData/OS400/Fonts/TTFonts/IBM_DataObjectFont.rat 
 but it is a binary file, and I cannot make sense out of the contents (yet).
Mark On Saturday, December 4, 2021, 06:23:00 PM EST, Gary Kuznitz <docfxit@xxxxxxxxxxxx> wrote:

I'm trying use my own font when printing with DDS in a
PRTF file.

A            FRMATU        38          POSITION( .5  .0)               
A                                      FONTNAME('ZAFCHAMI'  +           
A                                        (*POINTSIZE 16.0)  +           
A                                        (*CODEPAGE
KDICHANGES/PCL5CMDS))

The font name is: ZAFCHAMI.TTF
I think I have the *Codepage wrong but I don't know
what it should be.

I have copied the file ZAFCHAMI.TTF
into the IFS in both of these folders:
/QIBM/ProdData/OS400/Fonts/TTFonts for IBM supplied
fonts.
/QIBM/UserData/OS400/Fonts/TTFonts for user fonts.

I have recreated the index file with this cmd:
DLTUSRIDX USRIDX(QUSRSYS/QGSTTFIDX)

Has anyone been successful in using their own TTF font?

Does anyone have any idea what I might be doing
wrong?

Thank you,

Gary Kuznitz



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.