private static FontValue getRefFontValue(String id, String value) throws ParseException {
		value = fromExternalId(value);
		int modIndex = value.indexOf("[");
		if (modIndex < 0) {
			return new FontValue(id, fromExternalId(value));
		}
		String refId = value.substring(0, modIndex).trim();
		FontModifier modifier = FontModifier.parse(value.substring(modIndex));
		return new FontValue(id, refId, modifier);
	}
Returns the Font style int for the given style string
@param styleString the string to convert to a Font style int
@return the Font style int for the given style string
Ghidra/Framework/Gui/src/main/java/generic/theme/FontValue.java