devmuslim / googlefontdirectory

Automatically exported from code.google.com/p/googlefontdirectory
0 stars 0 forks source link

Google Fonts API returns wrong subset type #400

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to https://www.google.com/fonts
2. Choose "Roboto" font in google fonts API
3. Choose character set "latin" and "Latin-ext" only.
4. Import link generated is 
"http://fonts.googleapis.com/css?family=Roboto:500&subset=latin,latin-ext"
5. visit the import link and view CSS code.

What is the expected output?
- The CSS code should only imports the "Latin" and "Latin-ext" fonts as the 
subset stated in the link, only 2 fonts should be imported.

What do you see instead?
- Instead, Google fonts API includes/imports all fonts type (cyrillic, 
cyrillic-ext, greek, greek-ext, vietnamese, latin,latin-ext) which will slows 
down any website. NOTE: this only happens with "Roboto" font.

What version of the product are you using? On what operating system?
- I am using Google Chrome 40 stable on windows 8.1 Pro 64-bit.

Please investigate this issue as it slows down everyone website/application, I 
noticed this issue happens only with the "Roboto" font. I tried other fonts and 
it didn't have this problem.

Thank you,

Original issue reported on code.google.com by josephws...@gmail.com on 21 Feb 2015 at 9:54

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
same issue here too

Original comment by mahfooz....@gmail.com on 21 Feb 2015 at 10:10

GoogleCodeExporter commented 8 years ago
This happens for browsers that support unicode-range, and thus actually there 
is no slow down :) 

Original comment by d.crossland on 21 Feb 2015 at 6:10