{* SPDX-FileCopyrightText: © 2023 Olivier Meunier SPDX-License-Identifier: AGPL-3.0-only *}
{{- yield icon(name="o-font-family", class="inline-block", svgClass="h-6 w-6") -}} {{ gettext("Display options") }}
{{- yield icon(name="o-font") -}} {{ gettext("Font") }} {{- yield icon(name="o-chevron-r") -}}
{{- yield icon(name="o-width") -}} {{ gettext("Width") }}
{{- yield icon(name="o-font-size") -}} {{ gettext("Size") }}
{{- yield icon(name="o-line-height") -}} {{ gettext("Line height") }}
{{- yield icon(name="o-text-justify") -}} {{ gettext("Justify") }}
{{ _l := preferences.Justify() }} {{- range i := _l -}} {{ i = len(_l) - 1 - i }} {{ x := _l[i] }} {{- end -}}
{{- yield icon(name="o-text-hyphen") -}} {{ gettext("Hyphenation") }}
{{ _l := preferences.Hyphenation() }} {{- range i := _l -}} {{ i = len(_l) - 1 - i }} {{ x := _l[i] }} {{- end -}}