PDF: Font-Fallback für Emoji und Sonderzeichen - 2070 Missing-character-Faelle behoben
This commit is contained in:
parent
9b461426fc
commit
abc7a5693f
8 changed files with 198 additions and 1 deletions
|
|
@ -39,6 +39,15 @@ metadata:
|
|||
include-in-header:
|
||||
- pandoc/header-includes.tex
|
||||
|
||||
# Sonderzeichen, die Times New Roman fehlen (Emoji, Lernelemente-Symbole,
|
||||
# Sub-/Superskripte, lange Pfeile), auf \symfont (= Symbola, definiert in
|
||||
# pandoc/header-includes.tex) umschalten. Ohne diesen Filter liess xelatex
|
||||
# alle betreffenden Zeichen in der PDF-Fassung stillschweigend weg —
|
||||
# die Website zeigte sie, das PDF nicht. Nur für den PDF-Bau; der HTML-Bau
|
||||
# benutzt diese Defaults nicht.
|
||||
filters:
|
||||
- pandoc/emoji_fallback.lua
|
||||
|
||||
# --------------------------------
|
||||
# Fonts & Layout Variables
|
||||
# --------------------------------
|
||||
|
|
@ -48,7 +57,9 @@ variables:
|
|||
monofont: "DejaVu Sans Mono"
|
||||
# sansfont: "DejaVu Sans"
|
||||
sansfont: "Arial" # Sans-Serif
|
||||
emoji-font: "Noto Color Emoji"
|
||||
# "emoji-font" hier bewusst NICHT gesetzt: Die Variable wertet der
|
||||
# LaTeX-Writer (pandoc 3.1.3) nicht aus, sie hat jahrelang still nichts
|
||||
# getan. Die Emoji-Abdeckung läuft über pandoc/emoji_fallback.lua.
|
||||
mathfont: "STIX Two Math"
|
||||
monofontoptions: "Scale=MatchLowercase"
|
||||
papersize: a4
|
||||
|
|
|
|||
Loading…
Reference in a new issue