1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-04 16:07:57 +03:00
WeasyPrint/weasyprint/svg
Guillaume Ayoub f3936ca856 Use better approximations for font ascent and descent values in SVG
It’s hard to get real values, because it would require to access the font
information. But we can at least use values related to the font size, so that
alignment doesn’t get totally wrong.

Related to #1485.
2021-11-04 09:35:13 +01:00
..
__init__.py Fix marker-start being drawn on mid vertices 2021-09-01 10:08:13 +02:00
bounding_box.py Do not crash when bounding box is unknown 2021-07-30 15:23:04 +02:00
css.py Fix @import rules 2021-04-12 17:15:10 +02:00
defs.py Fix reference for percentages 2021-07-31 08:29:23 +02:00
images.py Simplify API to get intrinsic size of images 2021-08-03 18:39:14 +02:00
path.py Fix SVG arcs 2021-04-18 18:01:56 +02:00
shapes.py Fix how x and y attributes are handled 2021-07-23 22:17:37 +02:00
text.py Use better approximations for font ascent and descent values in SVG 2021-11-04 09:35:13 +01:00
utils.py Handle quotes in url(…) syntax 2021-11-04 09:35:08 +01:00