- Code: Select all
plugins.VelocityReport.installFonts();
Would anyone know if there is any way of determining what is going wrong? Is there a step I'm missing?
Thanks in advance,
plugins.VelocityReport.installFonts();
<head>
<style type="text/css">
body {
font-family: 'Montserrat', serif;
font-size: 14px;
}
</style>
</head>
<!DOCTYPE html>
<!-- HTML5 -->
<html lang="en">
<head>
<title>Font test</title>
<style>
.container {
margin: auto;
}
.montserrat {
font-family: 'Montserrat', serif;
font-size: 24pt;
}
@page {
size: letter landscape;
margin: 1.4in .4in .6in .4in;
}
</style>
</head>
<body>
<div class="container">
<p class="monserrat">Monserrat font</p>
</div>
</body>
</html>
Return to Programming with Servoy
Users browsing this forum: No registered users and 4 guests