Updates font settings for rendering tests

This updates font name and size for renderinge tests that
include TextStyles.
This commit is contained in:
Kai Volland
2019-03-25 09:40:11 +01:00
parent 3d2711d35e
commit ef061dd4c3
10 changed files with 28 additions and 32 deletions

View File

@@ -19,7 +19,7 @@ const vectorSource = new VectorSource();
const pointStyle = new Style({
text: new Text({
text: 'Point Label',
font: '"Ubuntu Regular"',
font: 'Ubuntu',
fill: new Fill({
color: 'red'
}),
@@ -32,7 +32,7 @@ const lineStyle = new Style({
stroke: new Stroke({color: 'blue'}),
text: new Text({
text: 'Line Label',
font: '"Ubuntu Regular"',
font: 'Ubuntu',
fill: new Fill({
color: 'red'
}),