Updates font settings for rendering tests
This updates font name and size for renderinge tests that include TextStyles.
This commit is contained in:
@@ -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'
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user