---
title: "Tristan Guest (@tbguest) | Hashnode"
description: "Software Developer | Oceanographer. Read the latest articles by Tristan Guest on Hashnode."
url: "https://hashnode.com/@tbguest"
---

@tbguest

# Tristan Guest

@tbguest · Nova Scotia, Canada · Joined January 2022

Software Developer | Oceanographer

[Website](https://www.tristanguest.dev/)

## Comments

[Hi Victor Eke , I'd achieve this with multiple @font-face declarations. font-weight does accept two arguments (specifying a range), but that only applies if the src field URL points to a variable font file. As far as I know, there's no way around needing a separate @font-face declaration for each hosted font file. Something like: @font-face { font-family: "Inter"; font-style: normal; font-weight: 400; src: local(""), url("/fonts/inter-v11-latin-regular.woff2") format("woff2"), url("/fonts/inter-v11-latin-regular.woff") format("woff"); } @font-face { font-family: "Inter"; font-style: normal; font-weight: 600; src: local(""), url("/fonts/inter-v11-latin-900.woff2") format("woff2"), url("/fonts/inter-v11-latin-900.woff") format("woff"); }](https://hashnode.com/posts/a-practical-guide-to-self-hosting-web-fonts/62799979076291997b765e24/comment/627e84a701c71be2bfdff8c9#reply-627fa5a00094f2f13f5142fc)

Reply · Article · May 14, 2022 · [A Practical Guide to Self-Hosting Web Fonts](https://hashnode.com/posts/a-practical-guide-to-self-hosting-web-fonts/62799979076291997b765e24)

[Thank you! I'm glad you enjoyed it.](https://hashnode.com/posts/a-practical-guide-to-self-hosting-web-fonts/62799979076291997b765e24/comment/627dc5df2621acd3b1ff2c9c#reply-627e5e5455afbae29a6227cb)

Reply · Article · May 13, 2022 · [A Practical Guide to Self-Hosting Web Fonts](https://hashnode.com/posts/a-practical-guide-to-self-hosting-web-fonts/62799979076291997b765e24)

[Agreed! You're very welcome.](https://hashnode.com/posts/a-practical-guide-to-self-hosting-web-fonts/62799979076291997b765e24/comment/627d6375168c80d47f461804#reply-627e5dd355afbae29a6227c1)

Reply · Article · May 13, 2022 · [A Practical Guide to Self-Hosting Web Fonts](https://hashnode.com/posts/a-practical-guide-to-self-hosting-web-fonts/62799979076291997b765e24)
