I'm using Java 10, and swing. I'm using the DejaVu Sans Mono font, because I think it looks nice. However, it has very poor support of CJK characters, so to maximize support, I thought of using Noto Sans CJK as a backup. Although I could use Noto Sans for Latin characters too, I don't quite like their Latin characters too much.
Although this seems like a trivial question, I can't seem to find out how to do it. Even if you can't answer, I appreciate pointers.
TL;DR:
My Problem
I can't display Chinese, Japanese or Korean characters with DejaVu Sans Mono
My Solution
Use Noto Sans CJK
The Problem with my solution
Noto Sans is ugly with Latin, and doesn't support Arabic
My Question
How do I tell a JComponent that if it can't find a character in Font One (DejaVu), it should use Font Two (Noto) instead?
canDisplayUpTo(String)
. – Andrew Thompson