Hi,
I would like to use the Ubuntu font (http://font.ubuntu.com). It displays very well in my browser but unfortunately not in Prince.
For exemple if I write the following string in my HTML file :
It will render correctly in my browser:
But not in Prince:
The result is the same on OSX and Win8.
Any idea why browsers can display this font but not Prince? Note that the version from Google Fonts seems to work, but with the following message:
Funny enough, I tried to download the TTF files from Google Fonts and the files are exactly the same (though with different names) than the ones I got from ubuntu.com...
You can see the HTML I used for testing below.
Nicolas
I would like to use the Ubuntu font (http://font.ubuntu.com). It displays very well in my browser but unfortunately not in Prince.
For exemple if I write the following string in my HTML file :
<p>l’électron “libre” e–e</p>
It will render correctly in my browser:
l’électron “libre” e–e
But not in Prince:
l⁹électron ⁸libre⁹ eẃe
The result is the same on OSX and Win8.
Any idea why browsers can display this font but not Prince? Note that the version from Google Fonts seems to work, but with the following message:
prince: warning: cyclic @font-face redirect to "Ubuntu"
Funny enough, I tried to download the TTF files from Google Fonts and the files are exactly the same (though with different names) than the ones I got from ubuntu.com...
You can see the HTML I used for testing below.
Nicolas
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Test Ubuntu Font</title>
<!--
<link href='http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Ubuntu+Mono:400' rel='stylesheet' type='text/css'>
-->
<style type="text/css">
body
{
font-family: Ubuntu;
text-align:center;
}
@page
{
size: A6;
margin: 2cm 0.5cm 1cm;
}
</style>
</head>
<body>
<p><a href="http://font.ubuntu.com">Ubuntu Font</a></p>
<p>l’électron “libre” e–e</p>
<!--
l⁹électron ⁸libre⁹ eẃe
-->
</body>
</html>
Edited by nico