code: private Font buildFamilyFont(final FamilyFont familyFont) {
          Font font = null;
          if (familyFont.posture() == null && familyFont.weight() == null) {
              font = Font.font(transformFontName(familyFont.family()), familyFont.size());
          } else if (familyFont.posture() == null) {
              font = Font.font(transformFontName(familyFont.family()), familyFont.weight(), familyFont.size());
          } else if (familyFont.weight() == null) {
              font = Font.font(transformFontName(familyFont.family()), familyFont.posture(), familyFont.size());
          } else {
              font = Font.font(transformFontName(familyFont.family()), familyFont.weight(), familyFont.posture(), familyFont.size());
          }
          return font;
      }
docs: Build a Family Font with name and size.
  
  @param familyFont the family font enum
  
  @return the javafx font