diff --git a/desktop/font/carlito-fonts/actions.py b/desktop/font/carlito-fonts/actions.py new file mode 100644 index 0000000000..81f2f8c7b3 --- /dev/null +++ b/desktop/font/carlito-fonts/actions.py @@ -0,0 +1,32 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +from pisi.actionsapi import shelltools, pisitools + +def install(): + # Arşivden çıkan klasörün içine gir (GitHub varsayılanı) + # Eğer klasör adı farklıysa 'ls' ile kontrol edip burayı güncelleyebilirsin + #shelltools.cd("carlito-main") + + # Yazı tipi dosyalarını (fonts/ttf/ dizini altındaysa orayı belirt) + # Carlito reposunda fontlar genellikle fonts/ttf/ altındadır + pisitools.insinto("/usr/share/fonts/carlito", "fonts/ttf/*.ttf") + + # Fontconfig ayarları (Öncekiyle aynı) + conf_content = """ + + + + Calibri + + Carlito + + + +""" + shelltools.echo("30-calibri-to-carlito.conf", conf_content) + pisitools.insinto("/etc/fonts/conf.avail", "30-calibri-to-carlito.conf") + pisitools.dosym("/etc/fonts/conf.avail/30-calibri-to-carlito.conf", "/etc/fonts/conf.d/30-calibri-to-carlito.conf") + + # Belgeler + pisitools.dodoc("OFL.txt", "README.md") \ No newline at end of file diff --git a/desktop/font/carlito-fonts/pspec.xml b/desktop/font/carlito-fonts/pspec.xml new file mode 100644 index 0000000000..0d585e71d0 --- /dev/null +++ b/desktop/font/carlito-fonts/pspec.xml @@ -0,0 +1,41 @@ + + + + + carlito-fonts + https://github.com/googlefonts/carlito + + Erkan IŞIK + erkanisik@pisilinux.org + + OFL + data + Calibri compatible sans-serif font + Calibri uyumlu sans-serif yazı tipi + Carlito is a sans-serif font family that is metric-compatible with Microsoft's Calibri font. + Carlito, Microsoft'un Calibri yazı tipiyle metrik olarak uyumlu (aynı karakter genişliğine sahip) bir sans-serif yazı tipi ailesidir. + + https://github.com/googlefonts/carlito/archive/refs/heads/main.tar.gz + + + + + carlito-fonts + + /usr/share/fonts/carlito + /etc/fonts/conf.avail + /etc/fonts/conf.d + /usr/share/doc/carlito-fonts + + + + + + 2026-05-11 + 1.103 + First release with Calibri substitution rule. + Erkan IŞIK + erkanisik@pisilinux.org + + + \ No newline at end of file