Liking cljdoc? Tell your friends :D

com.blockether.spel.fonts

The type system shipped WITH every generated artifact instead of fetched.

Reports, annotated snapshots and presenter decks are artifacts: they get zipped, emailed, opened offline, attached to a CI run and re-read years later. A fonts.googleapis.com link makes their typography — and therefore their layout — decay outside the network they were generated on, and it leaks a request to a third party every time someone opens one. So the faces below live in resources/com/blockether/spel/fonts and are inlined into the HTML as data: URIs.

Only the latin and latin-ext subsets of the variable (wght axis) fonts are bundled — together ~189 KB of woff2, ~250 KB base64 — which covers every character these documents emit while keeping the single-file artifact small. Italics are synthesized. Both families are SIL OFL 1.1; LICENSE-Inter.txt and LICENSE-JetBrainsMono.txt ship beside the files.

The type system shipped WITH every generated artifact instead of fetched.

Reports, annotated snapshots and presenter decks are artifacts: they get
zipped, emailed, opened offline, attached to a CI run and re-read years
later. A `fonts.googleapis.com` link makes their typography — and therefore
their layout — decay outside the network they were generated on, and it
leaks a request to a third party every time someone opens one. So the faces
below live in `resources/com/blockether/spel/fonts` and are inlined into the
HTML as `data:` URIs.

Only the `latin` and `latin-ext` subsets of the variable (wght axis) fonts
are bundled — together ~189 KB of woff2, ~250 KB base64 — which covers every
character these documents emit while keeping the single-file artifact small.
Italics are synthesized. Both families are SIL OFL 1.1; LICENSE-Inter.txt
and LICENSE-JetBrainsMono.txt ship beside the files.
raw docstring

body-stackclj

Font stack for prose and UI chrome.

Font stack for prose and UI chrome.
sourceraw docstring

bundled-font-cssclj

@font-face block for the bundled faces, computed once per JVM.

`@font-face` block for the bundled faces, computed once per JVM.
sourceraw docstring

bundled-font-facesclj

Every bundled face: family, variable weight range, woff2 file, subset range.

Every bundled face: family, variable weight range, woff2 file, subset range.
sourceraw docstring

data-uriclj

(data-uri file)

Base64 data: URI for a bundled woff2, or nil when the resource is absent. Absence is tolerated (the CSS stack still falls back to system fonts) rather than fatal, so a trimmed uberjar can never break artifact writing.

Base64 `data:` URI for a bundled woff2, or nil when the resource is absent.
Absence is tolerated (the CSS stack still falls back to system fonts)
rather than fatal, so a trimmed uberjar can never break artifact writing.
sourceraw docstring

mono-stackclj

Font stack for code, captions and tabular data.

Font stack for code, captions and tabular data.
sourceraw docstring

style-tagclj

(style-tag)

The bundled @font-face rules as a ready-to-embed <style> element.

The bundled `@font-face` rules as a ready-to-embed `<style>` element.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close