This repository has been archived by the owner on Feb 1, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[media-fonts/crosextrafonts] Add fontconfig .conf file for font subst…
…itution
- Loading branch information
1 parent
727e844
commit 581f7dd
Showing
2 changed files
with
29 additions
and
0 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 |
---|---|---|
|
@@ -16,3 +16,4 @@ IUSE="" | |
RESTRICT="binchecks strip test" | ||
|
||
FONT_SUFFIX="ttf" | ||
FONT_CONF=( "${FILESDIR}"/62-caladea.conf ) |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | ||
<fontconfig> | ||
<alias> | ||
<family>serif</family> | ||
<prefer> | ||
<family>Caladea</family> | ||
</prefer> | ||
</alias> | ||
<alias> | ||
<family>Caladea</family> | ||
<default> | ||
<family>serif</family> | ||
</default> | ||
</alias> | ||
<alias binding="same"> | ||
<family>Cambria</family> | ||
<accept> | ||
<family>Caladea</family> | ||
</accept> | ||
</alias> | ||
<alias binding="same"> | ||
<family>Caladea</family> | ||
<default> | ||
<family>Cambria</family> | ||
</default> | ||
</alias> | ||
</fontconfig> |