zhuhai-1999
zhuhai-1999
When I change the font size of my browser normal:  bigger:  smaller:  I found that in this method only `img.offsetTop` change when i change the font size...
修改浏览器大小的字体为大或者超大字体会变大并且向下偏移,使用rem布局后调节根节点大小,在页面上字体行高都正常,但是绘制出来的海报就是向下偏移 字体正常:  字体超大:  字体超小:  观察了发现是绘制字体时baseline这个字段值有差异,找到他的构成是这个地方span.offsetTop是一样的,img.offsetTop是不同的,但是我实在弄不懂这个参数是怎么形成的,如何影响他,有大佬知道怎么解决吗,这个如果放在移动端应该算是比较大概率会碰到的问题吧  * html2canvas version tested with:1.4.1 * Browser & version:qq浏览器,小米浏览器,华为浏览器等手机上能调节字体大小的浏览器应该都有 * Operating system:
 官网就有这个问题,移动地图,就感觉页面上方有一块带裂纹的不规则玻璃