-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
font: support fallback font to display east asia language.
if exitst fallback.font, and font code not exits in the current font and the replacement font, try get glyph from the fallback font. Signed-off-by: nx111 <NX111.AimH@gmail.com> (cherry picked from commit 35a740d) (cherry picked from commit 7e99dca)
- Loading branch information
Showing
4 changed files
with
43 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
installdir = $(datadir)/fonts | ||
|
||
dist_install_DATA = *.ttf | ||
dist_install_DATA = *.ttf, *.ttc | ||
|
||
install-exec-hook: | ||
cd $(DESTDIR)$(datadir)/fonts && \ | ||
$(LN_S) wqy-microhei.ttc fallback.font |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters