86a8a3a43b
This fixes the error of identical treatment of em and ex in font-size, which violated https://drafts.csswg.org/css-values-4/#font-relative-length. The fix uses the fallback of 0.5em for ex, similar to the code used in SvgNumber::solveNonPercentage. A follow-up should implement the correct use of "x-height of the first available font". Change-Id: Id9d581994e158d629d9752299ad93ac7e9fe4cad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166234 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> |
||
---|---|---|
.. | ||
inc | ||
qa/cppunit | ||
source | ||
CppunitTest_svgio.mk | ||
CppunitTest_svgio_read.mk | ||
CppunitTest_svgio_tools.mk | ||
IwyuFilter_svgio.yaml | ||
Library_svgio.mk | ||
Makefile | ||
Module_svgio.mk | ||
README.md | ||
svgio.component |
SVG Reader
Introduction
The svgio module is used to read SVG (Scalable Vector Graphics[1]) files. It is an XML based format for vector graphics.
This module contains svgio/source/svgreader
which is used for embedding an
SVG file with "Insert -> Picture -> From File".
SVG is an open standard provided by the World Wide Web Consortium (W3C).
How does it work?
svgio
module uses sax for reading xml and turns it into drawinglayer
primitives.
The rendering is done via drawinglayer
primitives. For more information, you should
refer to drawinglayer documentation.
Known Bugs
Known remaining bugs for this module are gathered here:
Dependencies
Direct dependencies for emfio are drawinglayer and sax.
Related Software
References
Documentation for the SVG format is available on the W3C website: