Skip to main content
RenderCV automatically discovers custom fonts placed in a fonts directory next to your YAML input file. This allows you to use any font family beyond the built-in options.

Built-in Fonts

RenderCV comes with several pre-installed fonts:

Serif Fonts

  • Libertinus Serif
  • New Computer Modern
  • Gentium Book Plus
  • EB Garamond
  • XCharter

Sans-Serif Fonts

  • Source Sans 3
  • Open Sans
  • Noto Sans
  • Lato
  • Mukta
  • Open Sauce Sans
  • Roboto
  • Ubuntu
  • Poppins
  • Raleway

Monospace Fonts

  • DejaVu Sans Mono
  • Fontin

Adding Custom Fonts

1

Create a fonts directory

Create a fonts directory in the same location as your YAML input file:
mkdir fonts
Your directory structure should look like:
Your_Name_CV.yaml
fonts/
  CustomFont-Regular.ttf
  CustomFont-Bold.ttf
  AnotherFont.otf
2

Add font files

Copy your custom font files (.ttf or .otf) into the fonts directory.
RenderCV supports both TrueType Font (.ttf) and OpenType Font (.otf) formats.
3

Specify the font in your YAML

In your YAML file, specify the font family name in the design section:
design:
  typography:
    font_family: CustomFont
Use the font family name exactly as defined in the font file’s metadata. For most fonts, this is the name you see when you install the font on your system.

Example: Using Inter Font

Here’s a complete example of using the Inter font family:
1

Download Inter

Download the Inter font from Google Fonts or the official Inter repository.
2

Extract font files

Copy the font files to your fonts directory:
Your_Name_CV.yaml
fonts/
  Inter-Regular.ttf
  Inter-Bold.ttf
  Inter-Italic.ttf
  Inter-BoldItalic.ttf
3

Update your YAML

design:
  theme: classic
  typography:
    font_family:
      body: Inter
      name: Inter
      headline: Inter
      connections: Inter
      section_titles: Inter
4

Render your CV

rendercv render Your_Name_CV.yaml
RenderCV will automatically discover and use the Inter font files from the fonts directory.

Font Family Configuration

You can specify different fonts for different parts of your CV:
design:
  typography:
    font_family:
      body: Source Sans 3          # Main text
      name: Raleway                # Your name in the header
      headline: Source Sans 3      # Headline/tagline
      connections: Source Sans 3   # Contact information
      section_titles: Raleway      # Section headings
Or use the same font for everything:
design:
  typography:
    font_family: Source Sans 3
When you specify a single font family as a string, it applies to all text elements (body, name, headline, connections, and section titles).

Supported Font Formats

TrueType Font (.ttf)

The most common font format, widely supported and compatible.

OpenType Font (.otf)

Modern font format with advanced typographic features.

Troubleshooting

  • Verify the font files are in the fonts directory next to your YAML file
  • Check that the font family name in your YAML matches the font’s actual name
  • Ensure font files have the correct extensions (.ttf or .otf)
  • Try using the exact font name as it appears when installed on your system
Make sure you have the complete font family:
  • FontName-Regular.ttf (or .otf)
  • FontName-Bold.ttf
  • FontName-Italic.ttf
  • FontName-BoldItalic.ttf
Without these variants, RenderCV may not be able to render bold or italic text correctly.
To find the exact font family name:Windows:
  • Right-click the font file → Properties → Details tab → “Title” field
macOS:
  • Double-click the font file → Font Book shows the “Family” name
Linux:
  • Use fc-query command:
    fc-query --format='%{family}' FontName.ttf
    

Next Steps

Custom Themes

Create a completely custom theme with your fonts

Design Reference

Explore all typography options

Build docs developers (and LLMs) love