Skip to content

Commit 888bf20

Browse files
committed
revise font.stretch options
1 parent ff56034 commit 888bf20

File tree

2 files changed

+324
-1283
lines changed

2 files changed

+324
-1283
lines changed

src/plots/font_attributes.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,10 @@ module.exports = function(opts) {
9696
'expanded',
9797
'extra-expanded',
9898
'ultra-expanded',
99-
'50%',
100-
'100%',
101-
'200%',
99+
// TODO: Do we want to add numeric options e.g. '50%' and '200%'?
100+
// If so please note that those values are not supported in gl3d
101+
// since vectorize-text uses CanvasRenderingContext2D fontStretch
102+
// https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fontStretch)
102103
],
103104
dflt: 'normal',
104105
description: [

0 commit comments

Comments
 (0)