Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spacing issue in resume and CI #67

Merged
merged 8 commits into from
Sep 22, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ jobs:
- name: Install fonts
run: |
sudo apt update
sudo apt-get install fonts-font-awesome fonts-roboto
sudo apt-get install fonts-roboto
./scripts/install-fontawesome
./scripts/install-source-sans

- name: Install locally
run: just install
Expand Down
16 changes: 13 additions & 3 deletions lib.typ
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@
show heading.where(level: 1): it => [

#set block(
above: 1em,
below: 1em,
above: 0.5em,
below: 0.5em,
)
#set text(
size: 16pt,
Expand All @@ -263,6 +263,10 @@
]

show heading.where(level: 2): it => {
set block(
DeveloperPaul123 marked this conversation as resolved.
Show resolved Hide resolved
above: 0.5em,
below: 0.5em,
)
set text(
color-darkgray,
size: 12pt,
Expand Down Expand Up @@ -417,7 +421,13 @@
weight: "light",
fill: color-darknight,
)
set par(leading: 0.65em)
set block (
above: 0.75em,
below: 1.25em,
)
set par(
leading: 0.65em,
)
body
}

Expand Down
11 changes: 11 additions & 0 deletions scripts/install-source-sans
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -eu

wget -O ~/source-sans.zip https://github.com/adobe-fonts/source-sans/releases/download/3.052R/OTF-source-sans-3.052R.zip
mkdir -p ~/source-sans-fonts
unzip ~/source-sans.zip -d ~/source-sans-fonts
mkdir -p ~/.fonts
find ~/source-sans-fonts -type f -name "*.otf" -exec cp {} ~/.fonts \;
rm ~/source-sans.zip
rm -rf ~/source-sans-fonts
fc-cache -f -v
4 changes: 1 addition & 3 deletions template/resume.typ
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@
)

#resume-item[
- #lorem(20)
- #lorem(15)
- #lorem(25)
#lorem(33)
]

#resume-entry(
Expand Down
Binary file modified tests/resume/ref/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/utilities/ref/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading