Skip to content
Snippets Groups Projects
Verified Commit 58c2d1e4 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Add font.

parent f6f318b8
Branches
No related tags found
No related merge requests found
Pipeline #
...@@ -25,6 +25,7 @@ artifacts: ...@@ -25,6 +25,7 @@ artifacts:
image: tianon/latex image: tianon/latex
stage: build stage: build
script: script:
- ./install-font-debian.sh
- printf "%s" $CI_BUILD_REF | cut -c1-8 > version.tex - printf "%s" $CI_BUILD_REF | cut -c1-8 > version.tex
- ./build.sh - ./build.sh
- mv dist/*.pdf . - mv dist/*.pdf .
......
#!/usr/bin/env bash
apt update
apt install -y wget unzip
wget https://github.com/carrois/Fira/archive/master.zip
unzip master.zip
mkdir -p /usr/share/fonts/opentype/fira_code
mkdir -p /usr/share/fonts/opentype/fira_mono
mkdir -p /usr/share/fonts/opentype/fira_sans
cp Fira-master/Fira_Code_3_2/Fonts/FiraCode_OTF_32/* /usr/share/fonts/opentype/fira_code
cp Fira-master/Fira_Mono_3_2/Fonts/FiraMono_OTF_32/* /usr/share/fonts/opentype/fira_mono
cp Fira-master/Fira_Sans_4_2/Fonts/FiraSans_OTF_4203/Normal/Roman/* /usr/share/fonts/opentype/fira_sans
cp Fira-master/Fira_Sans_4_2/Fonts/FiraSans_OTF_4203/Normal/Italic/* /usr/share/fonts/opentype/fira_sans
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment