docs: static String pullFontPathFromTheme(Context context, int styleAttrId, int subStyleAttrId, int[] attributeId) {
          if (styleAttrId == -1 || attributeId == null)
              return null;
  
          final Resources.Theme theme = context.getTheme();
          final TypedValue value = new TypedValue();
  
          theme.resolveAttribute(styleAttrId, value, true);
          int subStyleResId = -1;
          final TypedArray parentTypedArray = theme.obtainStyledAttributes(value.resourceId, new int[]{subStyleAttrId});
          try {
              subStyleResId = parentTypedArray.getResourceId(0, -1);
          } catch (Exception ignore) {
              // Failed for some reason.
              return null;
          } finally {
              parentTypedArray.recycle();
          }
  
          if (subStyleResId == -1) return null;
          final TypedArray subTypedArray = context.obtainStyledAttributes(subStyleResId, attributeId);
          if (subTypedArray != null) {
              try {
                  return subTypedArray.getString(0);
              } catch (Exception ignore) {
                  // Failed for some reason.
                  return null;
              } finally {
                  subTypedArray.recycle();
              }
          }
          return null;
      }