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:
commit
611ac78341
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user