Use Roboto font in IE 11 / Edge

user1552545 picture user1552545 · Aug 10, 2015 · Viewed 7k times · Source

I want to use the google Roboto font, but it looks like very ugly in IE11 / Edge. Here is my example code:

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <link href='http://fonts.googleapis.com/css?family=Roboto:300' rel='stylesheet' type='text/css'>
    <title></title>
</head>
<body>
<div style="font-family: 'Roboto'">
    közötti műveleteire.
</div>

The upper text shows in IE/Edge, the lower is the Chrome version. (The letter ű is very ugly) How can I use Roboto correctly in IE?

Answer

Mohamed Islam picture Mohamed Islam · Aug 10, 2015

Try using this instead and see if it works:

<link href='http://fonts.googleapis.com/css?family=Roboto&subset=latin,greek,greek-ext,latin-ext,cyrillic' rel='stylesheet' type='text/css'>