Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Defining Custom FontsHow to use custom fonts in PDF outputs | ||||||||
Changed: | ||||||||
< < | Disclaimer: While these steps work in most cases this implimentation of custom fonts is not supported in APPX (not in 4.x or 5.x). Not all True Type fonts will work with PDF output. You may need to try different fonts to find one that works. | |||||||
> > | Disclaimer: While these steps work in most cases this implimentation of custom fonts is not supported in APPX (not in 4.x or 5.x). Not all True Type fonts will work with PDF output. You may need to try different fonts to find one that works. | |||||||
OverviewWhen designing graphical images in APPX there are 9 fonts pre-configured with the Desktop Client that are part of the Java installation within the client. In order to use custom fonts not included with the installation, such as bar codes, there are a few steps that must be taken. Follow these steps and you should be able to make use of custom fonts on your PDF outputs. Again, not all custom fonts will work and you may have to try more that one font to find one that does workCustom Fonts on a Windows ServerThe easiest way to include a custom font is to install the font on your Windows server. The steps to install the font will be different depending on the desktop OS release. The steps below are for Windows XP Professional.
After you have installed a font you must tell Appx the name of the font, not the name of the font file. For example, the "Free 3 of 9" font is distributed in a file named "free3of9.ttf", but the name of the font is actually "Free 3 of 9 Regular". (you can also use "Free 3 of 9"). To find the font name, open the font file (free3of9.ttf) with Font Viewer (the easiest way to do that is to simply double-click on the font file in the Windows file manager).
SET --- WIDGET NAME = VENDOR BAR CODE READ --- WIDGET HOLD 1 FT 0 BY WIDGET NAME T SET --- II = 10 T SET --- WIDGET FONT = --- II T REWRITE --- WIDGET FAIL 0The font will be embedded in the PDF document so the custom font should be viewable and printable on all systems whether the font is installed on the system or not. Custom Fonts on a Unix or Linux Server | ||||||||
Changed: | ||||||||
< < | Follow these instructions to install a custom font. This example will refer to the Free3of9.ttf bar code font. | |||||||
> > | Follow these instructions to install a custom font. This should also work in APPX 4.2.x. This example will refer to the Free3of9.ttf bar code font. | |||||||
SET --- WIDGET NAME = VENDOR BAR CODE READ --- WIDGET HOLD 1 FT 0 BY WIDGET NAME T SET --- II = 10 T SET --- WIDGET FONT = --- II T REWRITE --- WIDGET FAIL 0The font will be embedded in the PDF document so the custom font should be viewable and printable on all systems whether the font is installed on the system or not. -- GaryRogers - 2010-03-01 |