<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - fc-query doesn't find non-english family names in some fonts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107370">107370</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>fc-query doesn't find non-english family names in some fonts
</td>
</tr>
<tr>
<th>Product</th>
<td>fontconfig
</td>
</tr>
<tr>
<th>Version</th>
<td>2.12
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>fc-query
</td>
</tr>
<tr>
<th>Assignee</th>
<td>fontconfig-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>cwryu@debian.org
</td>
</tr></table>
<p>
<div>
<pre>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: <a href="http://kldp.net/baekmuk/release/">http://kldp.net/baekmuk/release/</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>