From 3fe1433b3adf2856db2ca3ea9915b61c3b23eb7d Mon Sep 17 00:00:00 2001
From: Aaron LI <aly@aaronly.me>
Date: Mon, 15 Oct 2018 14:03:59 +0800
Subject: class: Change to use 'IBM Plex' font

Need to adjust the width of the left column.
---
 resume.cls | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

(limited to 'resume.cls')

diff --git a/resume.cls b/resume.cls
index 6ae3875..373d1ab 100644
--- a/resume.cls
+++ b/resume.cls
@@ -89,15 +89,13 @@
 
 % Fonts
 \defaultfontfeatures{Mapping=tex-text}
-\setmainfont{TeX Gyre Pagella}
-\setsansfont{Roboto}
-\setmonofont{M+ 1mn}
+\setmainfont{IBM Plex Serif}
+\setmonofont{IBM Plex Mono}
 
 % Chinese setup
 \ifdef{\@zh}{
   \xeCJKsetup{PunctStyle=kaiming}
-  \setCJKmainfont{Noto Serif CJK SC}
-  \setCJKsansfont{Noto Sans CJK SC}
+  \setCJKmainfont{Source Han Serif SC}
 }{}
 
 % Font Awesome icon aliases
@@ -158,13 +156,13 @@
 \setlist[itemize,1]{label=\faAngleRight, nosep, leftmargin=2em}
 \setlist[description,1]{style=sameline}
 
-% New length definition
+% Width of the left column for date ranges
 \newlength{\leftcolwidth}
 \newlength{\rightcolwidth}
 \ifdef{\@zh}{%
   \setlength{\leftcolwidth}{6em}
 }{
-  \setlength{\leftcolwidth}{7.5em}
+  \setlength{\leftcolwidth}{8.1em}
 }
 \setlength{\rightcolwidth}{\dimexpr \textwidth - \leftcolwidth - 4\tabcolsep}
 
-- 
cgit v1.2.2

