- /* We're using the diagram width and height and not the viewport
- * width/height for the image. This has the potential to create an
- * image with a different size and aspect ratio than the viewport,
- * but since our viewport is entirely made-up... I don't know. This
- * relies on libsvgtiny being good at scaling/stretching/etc an SVG
- * that may only have partial width/height/viewBox information.
+ /* We're using the viewport width and height and not the diagram
+ * width/height for the image. The diagram can be of a different
+ * size and aspect ratio than the viewport, and our main use case is
+ * for icons that are generally square and reasonably sized. If the
+ * diagram is "small," then we want to scale it up until it fits
+ * nicely in the viewport before rendering it. That's as opposed to
+ * rendering the image small, and letting GDK scale it up. Of course
+ * this reasoning makes the assumption that the viewport is usually
+ * larger than the diagram.