Skip to content

Commit

Permalink
Try with Arial for less developer friction
Browse files Browse the repository at this point in the history
  • Loading branch information
Arindam Bose committed Feb 12, 2020
1 parent 649d63e commit be29ec3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,9 @@ jobs:
steps:
- attach_workspace:
at: .
- run: sudo apt-get install fonts-open-sans
- run: sudo apt-get install ttf-mscorefonts-installer
- run: fc-cache
- run: fc-match Arial
- run: yarn run test-render
- store_artifacts:
path: "test/integration/render-tests/index.html"
Expand Down
2 changes: 1 addition & 1 deletion src/render/draw_debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function drawTextToOverlay(painter: Painter, text: string) {
ctx2d.lineWidth = 1.5;
ctx2d.strokeStyle = 'white';
ctx2d.textBaseline = 'top';
ctx2d.font = `bold ${36}px Open Sans`;
ctx2d.font = `bold ${36}px Arial`;
ctx2d.fillText(text, 5, 5);
ctx2d.strokeText(text, 5, 5);

Expand Down

0 comments on commit be29ec3

Please sign in to comment.