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:
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'
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user