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:
Kai Volland
2019-03-21 14:43:54 +01:00
parent c4279ff665
commit 5665da6518
20 changed files with 4848 additions and 10 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

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