FS#67607 - [ttf-ibm-plex] Seems Korean font does not added

Attached to Project: Community Packages
Opened by Moon Sungjoon (OctopusET) - Sunday, 16 August 2020, 17:59 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 14 October 2021, 22:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Santiago Torres (sangy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

IBM Plex Sans KR (Korean) had been added at v5.0.0.
Even it's added I can't find korean fonts on this package.


$ fc-list | grep "Plex Sans"

/usr/share/fonts/TTF/IBMPlexSansHebrew-Light.ttf: IBM Plex Sans Hebrew,IBM Plex Sans Hebrew Light:style=Light,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Regular
/usr/share/fonts/TTF/IBMPlexSansThai-ExtraLight.ttf: IBM Plex Sans Thai,IBM Plex Sans Thai ExtraLight:style=ExtraLight,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Text Condensed
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Light
/usr/share/fonts/TTF/IBMPlexSansHebrew-Thin.ttf: IBM Plex Sans Hebrew,IBM Plex Sans Hebrew Thin:style=Thin,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Thin Condensed
/usr/share/fonts/TTF/IBMPlexSansThai-SemiBold.ttf: IBM Plex Sans Thai,IBM Plex Sans Thai SemiBold:style=SemiBold,Regular
/usr/share/fonts/TTF/IBMPlexSansCondensed-Bold.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond:style=Bold
/usr/share/fonts/TTF/IBMPlexSansThaiLooped-Bold.ttf: IBM Plex Sans Thai Looped:style=Bold
/usr/share/fonts/TTF/IBMPlexSansCondensed-Medium.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond Medm:style=Medium,Regular
/usr/share/fonts/TTF/IBMPlexSansCondensed-TextItalic.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond Text:style=Text Italic,Italic
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=ExtraLight Italic
/usr/share/fonts/TTF/IBMPlexSansThaiLooped-Text.ttf: IBM Plex Sans Thai Looped,IBM Plex Sans Thai Looped Text:style=Text,Regular
/usr/share/fonts/TTF/IBMPlexSans-ExtraLightItalic.ttf: IBM Plex Sans,IBM Plex Sans ExtraLight:style=ExtraLight Italic,Italic
/usr/share/fonts/TTF/IBMPlexSansCondensed-ThinItalic.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond Thin:style=Thin Italic,Italic
/usr/share/fonts/TTF/IBMPlexSansThai-Light.ttf: IBM Plex Sans Thai,IBM Plex Sans Thai Light:style=Light,Regular
/usr/share/fonts/TTF/IBMPlexSansCondensed-SemiBoldItalic.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond SmBld:style=SemiBold Italic,Italic
/usr/share/fonts/TTF/IBMPlexSans-BoldItalic.ttf: IBM Plex Sans:style=Bold Italic
/usr/share/fonts/TTF/IBMPlexSans-Light.ttf: IBM Plex Sans,IBM Plex Sans Light:style=Light,Regular
/usr/share/fonts/TTF/IBMPlexSansCondensed-ExtraLightItalic.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond ExtLt:style=ExtraLight Italic,Italic
/usr/share/fonts/TTF/IBMPlexSansDevanagari-ExtraLight.ttf: IBM Plex Sans Devanagari,IBM Plex Sans Devanagari ExtraLight:style=ExtraLight,Regular
/usr/share/fonts/TTF/IBMPlexSansArabic-Text.ttf: IBM Plex Sans Arabic,IBM Plex Sans Arabic Text:style=Text,Regular
/usr/share/fonts/TTF/IBMPlexSans-Thin.ttf: IBM Plex Sans,IBM Plex Sans Thin:style=Thin,Regular
/usr/share/fonts/TTF/IBMPlexSansHebrew-SemiBold.ttf: IBM Plex Sans Hebrew,IBM Plex Sans Hebrew SemiBold:style=SemiBold,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Light Condensed Italic
/usr/share/fonts/TTF/IBMPlexSansDevanagari-SemiBold.ttf: IBM Plex Sans Devanagari,IBM Plex Sans Devanagari SemiBold:style=SemiBold,Regular
/usr/share/fonts/TTF/IBMPlexSansThai-Thin.ttf: IBM Plex Sans Thai,IBM Plex Sans Thai Thin:style=Thin,Regular
/usr/share/fonts/TTF/IBMPlexSansThaiLooped-Thin.ttf: IBM Plex Sans Thai Looped,IBM Plex Sans Thai Looped Thin:style=Thin,Regular
/usr/share/fonts/TTF/IBMPlexSansDevanagari-Thin.ttf: IBM Plex Sans Devanagari,IBM Plex Sans Devanagari Thin:style=Thin,Regular
/usr/share/fonts/TTF/IBMPlexSansArabic-Light.ttf: IBM Plex Sans Arabic,IBM Plex Sans Arabic Light:style=Light,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Text Italic
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Bold
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=SemiBold Condensed Italic
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=ExtraLight
/usr/share/fonts/TTF/IBMPlexSans-MediumItalic.ttf: IBM Plex Sans,IBM Plex Sans Medium:style=Medium Italic,Italic
/usr/share/fonts/TTF/IBMPlexSansHebrew-Medium.ttf: IBM Plex Sans Hebrew,IBM Plex Sans Hebrew Medium:style=Medium,Regular
/usr/share/fonts/TTF/IBMPlexSansCondensed-Italic.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond:style=Italic
/usr/share/fonts/TTF/IBMPlexSansCondensed-Thin.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond Thin:style=Thin,Regular
/usr/share/fonts/TTF/IBMPlexSansThai-Regular.ttf: IBM Plex Sans Thai:style=Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Medium Italic
/usr/share/fonts/TTF/IBMPlexSansCondensed-Regular.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond:style=Regular
/usr/share/fonts/TTF/IBMPlexSansArabic-SemiBold.ttf: IBM Plex Sans Arabic,IBM Plex Sans Arabic SemiBold:style=SemiBold,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Medium Condensed
/usr/share/fonts/TTF/IBMPlexSansDevanagari-Text.ttf: IBM Plex Sans Devanagari,IBM Plex Sans Devanagari Text:style=Text,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Light Italic
/usr/share/fonts/TTF/IBMPlexSansHebrew-Bold.ttf: IBM Plex Sans Hebrew:style=Bold
/usr/share/fonts/TTF/IBMPlexSansCondensed-ExtraLight.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond ExtLt:style=ExtraLight,Regular
/usr/share/fonts/TTF/IBMPlexSans-ExtraLight.ttf: IBM Plex Sans,IBM Plex Sans ExtraLight:style=ExtraLight,Regular
/usr/share/fonts/TTF/IBMPlexSans-LightItalic.ttf: IBM Plex Sans,IBM Plex Sans Light:style=Light Italic,Italic
/usr/share/fonts/TTF/IBMPlexSansCondensed-SemiBold.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond SmBld:style=SemiBold,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=ExtraLight Condensed Italic
/usr/share/fonts/TTF/IBMPlexSansCondensed-MediumItalic.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond Medm:style=Medium Italic,Italic
/usr/share/fonts/TTF/IBMPlexSansThai-Bold.ttf: IBM Plex Sans Thai:style=Bold
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Thin
/usr/share/fonts/TTF/IBMPlexSansThaiLooped-Regular.ttf: IBM Plex Sans Thai Looped:style=Regular
/usr/share/fonts/TTF/IBMPlexSansThaiLooped-SemiBold.ttf: IBM Plex Sans Thai Looped,IBM Plex Sans Thai Looped SemiBold:style=SemiBold,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Text Condensed Italic
/usr/share/fonts/TTF/IBMPlexSansArabic-Thin.ttf: IBM Plex Sans Arabic,IBM Plex Sans Arabic Thin:style=Thin,Regular
/usr/share/fonts/TTF/IBMPlexSansDevanagari-Light.ttf: IBM Plex Sans Devanagari,IBM Plex Sans Devanagari Light:style=Light,Regular
/usr/share/fonts/TTF/IBMPlexSansThai-Medium.ttf: IBM Plex Sans Thai,IBM Plex Sans Thai Medium:style=Medium,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var
/usr/share/fonts/TTF/IBMPlexSansDevanagari-Medium.ttf: IBM Plex Sans Devanagari,IBM Plex Sans Devanagari Medium:style=Medium,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=SemiBold
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=SemiBold Italic
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Text
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Italic
/usr/share/fonts/TTF/IBMPlexSans-SemiBold.ttf: IBM Plex Sans,IBM Plex Sans SemiBold:style=SemiBold,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Thin Italic
/usr/share/fonts/TTF/IBMPlexSansCondensed-Light.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond Light:style=Light,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Thin Condensed Italic
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Medium Condensed Italic
/usr/share/fonts/TTF/IBMPlexSansHebrew-Text.ttf: IBM Plex Sans Hebrew,IBM Plex Sans Hebrew Text:style=Text,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Condensed Italic
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Bold Condensed
/usr/share/fonts/TTF/IBMPlexSans-Bold.ttf: IBM Plex Sans:style=Bold
/usr/share/fonts/TTF/IBMPlexSansArabic-Bold.ttf: IBM Plex Sans Arabic:style=Bold
/usr/share/fonts/TTF/IBMPlexSans-Italic.ttf: IBM Plex Sans:style=Italic
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Light Condensed
/usr/share/fonts/TTF/IBMPlexSansDevanagari-Regular.ttf: IBM Plex Sans Devanagari:style=Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Condensed
/usr/share/fonts/TTF/IBMPlexSansDevanagari-Bold.ttf: IBM Plex Sans Devanagari:style=Bold
/usr/share/fonts/TTF/IBMPlexSans-ThinItalic.ttf: IBM Plex Sans,IBM Plex Sans Thin:style=Thin Italic,Italic
/usr/share/fonts/TTF/IBMPlexSans-Medium.ttf: IBM Plex Sans,IBM Plex Sans Medium:style=Medium,Regular
/usr/share/fonts/TTF/IBMPlexSans-SemiBoldItalic.ttf: IBM Plex Sans,IBM Plex Sans SemiBold:style=SemiBold Italic,Italic
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=ExtraLight Condensed
/usr/share/fonts/TTF/IBMPlexSansThaiLooped-Light.ttf: IBM Plex Sans Thai Looped,IBM Plex Sans Thai Looped Light:style=Light,Regular
/usr/share/fonts/TTF/IBMPlexSansThaiLooped-Medium.ttf: IBM Plex Sans Thai Looped,IBM Plex Sans Thai Looped Medium:style=Medium,Regular
/usr/share/fonts/TTF/IBMPlexSansCondensed-LightItalic.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond Light:style=Light Italic,Italic
/usr/share/fonts/TTF/IBMPlexSansHebrew-ExtraLight.ttf: IBM Plex Sans Hebrew,IBM Plex Sans Hebrew ExtraLight:style=ExtraLight,Regular
/usr/share/fonts/TTF/IBMPlexSansArabic-ExtraLight.ttf: IBM Plex Sans Arabic,IBM Plex Sans Arabic ExtraLight:style=ExtraLight,Regular
/usr/share/fonts/TTF/IBMPlexSansArabic-Medium.ttf: IBM Plex Sans Arabic,IBM Plex Sans Arabic Medium:style=Medium,Regular
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var
/usr/share/fonts/TTF/IBMPlexSans-TextItalic.ttf: IBM Plex Sans,IBM Plex Sans Text:style=Text Italic,Italic
/usr/share/fonts/TTF/IBMPlexSansCondensed-Text.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond Text:style=Text,Regular
/usr/share/fonts/TTF/IBMPlexSansThai-Text.ttf: IBM Plex Sans Thai,IBM Plex Sans Thai Text:style=Text,Regular
/usr/share/fonts/TTF/IBMPlexSansArabic-Regular.ttf: IBM Plex Sans Arabic:style=Regular
/usr/share/fonts/TTF/IBMPlexSans-Text.ttf: IBM Plex Sans,IBM Plex Sans Text:style=Text,Regular
/usr/share/fonts/TTF/IBMPlexSansHebrew-Regular.ttf: IBM Plex Sans Hebrew:style=Regular
/usr/share/fonts/TTF/IBMPlexSans-Regular.ttf: IBM Plex Sans:style=Regular
/usr/share/fonts/TTF/IBMPlexSansThaiLooped-ExtraLight.ttf: IBM Plex Sans Thai Looped,IBM Plex Sans Thai Looped ExtraLight:style=ExtraLight,Regular
/usr/share/fonts/TTF/IBMPlexSansCondensed-BoldItalic.ttf: IBM Plex Sans Condensed,IBM Plex Sans Cond:style=Bold Italic
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=SemiBold Condensed
/usr/share/fonts/TTF/IBMPlexSansVar-Roman.ttf: IBM Plex Sans Var:style=Medium
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Bold Condensed Italic
/usr/share/fonts/TTF/IBMPlexSansVar-Italic.ttf: IBM Plex Sans Var:style=Bold Italic

This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 14 October 2021, 22:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  2021-09-19: A task closure has been requested. Reason for request: Implemented upstream
Comment by Doug Newgard (Scimmia) - Monday, 17 August 2020, 10:58 GMT
Looks like they have separate hinted and unhinted subdirs, which is different than all of the other fonts in the package. Because of that, it wasn't caught by the script.
Comment by Santiago Torres (sangy) - Tuesday, 08 September 2020, 17:14 GMT
I'm looking into this to fix it alongside 5.1.3. I don't see any KR fonts inside of their release. Is it on its own ttf file or part of another one?
Comment by Doug Newgard (Scimmia) - Tuesday, 08 September 2020, 17:31 GMT
Check the IBM-Plex-Sans-KR dir
Comment by Santiago Torres (sangy) - Tuesday, 08 September 2020, 18:08 GMT
Yeah, I don't see that in TrueType.zip. I opened this bug upstream: https://github.com/IBM/plex/issues/340
Comment by Moon Sungjoon (OctopusET) - Tuesday, 08 September 2020, 18:16 GMT
I just download TrueType zip file (5.1.3 ver.). But there are KR fonts inside.
Comment by Moon Sungjoon (OctopusET) - Tuesday, 08 September 2020, 18:18 GMT
Web, OpenType, and Source files do include korean font files, I don't know what's happening now.
Comment by Moon Sungjoon (OctopusET) - Tuesday, 08 September 2020, 18:21 GMT
I checked your issue page, What command did you use for check zip file???
Comment by Santiago Torres (sangy) - Tuesday, 08 September 2020, 19:54 GMT
Hmm, I'm using zip -sf TrueType.zip, let me re-download the sources...
Comment by Santiago Torres (sangy) - Tuesday, 08 September 2020, 19:56 GMT
can you share the sha256sum of your TrueType.zip?
Comment by Moon Sungjoon (OctopusET) - Tuesday, 08 September 2020, 20:02 GMT
2c9f07cc1c0fd0288b1c68b8472362b5a1534f486978288c3c2cf794f168f01c
Comment by Doug Newgard (Scimmia) - Tuesday, 08 September 2020, 22:37 GMT
I checked TrueType.zip both before my initial comment and again with the new version before the second one. Extracted with 7z, the files *are* there.

I get the same hash. I wonder if you've got an old archive, sangy, it should really be renamed on download with the version.

Edit: also just checked it with zip -sf, files are listed. Pretty sure you're working off an old archive.
Comment by Moon Sungjoon (OctopusET) - Tuesday, 08 September 2020, 23:56 GMT
I didn't know there is newer version, I download lastest Releases(v5.1.3). It seems my mistake. I'm finding newer version now. Reply ASAP

Edit: I thought you are talking to me, my mistake. Yeah There are korean files.
Comment by Moon Sungjoon (OctopusET) - Wednesday, 09 September 2020, 00:22 GMT
Isn't just putting below code is easy fix? (I just put /* after /*/*)
install -Dm644 */*/*.ttf -t "${pkgdir}/usr/share/fonts/TTF"
Comment by Moon Sungjoon (OctopusET) - Wednesday, 09 September 2020, 00:22 GMT
I'm just noob and I don't know have to contrib to offical community repo. :P
Comment by Santiago Torres (sangy) - Wednesday, 09 September 2020, 00:47 GMT
well, it's almost the fix. Yeah for some reason my archive wasn't working. I think there's a fix similar to what you propose, but we'd have to do something about the hinted/unhinted stuff Scimmia spoke about.
Comment by Santiago Torres (sangy) - Wednesday, 09 September 2020, 02:07 GMT
For now, I added the unhinted version of the KR fonts. Let me know if this fixes your issue.
Comment by Moon Sungjoon (OctopusET) - Wednesday, 09 September 2020, 02:13 GMT
Thank you for fix. I'm installing arch linux on my new laptop rn, so I let you know ASAP. Thanks a lot again.
Comment by Adria Arrufat (swiftscythe) - Thursday, 19 August 2021, 02:27 GMT
Replacing this line:

install -Dm644 */*.ttf -t "${pkgdir}/usr/share/fonts/TTF"

with this line:

find -name *.ttf ! -path "*/unhinted/*" -exec install -Dm644 {} -t "${pkgdir}/usr/share/fonts/TTF" \;

Install all fonts (including Korean and Japanese) while excluding the unhinted versions.

EDIT: Patch attached.
Comment by Santiago Torres (sangy) - Wednesday, 25 August 2021, 00:46 GMT
Hey, thank you for bumping this in my email, and thank you for the patch. Modulo a nit, I applies and seems to work. Thanks!
Comment by Adria Arrufat (swiftscythe) - Wednesday, 25 August 2021, 00:52 GMT
My pleasure :)