Skip to content

Commit dbba928

Browse files
authored
feat: migrate to fontawesome 7 (#158)
1 parent 4f80548 commit dbba928

File tree

7 files changed

+4
-8
lines changed

7 files changed

+4
-8
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
run: |
5252
sudo apt update
5353
sudo apt-get install fonts-roboto
54+
chmod +x ./scripts/install-fontawesome
55+
chmod +x ./scripts/install-source-sans
5456
./scripts/install-fontawesome
5557
./scripts/install-source-sans
5658
typst fonts

lib.typ

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#import "@preview/fontawesome:0.6.0": *
2-
#import "@preview/linguify:0.4.2": *
3-
4-
// TODO(PT): Move to Fontawesome 7
5-
// for now, specify Fontawesome 6
6-
#fa-version("6")
2+
#import "@preview/linguify:0.5.0": *
73

84
// const color
95
#let color-darknight = rgb("#131A28")

scripts/install-fontawesome

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -eu
33

4-
wget -O ~/fontawesome.zip https://use.fontawesome.com/releases/v6.6.0/fontawesome-free-6.6.0-desktop.zip
4+
wget -O ~/fontawesome.zip https://github.com/FortAwesome/Font-Awesome/releases/download/7.2.0/fontawesome-free-7.2.0-desktop.zip
55
mkdir -p ~/fontawesome-fonts
66
unzip ~/fontawesome.zip -d ~/fontawesome-fonts
77
mkdir -p ~/.fonts

scripts/setup

100644100755
File mode changed.

scripts/update_thumbnails.ps1

100644100755
File mode changed.

tests/utilities/ref/1.png

15 Bytes
Loading

tests/utilities/test.typ

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#import "@local/modern-cv:0.9.0": *
22

3-
#fa-version("6")
4-
53
// setup the document like we do for the resume
64
#let font = "Source Sans 3"
75
#set text(font: font, size: 11pt, fill: color-darkgray, fallback: true)

0 commit comments

Comments
 (0)