[Bug 1015701] Review Request: amiri-fonts - Arabic font form amirifont.org
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1015701
--- Comment #36 from Parag AN(पराग) <panemade(a)gmail.com> ---
1) You need subpackage for Amiri Quran. Don't remove it. We add fonts
(sub-)packages per family. Here, Amiri Quran is one family for amiri-quran.ttf
and all other fonts under family name Amiri.
so as said before, amiri-fonts installs amiri-boldslanted.ttf, amiri-bold.ttf,
amiri-regular.ttf, amiri-slanted.ttf
And
amiri-quran-fonts installs amiri-quran.ttf
and then -common is needed by amiri-quran-fonts subpackage also.
2) you can remove following
%doc
and instead make all docs files be owned/installed by -common subpackage
%files common
%doc documentation/* OFL.txt OFL-FAQ.txt
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=B3upC0zjrk&a=cc_unsubscribe
10 years, 6 months
[Bug 1015701] Review Request: amiri-fonts - Arabic font form amirifont.org
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1015701
--- Comment #32 from Khaled Hosny <khaledhosny(a)eglug.org> ---
(In reply to Parag AN(पराग) from comment #31)
> 3) your fontconfig files should look neat as
> a)amiri-fontconfig.conf
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
> <fontconfig>
> <alias>
> <family>sans-serif</family>
> <prefer>
> <family>Amiri</family>
> </prefer>
> </alias>
> <alias>
> <family>Amiri</family>
> <default>
> <family>sans-serif</family>
> </default>
> </alias>
> </fontconfig>
Amiri is a serif, not a sans-serif font.
> b)amiri-quran-fontconfig.conf
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
> <fontconfig>
> <alias>
> <family>sans-serif</family>
> <prefer>
> <family>Amiri Quran</family>
> </prefer>
> </alias>
> <alias>
> <family>Amiri Quran</family>
> <default>
> <family>sans-serif</family>
> </default>
> </alias>
> </fontconfig>
Amiri Quran is a special font for typesetting Quran (it has a very high line
hight, only support characters used in Quran, some typographic choices not
generally suitable for regular text), so I don’t think such an alias is a good
idea.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=7JkBRbczXy&a=cc_unsubscribe
10 years, 6 months
[Bug 1015701] Review Request: amiri-fonts - Arabic font form amirifont.org
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1015701
--- Comment #31 from Parag AN(पराग) <panemade(a)gmail.com> ---
suggestions:
1) your source download link should be
http://downloads.sourceforge.net/project/amiri/%{fontname}-%{version}.tar...
2) good to always truncate your long lines with 80 characters per line
# Sorts Mill tools (and others) which necessary to rebuild Amiri fonts isn't
# released in Fedora yet. Enable the disabled-lines when rebuilding of Amiri
# fonts possible.
but I will suggest you better clean the spec and let not include comments and
sorts mill tools information.
We have many font packages which are not built from source so not a hard
requirement. Just install binary files for now.
3) your fontconfig files should look neat as
a)amiri-fontconfig.conf
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Amiri</family>
</prefer>
</alias>
<alias>
<family>Amiri</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>
b)amiri-quran-fontconfig.conf
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Amiri Quran</family>
</prefer>
</alias>
<alias>
<family>Amiri Quran</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>
4) font package name should be
[foundryname-]projectname[-fontfamilyname]-fonts, in lowercase.
so you should install amiri-boldslanted.ttf, amiri-bold.ttf, amiri-regular.ttf,
amiri-slanted.ttf from main amiri-fonts package
and
amiri-quran.ttf font from amiri-quran-fonts package
5) I don't think we need this font to be default Arabic font in Fedora. I will
suggest to use 67 or 68 fontconfig priority like other fonts are using. Good to
keep 67 priority as we have one example as 67-paktype-naskh-basic.conf
6) you should add -common package and not -doc package. Also, all other
documentation files to -common package.
7) then, this -common be added to amiri-fonts and amiri-quran-fonts as
Requires: amiri-fonts-common
Feel free to ask me if you got any doubts in above.
Provide new srpm that fixes above issues.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=p0utZj03U9&a=cc_unsubscribe
10 years, 6 months
[Bug 1021754] New: Use fc-cache /usr/share/fonts/<your font directory> instead of /usr/share/fonts
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1021754
Bug ID: 1021754
Summary: Use fc-cache /usr/share/fonts/<your font directory>
instead of /usr/share/fonts
Product: Fedora
Version: 19
Component: baekmuk-bdf-fonts
Assignee: dueno(a)redhat.com
Reporter: tagoh(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: dueno(a)redhat.com, fonts-bugs(a)lists.fedoraproject.org,
i18n-bugs(a)lists.fedoraproject.org, petersen(a)redhat.com
Description of problem:
Running fc-cache with /usr/share/fonts takes too much time and may breaks the
cache for parents when installing multiple font packages or upgrading
fontconfig, especially sometimes happens on the installation say.
As the macro in fontpackages does, please follow it up and use fc-cache
/usr/share/fonts/<your font directory> instead of /usr/share/fonts.
Version-Release number of selected component (if applicable):
baekmuk-bdf-fonts-2.2-13.fc19.noarch
How reproducible:
always
Steps to Reproduce:
1.rpm -q --scripts baekmuk-bdf-fonts-2.2-13.fc19.noarch
2.
3.
Actual results:
postinstall scriptlet (using /bin/sh):
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache /usr/share/fonts
fi
postuninstall scriptlet (using /bin/sh):
if [ "$1" = "0" ]; then
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache /usr/share/fonts
fi
fi
Expected results:
the directory should be /usr/share/fonts/<your font directory> instead
Additional info:
should be same on rawhide and f20
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ZVRWEhIhDn&a=cc_unsubscribe
10 years, 6 months