summary refs log tree commit diff
path: root/media-fonts
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2020-11-08 13:37:04 +0300
committerAzat Bahawi <azahi@teknik.io>2020-11-08 13:37:11 +0300
commitecfa1cea20cb2207ca65049fafa1793557b8d019 (patch)
tree3d546e505b884e9e554ddfb02977d4920cc541bb /media-fonts
parentx11-wm/xwm: Add package (diff)
media-fonts/uw-ttyp0: Fix font encoding
There was an encoding issue that prevented the font from using
its own glyphs for languages like Russian because by default
it would prioritize creating and enabling non-UTF formats

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Azat Bahawi <azahi@teknik.io>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/uw-ttyp0/uw-ttyp0-1.3-r1.ebuild (renamed from media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild)1
1 files changed, 1 insertions, 0 deletions
diff --git a/media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild b/media-fonts/uw-ttyp0/uw-ttyp0-1.3-r1.ebuild
index 9bf12cf..44b9e2f 100644
--- a/media-fonts/uw-ttyp0/uw-ttyp0-1.3.ebuild
+++ b/media-fonts/uw-ttyp0/uw-ttyp0-1.3-r1.ebuild
@@ -22,6 +22,7 @@ BDEPEND="
 
 src_configure() {
 	./configure prefix="${EPREFIX}/usr" pcfdir="${FONTDIR}"
+	sed -e 's/^ENCODINGS =.*/ENCODINGS = uni/' -i TARGETS.dat || die
 }
 
 src_install() {

Consider giving Nix/NixOS a try! <3