<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 - emboldening isn't enabled on medium font when requesting bold"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106460">106460</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>emboldening isn't enabled on medium font when requesting bold
</td>
</tr>
<tr>
<th>Product</th>
<td>fontconfig
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>library
</td>
</tr>
<tr>
<th>Assignee</th>
<td>fontconfig-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>akira@tagoh.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>freedesktop@behdad.org
</td>
</tr></table>
<p>
<div>
<pre>$ fc-match -f "family: %{family}\nstyle: %{style}\nembolden: %{embolden}\n"
inconsolata
family: Inconsolata
style: Medium
embolden:
$ fc-match -f "family: %{family}\nstyle: %{style}\nembolden: %{embolden}\n"
inconsolata:bold
family: Inconsolata
style: Medium
embolden:
90-synthetic.conf won't be applied due to this:
commit 9efe0689ae130eda75a66ecd853cbe63712378a3
Author: Behdad Esfahbod <<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>>
Date: Fri Sep 15 14:28:12 2017 -0400
Adjust emboldening logic
Old logic was really bad. If you requested weight=102 and got a medium
font (weight=100), it would still enable emboldening...
Adjust it to only embolden if request was >= bold and font was <= regular.
we need to change this logic again to get this working like:
$ fc-match -f "family: %{family}\nstyle: %{style}\nembolden: %{embolden}\n"
inconsolata:bold
family: Inconsolata
style: Medium
embolden: True</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>