Skip to content

Commit

Permalink
Increase stroke thickness
Browse files Browse the repository at this point in the history
  • Loading branch information
davepagurek committed Jan 9, 2025
1 parent 6c428be commit 43a39d2
Show file tree
Hide file tree
Showing 28 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/unit/visual/cases/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,12 @@ visualSuite("Typography", function () {
p5.textAlign(alignment.alignX, alignment.alignY);

p5.noFill();
p5.strokeWeight(2);
p5.stroke(200);
p5.rect(xPos, yPos, boxWidth, boxHeight);

p5.fill(0);
p5.noStroke();
p5.text(
"A really long text that should wrap automatically as it reaches the end of the box",
xPos,
Expand Down Expand Up @@ -273,10 +275,12 @@ visualSuite("Typography", function () {
p5.textAlign(alignment.alignX, alignment.alignY);

p5.noFill();
p5.strokeWeight(2);
p5.stroke(200);
p5.rect(xPos, yPos, boxWidth, boxHeight);

p5.fill(0);
p5.noStroke();
p5.text(
"A really long text that should wrap automatically as it reaches the end of the box",
xPos,
Expand Down Expand Up @@ -331,9 +335,11 @@ visualSuite("Typography", function () {

p5.noFill();
p5.stroke(200);
p5.strokeWeight(2);
p5.rect(xPos, yPos, boxWidth, boxHeight);

p5.fill(0);
p5.noStroke();
p5.text("Line 1\nLine 2\nLine 3", xPos, yPos, boxWidth, boxHeight);
const bb = p5.textBounds(
"Line 1\nLine 2\nLine 3",
Expand Down
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.
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.
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.
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.
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 43a39d2

Please sign in to comment.