There are several font formats.
When downloading from fonts.google.com
The downloaded Open Sans files are in
.ttfformat. However, it’s recommended to use the newer Web Open Font Format (.woffand.woff2) as it offers the best performance across all modern browsers.When downloading fonts online, you may not always get the newer formats. There are various converter scripts and apps available online that can convert
.ttfto.woff2and/or.woffformat, such as Google Webfonts Helper.While using
.woffor.woff2font formats is not a requirement, these formats offer smaller file sizes and better performance for modern browsers that support them..woff2is the preferred file format. All modern browsers support it, and it can often save 50% or more over other formats. If you need to support IE 9 – 11, you should also include the .ttf format. You can see which browsers support various formats via the Can I use… website.
Quoted from: A Developers Guide to Block Themes – Part 2 | Adding Custom Fonts to Block Themes
ATTENTION!! Use Google Webfont Helper to download directly in *.woff2 format !
Instead of downloading ttf-fonts from Google Webfonts and then converting to .woff2 format it's possible to use Google Webfont Helper to directly download in the right format.