Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What web font format has the highest quality?

I've seen that some websites use @font-face but they look creepy & without anti-aliasing, But some other websites use some fonts with a very high quality, I don't know if they use OTF or TTF or SVG or what exactly, This is an example.

I've looked into their source but there is like 4 font types and i can't figure out which one is being used.

Thanks

like image 577
CodeOverload Avatar asked Nov 27 '10 18:11

CodeOverload


People also ask

Should I use TTF or WOFF?

Choose WOFF: If you're using a modern browser, WOFF wraps both TTF and OTF into a single compressed file. Lighter for loading! Choose WOFF 2.0: The newest version developed by Google. The best format to choose because of its smaller file size and better performance for loading on modern browsers.

What is difference between OTF and TTF?

The most significant difference between OTF and TTF for both rookie and professional designers lies in the advanced typesetting programs. Another big difference is that OTF has provisions like glyphs and ligatures that present a designer with multiple options to use.

Can I use OTF for web?

You can use EOT (Embedded OpenType) files for Internet Explorer and either OTF (OpenType) or TTF (TrueType) for the rest. (Additional options include WOFF (Web Open Font Format) and SVG (Scalable Vector Graphics) but we will stick to more common types here.)


2 Answers

There are three factors that affect quality display of the font:

  1. Quality of the font. Some fonts are poorly made, some are missing characters, some have ligature issues, etc. I suggest testing the font across all browsers before committing to it.
  2. Browser rendering of the font. Chrome, Safari, FF and IE display render fonts differently.
  3. Formats readable by the browser: each also can only read a limited number of formats. (EOT for IE, TT for pretty much everything else, including FF, and there's more).

In conclusion: web fonts are still somewhat of a dark and mysterious art. Invariably, there will be minor differences. Find a well built font, and test it across your target browsers. I think we're still very much in the trial and error phase with @font-face, but there are good resources to help along the way.

like image 54
Sebastian Patane Masuelli Avatar answered Oct 23 '22 18:10

Sebastian Patane Masuelli


If you want to use a special font on the web, then the format choice is pretty much made for you by the browsers, and you will need EOT, WOFF, TTF, and SVG all to be available.

A site like FontSquirrel will provide guidance as well as the font files themselves.

like image 33
Pointy Avatar answered Oct 23 '22 19:10

Pointy