Hey Ricky,
I typically use a selection of fonts. Below I added about 10 fonts to my AFP source. In the example listed below, I used the Helvetica and a Helvetica Bold font, then I just selected which one to use in my layout.
                           Change Source Overlay Font
 Font number  . . . . . . . . :   1
 Font type  . . . . . . . . . :   1          Font and character identifier
 Type choices, press Enter.
   Font:
     Identifier . . . . . . . .   2304       1-65535
     Point size . . . . . . . .   12.0       0.1-999.9, *NONE
   Character identifier:
     Graphic character set  . .   *SYSVAL    1-32767, *SYSVAL
     Code page  . . . . . . . .              1-32767
   Text 'description' . . . . .   2304 Helv 12pt
                                 Change Source Overlay Font
 Font number  . . . . . . . . :   2
 Font type  . . . . . . . . . :   1          Font and character identifier
 Type choices, press Enter.
   Font:
     Identifier . . . . . . . .   2305       1-65535
     Point size . . . . . . . .   10.0       0.1-999.9, *NONE
   Character identifier:
     Graphic character set  . .   *SYSVAL    1-32767, *SYSVAL
     Code page  . . . . . . . .              1-32767
   Text 'description' . . . . .   2305 Helv Bld 10pt
                         Work with Source Overlay Fonts
 Type options, press Enter.
   2=Change   5=Display   9=Set initial font
            Font
 Opt       Number     Text
         *DEFAULT     Courier 10
                1     2304 Helv 12pt
                2     2305 Helv Bld 10pt
                3     2305 Helv Bld 7 pt
                4     2304 Helv Bld 22pt
                5     2304 Helv 7pt
                6     2305 Helv bld 8pt
                7     2304 Helv 9 pt
                8     10 CPI Courier
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Ricky Thompson
Sent: Monday, February 16, 2015 2:51 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Advanced function printing bolding
Hey guys I'm not much of a expert on AFP so I was wondering if someone might be able to answer this for me.
We have a report that they would like to bold certain words in a long description.
So say we had Chevy Pickup Truck C1500 Extended Cab for example.
They want to bold the C1500.  This is a concatenated string.  They want the string trimmed so it reads like a sentence so I can't break it up into different fields.  Printing it twice in AFP does not bold it since it has a font.
Is there any type of control character I could put in the string to make it bold?  All my other work arounds are pretty hairy.  I would have to use a fixed font like courier print the line and then print the C1500 on a line by itself with a bold font in the correct position.  I'm even finding that does not always work as it seems to shift the data sometimes and creates a double image.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: 
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at 
http://archive.midrange.com/rpg400-l.
For More Than 80 Years—Delivering Solutions That Exceed Expectations.
This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
 
As an Amazon Associate we earn from qualifying purchases.