[Users] [Bug 4699] New: CSS rendering for pixels does not use devicepixelratio or equivalent
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Thu Sep 14 13:18:06 UTC 2023
https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4699
Bug ID: 4699
Summary: CSS rendering for pixels does not use devicepixelratio
or equivalent
Product: Claws Mail
Version: GIT
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Plugins/Fancy
Assignee: users at lists.claws-mail.org
Reporter: list2023 at lunch.za.net
When rendering HTML at high DPI (e.g. 288 DPI) with the "fancy" plugin, CSS
measurements in pixels (px) seems to use device pixels and not some
scaling-dependent "pixel". I think using real pixels was correct a few years
ago, but too many lazy HTML designers means that browsers now scale pixels with
something like "devicepixelratio" which has a default derived from zoom and the
DPI.
This is the HTML element that came out all wrong (700px being 2.5 inches, not 5
inches):
<table align="center" border="0" cellpadding="0" cellspacing="0"
class="section-wrapper-outlook" style="width:700px;" width="700" ><tr><td
style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list