Html2canvas Chrome browser generated screenshots, the font size has become a small account.

html2canvas screenshots have all changed to the minimum font size. This problem has been found in chrome, and Firefox is normal.

guess that it may be a compatibility problem caused by upgrading the plug-in some time ago, and there is no problem with the graph generated at the beginning.

related codes

html2canvas (document.querySelector ("- sharpcavasContainer")) .then (canvas = > {

)
            const dataURL=canvas.toDataURL("image/png")
            --------------------------
            base64urlcavas

clipboard.png

clipboard.png chrome

clipboard.png logapilogc
clipboard.png

my side of the code is released to the production environment, there is no problem, it is not clear exactly why.


I have the same problem. Just set up font-variant: normal.
https://github.com/niklasvh/h.


post the output of html2canvas.

it is speculated that it may be the cause of dpr or a compatibility problem. You provide less information and cannot locate


clipboard.png

the information from logger.


font-variant: small-caps;

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2c144-4d185.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2c144-4d185.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?