Use local font "Ubuntu Regular" for rendering tests
Set local font for all rendering tests including TextStyles to enhance comparability on different systems.
This commit is contained in:
@@ -16,6 +16,22 @@
|
||||
.ol-control {
|
||||
display: none;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Ubuntu Regular";
|
||||
src: url("/data/fonts/ubuntu-regular-webfont.eot");
|
||||
src: url("/data/fonts/ubuntu-regular-webfont.woff") format("woff"),
|
||||
url("/data/fonts/ubuntu-regular-webfont.otf") format("opentype"),
|
||||
url("/data/fonts/ubuntu-regular-webfont.svg#filename") format("svg");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Ubuntu Regular";
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
src: url("/data/fonts/ubuntu-bold-italic-webfont.eot");
|
||||
src: url("/data/fonts/ubuntu-bold-italic-webfont.woff") format("woff"),
|
||||
url("/data/fonts/ubuntu-bold-italic-webfont.otf") format("opentype"),
|
||||
url("/data/fonts/ubuntu-bold-italic-webfont.svg#filename") format("svg");
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user