# Rustdoc Idea: toggling to disable hard-coded font series

**URL:** <https://internals.rust-lang.org/t/rustdoc-idea-toggling-to-disable-hard-coded-font-series/23744>\
**Category:** tools and infrastructure\
**Created:** [November 21, 2025, 12:05pm UTC](https://internals.rust-lang.org/t/rustdoc-idea-toggling-to-disable-hard-coded-font-series/23744 "2025-11-21T12:05:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilsubyeega](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/ilsubyeega/32/13814_2.png) [@ilsubyeega](https://internals.rust-lang.org/u/ilsubyeega)\
**Post date:** [November 21, 2025, 12:05pm UTC](https://internals.rust-lang.org/t/rustdoc-idea-toggling-to-disable-hard-coded-font-series/23744/1 "2025-11-21T12:05:36Z")

</div>

I believe the fonts for rustdoc, docs.rs are hardcoded by default. The only way to change the font is to switch another hard-coded `sans serif` font series. While i can comfortably read with sans serif fonts but not serif, just for sure, can we get a option about toggling the hard-coded fonts at the settings menu?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/rustlang/original/2X/b/bda4fe4f63bb287658a24d20754445b53a953570.png)

Thanks!
