Daniel Silverstone
43f8e77df7
css/utils.c: Fix vw/vh handling in len2pt
...
We were using integer multiplication rather than fixed-point
multiplication when calculating point sizes relative to the viewport.
This fixes that.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-06-30 11:27:58 +01:00
Michael Drake
31655be43b
CSS: One inch is 96 css pixels.
2019-05-07 09:53:31 +01:00
Michael Drake
041e9426c1
CSS: Use helper to convert form css to physical pixels.
2019-05-06 21:25:54 +01:00
Michael Drake
e02020198d
Convert css_len2pt and css_len2px for CSS pixels.
2019-05-06 20:49:48 +01:00
Michael Drake
6be6fa1b21
CSS utils: Handle new units in length conversion routines.
...
This causes a ripple effect of all the callsites needing
information they didn't have.
2018-01-05 13:49:51 +00:00
Vincent Sanders
8861923455
Allow include directories to be added by sub makefiles
2016-06-06 14:47:27 +01:00
Vincent Sanders
6722943b81
move the CSS content handler
2016-05-26 11:18:41 +01:00