Skip to main content

SVG Icon Authoring

A one-page how-to for drawing icons with the svg block: a viewBox and a list of children.

  • Four contact icons. Location, email, phone and web, the location pin pasted from a 24×24 SVG source with only the element wrappers changed.
  • Even-odd hole. The same pin as a single path with fillRule: evenodd, its inner circle a real cut-out.
  • Polyline trace and translucent glaze. A polyline draws an open line, and a glaze with fillOpacity sits over a solid bar.
  • Baseline: middle. A figure centred in a ring with a text element's baseline.

Features used: PDF/A-2b conformance, columns, SVG