4b5cdbfccd15074dd95955aa6c2400cbd76cb138
Increased the scale for rendering PDF pages from 0.2 to 0.5 in the `getViewport` method to enhance resolution and sharpness. Although CSS scales the canvas down, the higher scale ensures better visual quality. Enabled high-quality rendering for the canvas context by setting `ctx.imageSmoothingEnabled` to `true` and `ctx.imageSmoothingQuality` to `'high'`, resulting in smoother and sharper PDF content rendering.
Description
No description provided
Languages
JavaScript
82.6%
C#
8.4%
HTML
4.5%
Visual Basic .NET
2.6%
CSS
1.4%
Other
0.4%