-
-
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
f607841
support for multi-line texts
archmoj 87de8bf
correct baselines
archmoj eb8c36c
using title options in the new mock
archmoj 8bc3da1
using vect-text with line-spacing
archmoj a0716a2
new baseline images using different default line spacing
archmoj 342c3f5
using new vectorize-text module - no need to convert from html for webgl
archmoj bd11b26
support of br and sup elements for webgl texts
archmoj b5fc64a
updated the baseline image of new mock
archmoj d9ab3c0
updated baseline image
archmoj 945f5cb
adding italic bold super and sub in webgl text
archmoj a9249f8
updated baseline images with bold italic and sub-super script text in…
archmoj 8a91eae
adjust sub & sup positions and size
archmoj 97909b0
updated baselines using adjusted sub and superscripts positions and size
archmoj 4231e51
applying improvements to gl-plot2d
archmoj 1178ee2
check not to assign undefined style
archmoj 07aecd1
removed passes to HTML to unicode for 2D plots
archmoj 88fef7a
Revert "removed passes to HTML to unicode for 2D plots"
archmoj 29a3cc0
removed convert html to unicode only for ticks
archmoj 9eda799
say no to backslash n
archmoj 37d0a61
changed mock to lock the gl-axes3d bug to set various fonts as well a…
archmoj 3f81998
new baseline to lock gl-axes3d apply font bug
archmoj 1076b8a
renaming the new mock and baseline
archmoj 0b8bc5b
remove previous mock and baseline
archmoj 47215f0
using new module that supports multiple sub and super scripts
archmoj f8bd5eb
updated the mock to show multiple sub and super scripts
archmoj 5c4df9d
test if we could remove convert html to unicode for 2d axes
archmoj abc24a5
updated the baseline with the version that has multiple levels of sub…
archmoj 850d7bf
removed html2unicoe.js from lib directory
archmoj 2864bb1
options to disable break lines for ticks in 3d plots
archmoj f1be3f0
3d baseline without line breaks on ticks
archmoj 23748d5
replace breake line tag with space when breakLines are disabled
archmoj 8f7dbe8
correct module to eplace break-line tags with spaces when breaklines …
archmoj f1dd3db
baseline image
archmoj e14e273
reset original baseline
archmoj 7cd1be8
using new modules that enable styletags
archmoj 6e8206e
enable tags
archmoj 113fb63
revised vectorize-text text-cache gl-axes3d and gl-scatter3d modules
archmoj 5bba5e7
removed unused variable
archmoj a7d9ac3
replace break-lines on 3d plot ticks when the axis type is date
archmoj 9ece9ab
using new set of modules that use vectorize-text 3.2.0
archmoj 2c5a70a
Merge branch 'master' into issue-br3d
archmoj fc82a19
one fixed to https
archmoj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"x": [3], | ||
"y": [0], | ||
"z": [2], | ||
"text": ["This text was a long\nline. And now it is\npresented on\nfour lines!"], | ||
"type": "scatter3d", | ||
"mode":"markers+text", | ||
"textposition": "middle center" | ||
} | ||
], | ||
"layout": { | ||
"title":"Now texts could be displayed in 3D on multiple lines.", | ||
"width": 800, | ||
"height": 600, | ||
"scene":{ | ||
"xaxis":{"title": "A short axis"}, | ||
"yaxis":{"title": "A very <br>long axis"}, | ||
"zaxis":{"title": "A very very<br>long long axis<br>Seriously!"}, | ||
"camera":{ | ||
"eye":{"x":-1.5,"y":1.5,"z":1.5}, | ||
"center":{"x":0,"y":0,"z":0}, | ||
"up":{"x":0,"y":0,"z":1} | ||
} | ||
} | ||
} | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
mikolalysenko/vectorize-text@master...archmoj:issue-br3d