没有不值得去解决的问题,也没有不值得去学习的技术!

From SiYuan to MengYuan: How I Tamed the SimSun Font on Ubuntu 26.04

The Chinese text is displayed in Dream Han Serif, which is clear and comfortable

Recently, I felt that the system’s default Noto Serif CJK SC (Source Han Serif) looked a bit flat for on-screen reading. I heard that “Dream Han Serif” is an “enhanced version” of Source Han Serif—offering 27 font weights, optimized screen rendering, and corrected line heights. I decided to install it myself. This article documents my entire process, from hitting pitfalls to finding the solution.

1. Initial State: Chrome Was Using Source Han Serif

Initially, Chrome’s font settings were configured to use Noto Serif CJK SC. The result was actually not bad, but it always felt like it lacked a bit of “serif flavor.”

Both the standard font and the serif font are Noto Serif CJK SC


Figure 1: Chrome font settings (before changes)

2. Getting to Know the Font Tool: The System’s “Fonts” App

Ubuntu comes with a built-in tool called “Fonts” that lets you preview and manage installed fonts, as well as install new ones.

The "Fonts" tool displays installed fonts as thumbnails and supports installing formats like .ttf


Figure 2: Introduction to the Fonts tool (description from Google Translate), where you can also view how the existing Noto Serif CJK SC font renders

3. Downloading Dream Han Serif

I downloaded DreamHanSerifCN.zip (256 MB, containing all 27 font weights) from the project’s GitHub Release page.

Download DreamHanSerifCN.zip, note the warning below that the TTC version may cause oversized documents in some software


Figure 3: GitHub release page assets list

4. First Attempt: Graphical Batch Installation Failed (Pitfall)

After extracting the files, I tried what seemed like the most straightforward method: select all .ttf files → right-click → “Open with Fonts”.

Looks like a batch installation, but the actual result...


Figure 4: Selecting all files and right-clicking to choose “Open with Fonts”

As a result, only an installation window for the W1 font popped up. It installed only the first file and ignored the other 26.

Only the first file was installed, and the other 26 were ignored


Figure 5: Clicking install

After the installation, I searched for “Dream” in the Fonts app, but it was completely blank. I was a bit confused at that moment—is the graphical interface unreliable?

5. Terminal Inspection: Discovering the “Ghosts” of Duplicate Installations

Checking with fc-list | grep -i dream, I found that W1 had been installed four times (DreamHanSerifCN-W1.ttf, 1DreamHan..., 2..., 3...). Each repeated right-click installation left behind a copy with a numeric prefix.

So, I manually cleaned them up:

Bash
cd ~/.local/share/fonts
rm -f 1Dream* 2Dream* 3Dream*

Then, I copied all 27 font weights at once:

Bash
cp ~/下载/DreamHanSerifCN/DreamHanSerifCN-W*.ttf ~/.local/share/fonts/
fc-cache -fv

Seeing the terminal output “New cache content: 27 fonts”, I knew it had worked.

6. Successfully Switching to Dream Han Serif in the Browser

After restarting Chrome, I found “Dream Han Serif CN” in chrome://settings/fonts.

Both the standard font and the serif font have been changed to Dream Han Serif CN


Figure 6: Chrome font settings (after changes)

Refreshing the web page, the effect was immediate.

The Chinese text is displayed in Dream Han Serif, which is clear and comfortable


Figure 7: The actual effect of the font on the Google Translate page

Compared to the previous screenshot of Source Han Serif, the glyphs of Dream Han Serif are sharper and the blackness is more solid, significantly improving the reading experience.

7. Unifying the System Interface: Installing GNOME Tweaks

I wanted the system menus and title bars to also use Dream Han Serif. Ubuntu does not provide an option to change the system font by default, so I needed to install “Tweaks” (GNOME Tweaks).

Shows the "Install" button


Figure 8: GNOME Tweaks status in the software center (not installed)

Install it via the command line:

Bash
sudo apt update && sudo apt install gnome-tweaks

After installation, opening the software center again showed the button changed to “Open”.

Sync successful


Figure 9: GNOME Tweaks installed, showing “Open”

If it does not sync, you can run the following command:

Bash
killall gnome-software
  • Force close its background process.
  • Then open the software center from the application menu; the button should now show “Launch”

8. Choosing a Font Weight: W10 is Just Right

Open Tweaks → “Fonts” on the left side, and you can see all font weights (W1 to W27) in the “Interface Text” dropdown menu.

I chose W10, balancing clarity and comfort


Figure 10: Selecting Dream Han Serif CN W10

I also changed “Document Text” to W10, while keeping the “Monospace Font” at its default (Ubuntu Mono or Cousine) to prevent alignment issues in the terminal and code editors.

9. A Minor Remaining Regret: The File Manager Sidebar

After the changes, most of the system interface updated, but the text for “Home”, “Documents”, “Downloads”, etc., on the left sidebar of the Nautilus file manager still uses the original font (though I am not entirely sure). Looking into this, I found that the sidebar font might be controlled separately by the GTK theme, so I left it alone for now. It doesn’t affect daily use, so I just noted it down.

After the changes, most of the system interface updated, but the text for "Home", "Documents", "Downloads", etc., on the left sidebar of the Nautilus file manager still uses the original font (though I am not entirely sure).

10. Summary

My biggest takeaways from this whole process:

  • Batch installing fonts via the graphical interface is a trap—GNOME Fonts Viewer only installs one file at a time.
  • Repeated installations create multiple copies, and using the command line rm to clean them up is the most thorough method.
  • Unifying the fonts for the browser and system interface significantly improves the reading experience.
  • The W10 font weight performs very well on laptop screens; I recommend giving it a try.

If you also want to install Dream Han Serif on Ubuntu, just follow my steps: download → extract → copy via command line → fc-cache → configure in Tweaks. Avoid the pitfalls I hit, and you can get it done in half an hour.

Finally, here is my current configuration:

  • System interface text: Dream Han Serif CN W10
  • Chrome standard/serif font: Dream Han Serif CN
  • Monospace font: Ubuntu Mono (terminal/code)

If you have a way to fix the Nautilus sidebar font issue, feel free to leave a comment and discuss~

关于作者 · 持续学习与技术实践

我是一名拥有 15 年以上开发经验的技术从业者,自 2013 年起持续运营个人技术博客,记录工作与个人项目中遇到的真实问题,以及解决问题过程中的探索、实践和思考。

除了技术写作,我也在持续开发和维护自己的独立项目,探索新技术和新工具在实际场景中的应用。我始终相信,没有不值得去解决的问题,也没有不值得去学习的技术。

如果这篇文章对你有所帮助,欢迎浏览博客中的其他文章,也欢迎交流技术经验与想法。

关于我  ·  GitHub  ·  邮件联系