Bug 1825183

Summary: Review Request: hanamin-fonts - Japanese Mincho-typeface TrueType font
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: Package ReviewAssignee: Nicolas Mailhot <nicolas.mailhot>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fonts-bugs, package-review, pnemade, ppisar
Target Milestone: ---Flags: nicolas.mailhot: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-28 05:41:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Akira TAGOH 2020-04-17 10:35:20 UTC
Spec URL: https://tagoh.fedorapeople.org/reviews/hanamin-fonts/hanamin-fonts.spec
SRPM URL: https://tagoh.fedorapeople.org/reviews/hanamin-fonts/hanamin-fonts-20170904-8.fc33.src.rpm
Description:
Hanazono Mincho typeface is a Japanese TrueType font that developed with
a support of Grant-in-Aid for Publication of Scientific Research Results from
Japan Society for the Promotion of Science and the International Research
Institute for Zen Buddhism (IRIZ), Hanazono University. also with volunteers
who work together on glyphwiki.org.

Fedora Account System Username: tagoh

Comment 1 Akira TAGOH 2020-04-17 10:36:45 UTC
This is to rename hanazono-fonts.

Comment 2 Nicolas Mailhot 2020-04-24 09:08:24 UTC
Ok, quick review:

1. the spec applies official Fedora font templates
2. you do not strictly need the common_description indirection when generating a single font package, but it does no wrong either
4. since we only ship OpenType fonts nowadays, maybe it is not useful to remind the font family format in Summary and description
5. usual rpmlint checking as required in review:

$ rpmlint /srv/rpm/fonts-rpm-macros/hanamin-fonts-20170904.fc33.noarch.rpm
hanamin-fonts.noarch: W: spelling-error %description -l en_US Hanazono -> Shannon
hanamin-fonts.noarch: W: spelling-error %description -l en_US glyphwiki -> glyph wiki, glyph-wiki, hieroglyph
hanamin-fonts.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/hanamin-fonts/README.txt
hanamin-fonts.noarch: W: wrong-file-end-of-line-encoding /usr/share/doc/hanamin-fonts/THANKS.txt

Please fix the  wrong-file-end-of-line-encoding,warnings using %linuxtext or any other method

Thanks for the conversion

APPROVED

Comment 4 Nicolas Mailhot 2020-04-27 18:21:08 UTC
Hi Parag

spec cleanliness aside (and I don’t pretend to be a CJK expert) I think Akira is right, we’re not in presence of two font families, but a single one, split over two files to workaround the OpenType pre-file glyph number limit. And that will work fine because fontconfig will merge the files as a single family.

While
fc-scan -f "%{family[0]};%{style[0]};%{fullname[0]};%{width};%{weight};%{slant};%{fontversion};%{file}\n"  /usr/share/fonts/clm-*  |sort -t ';' -k1,1d -k4,4n -k5,5n -k6,6n -k2,2d -k7,7dr | uniq | column --separator ';' -t

is horrible from a usability POW, its results are useful

Comment 5 Parag Nemade 2020-04-28 04:14:17 UTC
Thank you, I understood this font family packaging now.

Comment 6 Akira TAGOH 2020-05-13 11:16:43 UTC
Fixed doc thing and requested creating new repo for this now. Thank you for the review.

Comment 7 Gwyn Ciesla 2020-05-13 13:17:05 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/hanamin-fonts

Comment 8 Akira TAGOH 2020-05-14 07:32:03 UTC
The package can't be built: https://kojipkgs.fedoraproject.org//work/tasks/7968/44477968/build.log

Comment 9 Akira TAGOH 2020-05-28 05:41:25 UTC
Okay, the package has been built on rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=1516776