Installing Postscript Type1 Barcode fonts for AbiWord on Linux RedHat

< Back
You are here:
Print

Installing Postscript Type1 Barcode fonts for AbiWord on Linux RedHat

Windows and Mac systems have one central directory where all applications access their fonts. Unfortunately in Linux and Unix, every application implements fonts in its own way.

Solution(s):

Installing Postscript Type1 Barcode fonts forAbiWord on Linux RedHat 9
  • Copy the Postscript Type1 files (*.pfm,*.afm, *.pfa, *.pfb) to the fonts directory of AbiWord. The default directory is /usr/share/AbiSuite/fonts)
  • Edit the fonts.scale file in the fonts directory.
    • Increment the number at the beginning of the file by 1. This number indicates the number of fonts listed in this file.
    • Add the following line at the bottom of the file.  <filename of pfb> –ZZ_AbiWord-<font name> -regular-r-normal–0-0-0-0-p-0-adobe-fontspecific.
      • Example with Code128, IDAutomationC128S.pfb –ZZ_AbiWord-ID Automation C128 small-regular-r-normal—0-0-0-0-p-0-adobe-fontspecific
  • Edit the fonts.scale file in the fonts directory.
    • Increment the number at the beginning of the file by 1. This number indicates the number of fonts listed in this file.
    • Add the following line at the bottom of the file.  <filename of pfb> –ZZ_AbiWord-<font name> -regular-r-normal–0-0-0-0-p-0-adobe-fontspecific.
      • Example with Code128, IDAutomationC128S.pfb –ZZ_AbiWord-ID Automation C128 small-regular-r-normal—0-0-0-0-p-0-adobe-fontspecific
  • Restart AbiWord.
  • The new font will be in the font selection dropdown.

NOTICE: The following documentation above is an example provided by Regimbal Solutions, one of IDAutomation’s customers. IDAutomation fonts are fully supported, ensuring that they are created according to the standards for the symbology and font type. However, IDAutomation does not troubleshoot Linux font install issues. Installation of fonts on the various Linux platforms is OS specific; procedures for installing fonts on Linux should be provided by the OS Vendor.