-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SVG not displaying in common web-browsers
The SVG images produced by KiCAD cannot be displayed in common web-browsers. The reason for that is too large coordinates. As @set-soft pointed out, the "resolution" is configurable and when we use a lower resolution the images can be shown again. Since the change makes any conversion functions dependent on the Plotter configuration, we migrate the relevant conversion functions into the Plotter class and we remove those functions from global namespace (as they no longer represent "general truth").
- Loading branch information
Showing
2 changed files
with
127 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters