Signed-off-by: Victor Kustov <ktrace@yandex.ru>pull/18/head
parent
cf2a67edef
commit
6474e298fa
@ -0,0 +1 @@
|
||||
DIST all_fonts_myoffice.zip 4294439 BLAKE2B dcd0fc0fa2d0a7e3953db3b3ec7806618454e0a59ca2f4e7ba9ffa5a769079416649a27ebf0e95edf5e6db9bb82e2b43ed5cd124fbf5df78cfcf107c50e1682b SHA512 0c11fc75c330246b74068452ce49ac2dce352129d76b918a876655fba9b2995b3714f6fdd72927a72353d680141704341b6c31ffc441d94091cbabc0e8249e7a
|
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family"><string>Times New Roman</string></test>
|
||||
<edit name="family" mode="assign"><string>XO Thames</string></edit>
|
||||
</match>
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family"><string>Arial</string></test>
|
||||
<edit name="family" mode="assign"><string>XO Oriel</string></edit>
|
||||
</match>
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family"><string>Courier</string></test>
|
||||
<edit name="family" mode="assign"><string>XO Courser</string></edit>
|
||||
</match>
|
||||
</fontconfig>
|
||||
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>support@calculate.ru</email>
|
||||
<name>Mir Calculate</name>
|
||||
<description>Calculate Overlay</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit font
|
||||
|
||||
DESCRIPTION="Free XO cyrillic fonts from MyOffice"
|
||||
HOMEPAGE="https://myoffice.ru/products/fonts/"
|
||||
SRC_URI="https://myoffice.ru/files/fonts/all_fonts_myoffice.zip"
|
||||
|
||||
LICENSE="open-xo-fonts"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
#FONT_CONF=( "${FILESDIR}/60-xo-fonts.conf" )
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/fonts/${PN}
|
||||
|
||||
local f
|
||||
for f in Caliburn Courser Oriel Tahion Thames ; do
|
||||
doins "XO_${f}/XO_${f}/TTF/"*.ttf
|
||||
done
|
||||
for f in Symbol SymbolM Trebizond Verbena Windy ; do
|
||||
doins "XO_${f}/"*.ttf
|
||||
done
|
||||
|
||||
font_xfont_config
|
||||
font_fontconfig
|
||||
}
|
Loading…
Reference in new issue