From 0d10e2e40aaa8bd6cee678cc84498c96f03b3cca Mon Sep 17 00:00:00 2001 From: Xavier Mawet Date: Mon, 1 Sep 2025 01:33:21 +0200 Subject: [PATCH 1/2] Update Font Awesome to version 7 # Conflicts: # awesome-cv.cls --- README.md | 2 +- awesome-cv.cls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e485de4..8319850 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ In either case, this should result in the creation of ``{your-cv}.pdf`` [**LaTeX**](https://www.latex-project.org) is a fantastic typesetting program that a lot of people use these days, especially the math and computer science people in academia. -[**FontAwesome6 LaTeX Package**](https://github.com/braniii/fontawesome) is a LaTeX package that provides access to the [Font Awesome 6](https://fontawesome.com/v6/icons) icon set. +[**FontAwesome7 LaTeX Package**](https://github.com/braniii/fontawesome) is a LaTeX package that provides access to the [Font Awesome 7](https://fontawesome.com/v7/icons) icon set. [**Roboto**](https://github.com/google/roboto) is the default font on Android and ChromeOS, and the recommended font for Google’s visual language, Material Design. diff --git a/awesome-cv.cls b/awesome-cv.cls index 02d2c2c..8df855a 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -76,7 +76,7 @@ % Needed to manage math fonts \RequirePackage{unicode-math} % Needed to use icons from font-awesome -\RequirePackage{fontawesome6} +\RequirePackage{fontawesome7} \RequirePackage{accsupp} \defaultfontfeatures{ Renderer=HarfBuzz, From c5c3d722858a8fad20f47f9ded784ebf44a6e6b2 Mon Sep 17 00:00:00 2001 From: Xavier Mawet Date: Thu, 1 Jan 2026 15:27:19 +0100 Subject: [PATCH 2/2] Fix local build instructions using Docker Add Dockerfile matching GitHub workflow --- Dockerfile | 8 ++++++++ README.md | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fc136d4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM texlive/texlive:latest + +RUN apt-get update && apt-get install -y --no-install-recommends \ + fonts-roboto \ + fonts-adobe-sourcesans3 \ + && rm -rf /var/lib/apt/lists/* + +RUN luaotfload-tool --update diff --git a/README.md b/README.md index 8319850..7353262 100644 --- a/README.md +++ b/README.md @@ -90,10 +90,16 @@ xelatex {your-cv}.tex Or using docker: ```bash -docker run --rm --user $(id -u):$(id -g) -i -w "/doc" -v "$PWD":/doc texlive/texlive:latest make +IMAGE_NAME="texlive-with-fonts" + +# Build Docker image if needed +docker build -t "$IMAGE_NAME" . + +# Compile all +docker run --rm --user "$(id -u):$(id -g)" -i -w "/doc" -v "$PWD":/doc "$IMAGE_NAME:latest" make ``` -In either case, this should result in the creation of ``{your-cv}.pdf`` +In either case, this should result in the creation of `{your-cv}.pdf`. ## Credit