- uses: actions/checkout@v4
with:
fetch-depth: 0
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ repository: mainmatter/core-sans-a-fonts
+ ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
+ path: core-sans-a-fonts
+ - name: Install Fonts
+ run: |
+ sudo cp -r core-sans-a-fonts/* /usr/local/share/fonts/
+ sudo fc-cache -f -v
+ fc-list | grep "Core Sans"
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install exercise plugin
run: cargo install --path helpers/mdbook-exercise-linker
[output.pandoc.profile.pdf.variables]
# You can get these fonts here: https://fonts.google.com/selection?query=noto+color+
-mainfont = "Noto Serif"
-sansfont = "Noto Sans"
+mainfont = "CoreSansA45.ttf"
+mainfontoptions = [
+ "BoldFont=CoreSansA65.ttf",
+ "ItalicFont=CoreSansA45It.ttf",
+ "BoldItalicFont=CoreSansA65It.ttf"
+]
+sansfont = "CoreSansA45.ttf"
+sansfontoptions = [
+ "BoldFont=CoreSansA65.ttf",
+ "ItalicFont=CoreSansA45It.ttf",
+ "BoldItalicFont=CoreSansA65It.ttf"
+]
monofont = "Noto Sans Mono"
mainfontfallback = ["Noto Color Emoji:mode=harf"]
sansfontfallback = ["Noto Color Emoji:mode=harf"]
[output.pandoc.profile.paperback.variables]
# You can get these fonts here: https://fonts.google.com/selection?query=noto+color+
-mainfont = "Noto Serif"
-sansfont = "Noto Sans"
+mainfont = "CoreSansA45.ttf"
+mainfontoptions = [
+ "BoldFont=CoreSansA65.ttf",
+ "ItalicFont=CoreSansA45It.ttf",
+ "BoldItalicFont=CoreSansA65It.ttf"
+]
+sansfont = "CoreSansA45.ttf"
+sansfontoptions = [
+ "BoldFont=CoreSansA65.ttf",
+ "ItalicFont=CoreSansA45It.ttf",
+ "BoldItalicFont=CoreSansA65It.ttf"
+]
monofont = "Noto Sans Mono"
mainfontfallback = ["Noto Color Emoji:mode=harf"]
sansfontfallback = ["Noto Color Emoji:mode=harf"]