Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Roboto font in IE 11 / Edge

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?

like image 400
user1552545 Avatar asked Aug 10 '15 15:08

user1552545


People also ask

Do Google Fonts work in IE?

Google fonts are supported well on all modern browsers and IE9 and above.

Does Microsoft have Roboto font?

Windows 10 Next, head to the Start Menu and open the Settings page. From here, click the Personlization option, then Fonts. Next, drag the extracted fonts onto the installer window. After a few seconds, the Google Roboto font will be installed within Windows.

Is Roboto a default Web font?

Roboto is in Google's signature family of fonts, the default font on Android and Chrome OS, and the recommended font for Google's visual language, Material Design.


1 Answers

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'>
like image 163
Mohamed Islam Avatar answered Oct 10 '22 19:10

Mohamed Islam