google-font-download icon indicating copy to clipboard operation
google-font-download copied to clipboard

Some characters look out of place when Latin Extended variant is used in URL

Open maxigaz opened this issue 5 years ago • 0 comments

Consider the following webpage as a minimal example:

<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />

		<link rel="stylesheet" href="font.css">
	
		<style type="text/css" media="all">
			body {
				font-family: "Quicksand", sans-serif;
			}
		</style>
		
	</head>

	<body>
		<h1>asdfgéőúáű</h1>
	</body>
</html>

When I download the Latin Extended variant of Quicksand using only a URL, the letters "ő" and "ű" are replaced from the default sans-serif font found on the system.

sh google-font-download "https://fonts.googleapis.com/css?family=Quicksand:400,500,700&amp;subset=latin-ext"

I don't have this problem when I use the -l switch and the font name without any URLs.

sh google-font-download -l latin,latin-ext "Quicksand:400" "Quicksand:500" "Quicksand:700"

Also, I'm not sure if all dependencies are installed (I can't find packages in Manjaro Linux under the name gengetopt, for example), but I haven't got any error messages about them before.

maxigaz avatar Oct 23 '18 22:10 maxigaz