I have already tried all of these solutions, but none of them adds the custom font into the dropdown menu Customize->General->Fonts->Heading Font (H1) (or Sub-Heading), visible by the theme.
This is why I asked for more guidance on how to make the custom font visible by the theme hooks.