Merge pull request #11504 from Snuffleupagus/issue-11457

Add `direction: ltr;` to the canvases used in `examples/learning`, to ensure correct text rendering (issue 11457)
This commit is contained in:
Tim van der Meij 2020-01-12 19:31:59 +01:00 committed by GitHub
commit 611ac78341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
<h1>'Hello, world!' example</h1>
<canvas id="the-canvas" style="border:1px solid black"></canvas>
<canvas id="the-canvas" style="border: 1px solid black; direction: ltr;"></canvas>
<script src="../../node_modules/pdfjs-dist/build/pdf.js"></script>

View File

@ -8,7 +8,7 @@
<h1>'Hello, world!' example</h1>
<canvas id="the-canvas" style="border:1px solid black"></canvas>
<canvas id="the-canvas" style="border: 1px solid black; direction: ltr;"></canvas>
<script src="../../node_modules/pdfjs-dist/build/pdf.js"></script>

View File

@ -16,7 +16,7 @@
</div>
<div>
<canvas id="the-canvas" style="border:1px solid black"></canvas>
<canvas id="the-canvas" style="border: 1px solid black; direction: ltr;"></canvas>
</div>
<script src="../../node_modules/pdfjs-dist/build/pdf.js"></script>