-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of break lines, sub & superscripts and bold & italic styles in WebGL texts #3207
Changes from 37 commits
f607841
87de8bf
eb8c36c
8bc3da1
a0716a2
342c3f5
bd11b26
b5fc64a
d9ab3c0
945f5cb
a9249f8
8a91eae
97909b0
4231e51
1178ee2
07aecd1
88fef7a
29a3cc0
9eda799
37d0a61
3f81998
1076b8a
0b8bc5b
47215f0
f8bd5eb
5c4df9d
abc24a5
850d7bf
2864bb1
f1be3f0
23748d5
8f7dbe8
f1dd3db
e14e273
7cd1be8
6e8206e
113fb63
5bba5e7
a7d9ac3
9ece9ab
2c5a70a
fc82a19
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,10 +77,10 @@ | |
"gl-line3d": "^1.1.5", | ||
"gl-mat4": "^1.2.0", | ||
"gl-mesh3d": "^2.0.1", | ||
"gl-plot2d": "^1.3.1", | ||
"gl-plot3d": "^1.5.10", | ||
"gl-plot2d": "git://github.com/gl-vis/gl-plot2d.git#bd8a9798589ca4461604ca041479820d6a915103", | ||
"gl-plot3d": "git://github.com/gl-vis/gl-plot3d.git#99bd1d20bcec61bdba97cd86bcb2cd5b8b52bd17", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
"gl-pointcloud2d": "^1.0.1", | ||
"gl-scatter3d": "^1.0.14", | ||
"gl-scatter3d": "git://github.com/gl-vis/gl-scatter3d.git#4353e3493e4e64d363c334fb62ac3e054c50fbf3", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
"gl-select-box": "^1.0.2", | ||
"gl-spikes2d": "^1.0.1", | ||
"gl-streamtube3d": "^1.1.0", | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ var getContext = require('webgl-context'); | |
|
||
var createOptions = require('./convert'); | ||
var createCamera = require('./camera'); | ||
var convertHTMLToUnicode = require('../../lib/html2unicode'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Once I tried removing it failed a few tests. But yes I will give it another try. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We were able to remove this and pass all the tests. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Cool. I guess now |
||
var showNoWebGlMsg = require('../../lib/show_no_webgl_msg'); | ||
var axisConstraints = require('../cartesian/constraints'); | ||
var enforceAxisConstraints = axisConstraints.enforce; | ||
|
@@ -279,7 +278,7 @@ proto.computeTickMarks = function() { | |
for(var j = 0; j < 2; ++j) { | ||
for(var i = 0; i < nextTicks[j].length; ++i) { | ||
// coercing tick value (may not be a string) to a string | ||
nextTicks[j][i].text = convertHTMLToUnicode(nextTicks[j][i].text + ''); | ||
nextTicks[j][i].text = nextTicks[j][i].text + ''; | ||
} | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/gl-vis/text-cache/compare/issue-br3d