1# Copyright 2020-2023 The Khronos Group Inc.
2# SPDX-License-Identifier: MIT
3
4# Vulkan spec PDF stylesheet
5
6extends: default
7
8# The font handling is equivalent to the bundled default-with-fallback-font-theme.yml,
9# but uses a local copy of the M+ 1p Fallback font until asciidoctor-pdf
10# updates theirs. The local copy includes a few more special characters used
11# in the spec.
12font:
13  catalog:
14    merge: true
15    # M+ 1p supports Latin, Latin-1 Supplement, Latin Extended, Greek, Cyrillic, Vietnamese, Japanese & an assortment of symbols
16    # It also provides arrows for ->, <-, => and <= replacements in case these glyphs are missing from font
17    M+ 1p Fallback: mplus1p-regular-fallback.ttf
18    Noto Emoji: GEM_FONTS_DIR/notoemoji-subset.ttf
19  fallbacks: [M+ 1p Fallback, Noto Emoji]
20
21# Add chapter names to the page footer
22footer:
23  recto:
24    right:
25      content: '{chapter-title} | {page-number}'
26  verso:
27    left:
28      content: '{page-number} | {chapter-title}'
29
30# Add a role for VUID tags
31role:
32  vuid:
33    font_family: $literal_font_family
34    font_size: round($base_font_size * 0.85)
35    font_color: 808080
36