code: @Override
      protected Font buildResource(final FontItem fontItem, final FontParams jrFont) {
          Font font = null;
          if (jrFont instanceof RealFont) {
              // Build the requested font
              font = buildRealFont((RealFont) jrFont);
          } else if (jrFont instanceof FamilyFont) {
              // Build a family like font
              font = buildFamilyFont((FamilyFont) jrFont);
          } else {
              // Return the default font
              font = Font.getDefault();
          }
          return font;
      }
docs: {@inheritDoc}