html - OpenType Font & TrueType Font. Whats the difference? -
During the recent learning of CSS, I tried to include the external font then .otf fonts and
.ttf
fonts, where both worked perfectly for me, but from that moment, I wanted to know more about those people.
Which is better as an external font for web content?
Thank you --text "itemprop =" text ">
short answer: The difference is irrelevant in the context that you are asking for, use WOFF.
A bit longer answer: Both formats are supported in almost all types, and both formats are only different types of openType (tip) fonts, so it can be WOFF (or, these days, packed as WOFF2), It should also know whether it is .otf or .ttf file .
The longest answer: .tf is almost universally an open type font with the framework of CFF, and .tft is almost ubiquitous with an open type font with TrueType framework.
< Ul>In the real world, the time difference here is negligible compared to the time required to download here. , So for the webfonts purposes only the idea "which is small" is "no extension". This is also the case for whether you have a "real" .otf file or not: properly prepared, actual .otf file is very small from the .ttf file, but if you do that Font squirrel, this will not be the case and you can also use .ttf
And then definitely like the short and short time answer: "But in fact, whatever you are the smallest of a WOFF so that you do not need many sources". Browser .ttf vs. Have gone since F. V. For some days now, everything supports WOFF, and do not keep all other formats in your @ font-face rules. They are just noise.
Comments
Post a Comment