# line-height icon

Line height. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/line-height

- Category: Text & formatting
- Use it for: line height, line spacing, leading
- Tags: line height, line spacing, leading, paragraph spacing, spacing, lines, vertical spacing, text, format, typography
- Family: bold, case-lower, case-sensitive, case-upper, heading, heading-1, heading-2, heading-3, italic, letter-spacing, pilcrow, spell-check, strikethrough, subscript, superscript, text-color, text-size, text-size-decrease, text-size-increase, type, type-plus, type-x, underline
- Component name: LineHeightIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { LineHeightIcon } from '@gentleface/react';` (@gentleface/react 0.2.0)
- Changed: 2026-10-30 (added)

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/line-height.svg · PNG https://gentleface.com/png/line-round/16/line-height.png · https://gentleface.com/png/line-round/32/line-height.png · https://gentleface.com/png/line-round/48/line-height.png
- line-soft: https://gentleface.com/svg/line-soft/16/line-height.svg · PNG https://gentleface.com/png/line-soft/16/line-height.png · https://gentleface.com/png/line-soft/32/line-height.png · https://gentleface.com/png/line-soft/48/line-height.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/line-height.svg · PNG https://gentleface.com/png/line-sharp/16/line-height.png · https://gentleface.com/png/line-sharp/32/line-height.png · https://gentleface.com/png/line-sharp/48/line-height.png
- solid-round: https://gentleface.com/svg/solid-round/16/line-height.svg · PNG https://gentleface.com/png/solid-round/16/line-height.png · https://gentleface.com/png/solid-round/32/line-height.png · https://gentleface.com/png/solid-round/48/line-height.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/line-height.svg · PNG https://gentleface.com/png/solid-soft/16/line-height.png · https://gentleface.com/png/solid-soft/32/line-height.png · https://gentleface.com/png/solid-soft/48/line-height.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/line-height.svg · PNG https://gentleface.com/png/solid-sharp/16/line-height.png · https://gentleface.com/png/solid-sharp/32/line-height.png · https://gentleface.com/png/solid-sharp/48/line-height.png

The SVG of every style: https://gentleface.com/icons/line-height.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M3.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z"/></svg>
```

### React

```tsx
// Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height
import type { SVGProps } from 'react';

export function LineHeightIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M3.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M3.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M3.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/line-height.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height. Takes the text color. */
.icon-line-height {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M3.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M3.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M3.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#line-height"/></svg>
```

### SwiftUI

```swift
// Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height
import SwiftUI

struct LineHeightIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 3.5, y: 1))
        p.addCurve(to: CGPoint(x: 3.854, y: 1.146), control1: CGPoint(x: 3.638, y: 1), control2: CGPoint(x: 3.756, y: 1.049))
        p.addLine(to: CGPoint(x: 5.854, y: 3.146))
        p.addCurve(to: CGPoint(x: 6, y: 3.5), control1: CGPoint(x: 5.951, y: 3.244), control2: CGPoint(x: 6, y: 3.362))
        p.addCurve(to: CGPoint(x: 5.854, y: 3.854), control1: CGPoint(x: 6, y: 3.638), control2: CGPoint(x: 5.951, y: 3.756))
        p.addCurve(to: CGPoint(x: 5.5, y: 4.003), control1: CGPoint(x: 5.754, y: 3.953), control2: CGPoint(x: 5.636, y: 4.003))
        p.addCurve(to: CGPoint(x: 5.146, y: 3.854), control1: CGPoint(x: 5.364, y: 4.003), control2: CGPoint(x: 5.246, y: 3.953))
        p.addLine(to: CGPoint(x: 4, y: 2.707))
        p.addLine(to: CGPoint(x: 4, y: 12.293))
        p.addLine(to: CGPoint(x: 5.146, y: 11.146))
        p.addCurve(to: CGPoint(x: 5.5, y: 11), control1: CGPoint(x: 5.244, y: 11.049), control2: CGPoint(x: 5.362, y: 11))
        p.addCurve(to: CGPoint(x: 5.854, y: 11.146), control1: CGPoint(x: 5.638, y: 11), control2: CGPoint(x: 5.756, y: 11.049))
        p.addCurve(to: CGPoint(x: 6.003, y: 11.5), control1: CGPoint(x: 5.953, y: 11.246), control2: CGPoint(x: 6.003, y: 11.364))
        p.addCurve(to: CGPoint(x: 5.854, y: 11.854), control1: CGPoint(x: 6.003, y: 11.636), control2: CGPoint(x: 5.953, y: 11.754))
        p.addLine(to: CGPoint(x: 3.854, y: 13.854))
        p.addCurve(to: CGPoint(x: 3.5, y: 14.003), control1: CGPoint(x: 3.754, y: 13.953), control2: CGPoint(x: 3.636, y: 14.003))
        p.addCurve(to: CGPoint(x: 3.146, y: 13.854), control1: CGPoint(x: 3.364, y: 14.003), control2: CGPoint(x: 3.246, y: 13.953))
        p.addLine(to: CGPoint(x: 1.146, y: 11.854))
        p.addCurve(to: CGPoint(x: 0.997, y: 11.5), control1: CGPoint(x: 1.047, y: 11.754), control2: CGPoint(x: 0.997, y: 11.636))
        p.addCurve(to: CGPoint(x: 1.146, y: 11.146), control1: CGPoint(x: 0.997, y: 11.364), control2: CGPoint(x: 1.047, y: 11.246))
        p.addCurve(to: CGPoint(x: 1.5, y: 11), control1: CGPoint(x: 1.244, y: 11.049), control2: CGPoint(x: 1.362, y: 11))
        p.addCurve(to: CGPoint(x: 1.854, y: 11.146), control1: CGPoint(x: 1.638, y: 11), control2: CGPoint(x: 1.756, y: 11.049))
        p.addLine(to: CGPoint(x: 3, y: 12.293))
        p.addLine(to: CGPoint(x: 3, y: 2.707))
        p.addLine(to: CGPoint(x: 1.854, y: 3.854))
        p.addCurve(to: CGPoint(x: 1.5, y: 4.003), control1: CGPoint(x: 1.754, y: 3.953), control2: CGPoint(x: 1.636, y: 4.003))
        p.addCurve(to: CGPoint(x: 1.146, y: 3.854), control1: CGPoint(x: 1.364, y: 4.003), control2: CGPoint(x: 1.246, y: 3.953))
        p.addCurve(to: CGPoint(x: 1, y: 3.5), control1: CGPoint(x: 1.049, y: 3.756), control2: CGPoint(x: 1, y: 3.638))
        p.addCurve(to: CGPoint(x: 1.146, y: 3.146), control1: CGPoint(x: 1, y: 3.362), control2: CGPoint(x: 1.049, y: 3.244))
        p.addLine(to: CGPoint(x: 3.146, y: 1.146))
        p.addCurve(to: CGPoint(x: 3.5, y: 1), control1: CGPoint(x: 3.244, y: 1.049), control2: CGPoint(x: 3.362, y: 1))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14.856, y: 3.144))
        p.addCurve(to: CGPoint(x: 15, y: 3.5), control1: CGPoint(x: 14.952, y: 3.241), control2: CGPoint(x: 15, y: 3.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 3.856), control1: CGPoint(x: 15, y: 3.641), control2: CGPoint(x: 14.952, y: 3.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 4), control1: CGPoint(x: 14.759, y: 3.952), control2: CGPoint(x: 14.641, y: 4))
        p.addLine(to: CGPoint(x: 7.5, y: 4))
        p.addCurve(to: CGPoint(x: 7.144, y: 3.856), control1: CGPoint(x: 7.359, y: 4), control2: CGPoint(x: 7.241, y: 3.952))
        p.addCurve(to: CGPoint(x: 7, y: 3.5), control1: CGPoint(x: 7.048, y: 3.759), control2: CGPoint(x: 7, y: 3.641))
        p.addCurve(to: CGPoint(x: 7.144, y: 3.144), control1: CGPoint(x: 7, y: 3.359), control2: CGPoint(x: 7.048, y: 3.241))
        p.addCurve(to: CGPoint(x: 7.5, y: 3), control1: CGPoint(x: 7.241, y: 3.048), control2: CGPoint(x: 7.359, y: 3))
        p.addLine(to: CGPoint(x: 14.5, y: 3))
        p.addCurve(to: CGPoint(x: 14.856, y: 3.144), control1: CGPoint(x: 14.641, y: 3), control2: CGPoint(x: 14.759, y: 3.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14.856, y: 7.144))
        p.addCurve(to: CGPoint(x: 15, y: 7.5), control1: CGPoint(x: 14.952, y: 7.241), control2: CGPoint(x: 15, y: 7.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 7.856), control1: CGPoint(x: 15, y: 7.641), control2: CGPoint(x: 14.952, y: 7.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 8), control1: CGPoint(x: 14.759, y: 7.952), control2: CGPoint(x: 14.641, y: 8))
        p.addLine(to: CGPoint(x: 7.5, y: 8))
        p.addCurve(to: CGPoint(x: 7.144, y: 7.856), control1: CGPoint(x: 7.359, y: 8), control2: CGPoint(x: 7.241, y: 7.952))
        p.addCurve(to: CGPoint(x: 7, y: 7.5), control1: CGPoint(x: 7.048, y: 7.759), control2: CGPoint(x: 7, y: 7.641))
        p.addCurve(to: CGPoint(x: 7.144, y: 7.144), control1: CGPoint(x: 7, y: 7.359), control2: CGPoint(x: 7.048, y: 7.241))
        p.addCurve(to: CGPoint(x: 7.5, y: 7), control1: CGPoint(x: 7.241, y: 7.048), control2: CGPoint(x: 7.359, y: 7))
        p.addLine(to: CGPoint(x: 14.5, y: 7))
        p.addCurve(to: CGPoint(x: 14.856, y: 7.144), control1: CGPoint(x: 14.641, y: 7), control2: CGPoint(x: 14.759, y: 7.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.144, y: 11.856))
        p.addCurve(to: CGPoint(x: 7, y: 11.5), control1: CGPoint(x: 7.048, y: 11.759), control2: CGPoint(x: 7, y: 11.641))
        p.addCurve(to: CGPoint(x: 7.144, y: 11.144), control1: CGPoint(x: 7, y: 11.359), control2: CGPoint(x: 7.048, y: 11.241))
        p.addCurve(to: CGPoint(x: 7.5, y: 11), control1: CGPoint(x: 7.241, y: 11.048), control2: CGPoint(x: 7.359, y: 11))
        p.addLine(to: CGPoint(x: 14.5, y: 11))
        p.addCurve(to: CGPoint(x: 14.856, y: 11.144), control1: CGPoint(x: 14.641, y: 11), control2: CGPoint(x: 14.759, y: 11.048))
        p.addCurve(to: CGPoint(x: 15, y: 11.5), control1: CGPoint(x: 14.952, y: 11.241), control2: CGPoint(x: 15, y: 11.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 11.856), control1: CGPoint(x: 15, y: 11.641), control2: CGPoint(x: 14.952, y: 11.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 12), control1: CGPoint(x: 14.759, y: 11.952), control2: CGPoint(x: 14.641, y: 12))
        p.addLine(to: CGPoint(x: 7.5, y: 12))
        p.addCurve(to: CGPoint(x: 7.144, y: 11.856), control1: CGPoint(x: 7.359, y: 12), control2: CGPoint(x: 7.241, y: 11.952))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// LineHeightIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val LineHeightIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "line-height", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M3.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(LineHeightIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_line_height.xml · Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M3.5 1C3.638 1 3.756 1.049 3.854 1.146L5.854 3.146C5.951 3.244 6 3.362 6 3.5C6 3.638 5.951 3.756 5.854 3.854C5.754 3.953 5.636 4.003 5.5 4.003C5.364 4.003 5.246 3.953 5.146 3.854L4 2.707L4 12.293L5.146 11.146C5.244 11.049 5.362 11 5.5 11C5.638 11 5.756 11.049 5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854L3.854 13.854C3.754 13.953 3.636 14.003 3.5 14.003C3.364 14.003 3.246 13.953 3.146 13.854L1.146 11.854C1.047 11.754 0.997 11.636 0.997 11.5C0.997 11.364 1.047 11.246 1.146 11.146C1.244 11.049 1.362 11 1.5 11C1.638 11 1.756 11.049 1.854 11.146L3 12.293L3 2.707L1.854 3.854C1.754 3.953 1.636 4.003 1.5 4.003C1.364 4.003 1.246 3.953 1.146 3.854C1.049 3.756 1 3.638 1 3.5C1 3.362 1.049 3.244 1.146 3.146L3.146 1.146C3.244 1.049 3.362 1 3.5 1ZM14.856 3.144C14.952 3.241 15 3.359 15 3.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5C7 3.359 7.048 3.241 7.144 3.144C7.241 3.048 7.359 3 7.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM14.856 7.144C14.952 7.241 15 7.359 15 7.5C15 7.641 14.952 7.759 14.856 7.856C14.759 7.952 14.641 8 14.5 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L14.5 7C14.641 7 14.759 7.048 14.856 7.144ZM7.144 11.856C7.048 11.759 7 11.641 7 11.5C7 11.359 7.048 11.241 7.144 11.144C7.241 11.048 7.359 11 7.5 11L14.5 11C14.641 11 14.759 11.048 14.856 11.144C14.952 11.241 15 11.359 15 11.5C15 11.641 14.952 11.759 14.856 11.856C14.759 11.952 14.641 12 14.5 12L7.5 12C7.359 12 7.241 11.952 7.144 11.856Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "line-height" (line-round), MIT. https://gentleface.com/icons/line-height
import 'package:flutter/widgets.dart';

class LineHeightIcon extends StatelessWidget {
  const LineHeightIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _LineHeightIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _LineHeightIconPainter extends CustomPainter {
  _LineHeightIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(3.5, 1)
      ..cubicTo(3.638, 1, 3.756, 1.049, 3.854, 1.146)
      ..lineTo(5.854, 3.146)
      ..cubicTo(5.951, 3.244, 6, 3.362, 6, 3.5)
      ..cubicTo(6, 3.638, 5.951, 3.756, 5.854, 3.854)
      ..cubicTo(5.754, 3.953, 5.636, 4.003, 5.5, 4.003)
      ..cubicTo(5.364, 4.003, 5.246, 3.953, 5.146, 3.854)
      ..lineTo(4, 2.707)
      ..lineTo(4, 12.293)
      ..lineTo(5.146, 11.146)
      ..cubicTo(5.244, 11.049, 5.362, 11, 5.5, 11)
      ..cubicTo(5.638, 11, 5.756, 11.049, 5.854, 11.146)
      ..cubicTo(5.953, 11.246, 6.003, 11.364, 6.003, 11.5)
      ..cubicTo(6.003, 11.636, 5.953, 11.754, 5.854, 11.854)
      ..lineTo(3.854, 13.854)
      ..cubicTo(3.754, 13.953, 3.636, 14.003, 3.5, 14.003)
      ..cubicTo(3.364, 14.003, 3.246, 13.953, 3.146, 13.854)
      ..lineTo(1.146, 11.854)
      ..cubicTo(1.047, 11.754, 0.997, 11.636, 0.997, 11.5)
      ..cubicTo(0.997, 11.364, 1.047, 11.246, 1.146, 11.146)
      ..cubicTo(1.244, 11.049, 1.362, 11, 1.5, 11)
      ..cubicTo(1.638, 11, 1.756, 11.049, 1.854, 11.146)
      ..lineTo(3, 12.293)
      ..lineTo(3, 2.707)
      ..lineTo(1.854, 3.854)
      ..cubicTo(1.754, 3.953, 1.636, 4.003, 1.5, 4.003)
      ..cubicTo(1.364, 4.003, 1.246, 3.953, 1.146, 3.854)
      ..cubicTo(1.049, 3.756, 1, 3.638, 1, 3.5)
      ..cubicTo(1, 3.362, 1.049, 3.244, 1.146, 3.146)
      ..lineTo(3.146, 1.146)
      ..cubicTo(3.244, 1.049, 3.362, 1, 3.5, 1)
      ..close()
      ..moveTo(14.856, 3.144)
      ..cubicTo(14.952, 3.241, 15, 3.359, 15, 3.5)
      ..cubicTo(15, 3.641, 14.952, 3.759, 14.856, 3.856)
      ..cubicTo(14.759, 3.952, 14.641, 4, 14.5, 4)
      ..lineTo(7.5, 4)
      ..cubicTo(7.359, 4, 7.241, 3.952, 7.144, 3.856)
      ..cubicTo(7.048, 3.759, 7, 3.641, 7, 3.5)
      ..cubicTo(7, 3.359, 7.048, 3.241, 7.144, 3.144)
      ..cubicTo(7.241, 3.048, 7.359, 3, 7.5, 3)
      ..lineTo(14.5, 3)
      ..cubicTo(14.641, 3, 14.759, 3.048, 14.856, 3.144)
      ..close()
      ..moveTo(14.856, 7.144)
      ..cubicTo(14.952, 7.241, 15, 7.359, 15, 7.5)
      ..cubicTo(15, 7.641, 14.952, 7.759, 14.856, 7.856)
      ..cubicTo(14.759, 7.952, 14.641, 8, 14.5, 8)
      ..lineTo(7.5, 8)
      ..cubicTo(7.359, 8, 7.241, 7.952, 7.144, 7.856)
      ..cubicTo(7.048, 7.759, 7, 7.641, 7, 7.5)
      ..cubicTo(7, 7.359, 7.048, 7.241, 7.144, 7.144)
      ..cubicTo(7.241, 7.048, 7.359, 7, 7.5, 7)
      ..lineTo(14.5, 7)
      ..cubicTo(14.641, 7, 14.759, 7.048, 14.856, 7.144)
      ..close()
      ..moveTo(7.144, 11.856)
      ..cubicTo(7.048, 11.759, 7, 11.641, 7, 11.5)
      ..cubicTo(7, 11.359, 7.048, 11.241, 7.144, 11.144)
      ..cubicTo(7.241, 11.048, 7.359, 11, 7.5, 11)
      ..lineTo(14.5, 11)
      ..cubicTo(14.641, 11, 14.759, 11.048, 14.856, 11.144)
      ..cubicTo(14.952, 11.241, 15, 11.359, 15, 11.5)
      ..cubicTo(15, 11.641, 14.952, 11.759, 14.856, 11.856)
      ..cubicTo(14.759, 11.952, 14.641, 12, 14.5, 12)
      ..lineTo(7.5, 12)
      ..cubicTo(7.359, 12, 7.241, 11.952, 7.144, 11.856)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_LineHeightIconPainter old) => old.color != color;
}
```
