[Fontconfig-bugs] [Bug 107370] New: fc-query doesn't find non-english family names in some fonts
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jul 25 07:57:47 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107370
Bug ID: 107370
Summary: fc-query doesn't find non-english family names in some
fonts
Product: fontconfig
Version: 2.12
Hardware: Other
OS: All
Status: NEW
Severity: major
Priority: medium
Component: fc-query
Assignee: fontconfig-bugs at lists.freedesktop.org
Reporter: cwryu at debian.org
fc-query couldn't find Korean family of some Korean fonts in my laptop. I
believe this is the same with other languages.
Korean fonts usually have multiple "family" string, like "Baekmuk Batang" in
English and "백묵 바탕" in Korean. But fc-query couldn't find the Korean version in
some Korean fonts. In other Korean fonts, fc-query has no problem to find all
the family strings.
$ ./fc-query/fc-query -b /usr/share/fonts/truetype/baekmuk/batang.ttf |grep
family
family: "Baekmuk Batang"(s)
familylang: "en"(s)
$ ./fc-query/fc-query -b /usr/share/fonts/truetype/nanum/NanumGothic.ttf |grep
family
family: "나눔고딕"(s) "NanumGothic"(s)
familylang: "ko"(s) "en"(s)
$
Old 2.12.4 version worked OK.
$ ./fc-query/fc-query -b /usr/share/fonts/truetype/baekmuk/batang.ttf |grep
family
family: "Baekmuk Batang"(s) "백묵 바탕"(s)
familylang: "en"(s) "ko"(s)
$
Here is the git bisect log:
git bisect start
# good: [690f822a1b26b089d86e9843746cab80f3c07fe3] Bump version to 2.12.3
git bisect good 690f822a1b26b089d86e9843746cab80f3c07fe3
# bad: [4d3410bd08a0f61272ca1dbb1dd27ac8c5f222de] Bump version to 2.12.5
git bisect bad 4d3410bd08a0f61272ca1dbb1dd27ac8c5f222de
# bad: [368fe08f970d7f8d3b49f1350ca14b0915a754b3] Add Twitter Color Emoji
git bisect bad 368fe08f970d7f8d3b49f1350ca14b0915a754b3
# good: [5d8ee5231ab1ea6f36d3103b4de24712c3ae2f64] fix cross compilation
git bisect good 5d8ee5231ab1ea6f36d3103b4de24712c3ae2f64
# good: [12b7501bad3ed4d7819b00a27a9c021e7d120aa0] Add
FcConfigParseAndLoadFromMemory() to load a configuration from memory.
git bisect good 12b7501bad3ed4d7819b00a27a9c021e7d120aa0
# good: [241cc869327ec07774ff555e157db1bea73dc485] Pass --pic to gperf
git bisect good 241cc869327ec07774ff555e157db1bea73dc485
# bad: [e5a51c899480c3bd99c36e49d1c24932f6a08810] [fc-query] Support listing
named instances
git bisect bad e5a51c899480c3bd99c36e49d1c24932f6a08810
# good: [d7f3437ade668c60a7e31f93669b73680be6512a] Add generic family matching
for "emoji" and "math"
git bisect good d7f3437ade668c60a7e31f93669b73680be6512a
# first bad commit: [e5a51c899480c3bd99c36e49d1c24932f6a08810] [fc-query]
Support listing named instances
This can be reproduced in Baekmuk fonts. The baekmuk fonts can be downloaded
from: http://kldp.net/baekmuk/release/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20180725/3d3d66f4/attachment.html>
More information about the Fontconfig-bugs
mailing list