This question is a almost dublicate of Android App: how to read Font Size under Settings? I read the answer of CommonsWare which points to use Settings.System.FONT_SCA
Settings.System.FONT_SCA
Add "float def" param to the end of the
public static float getFloat(ContentResolver cr, String name, float def)
Example:
scale = android.provider.Settings.System.getFloat(getActivity().getContentResolver(), android.provider.Settings.System.FONT_SCALE, 1f);