<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:akira@tagoh.org" title="Akira TAGOH <akira@tagoh.org>"> <span class="fn">Akira TAGOH</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - size specific design selection support in OS/2 table version 5"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71287">bug 71287</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - size specific design selection support in OS/2 table version 5"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71287#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - size specific design selection support in OS/2 table version 5"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71287">bug 71287</a>
              from <span class="vcard"><a class="email" href="mailto:akira@tagoh.org" title="Akira TAGOH <akira@tagoh.org>"> <span class="fn">Akira TAGOH</span></a>
</span></b>
        <pre>Okay, finally can introduce the initial code for this feature.

<a href="http://cgit.freedesktop.org/~tagoh/fontconfig/commit/?h=new-size-selection-mechanism">http://cgit.freedesktop.org/~tagoh/fontconfig/commit/?h=new-size-selection-mechanism</a>

I did test this by having the following recipe so that I don't have fonts
containing those properties in OS/2 table.

<fontconfig>
<match target="scan">
  <test name="file" compare="eq">
    <string>/path/to/fixed.pcf</string>
  </test>
  <edit name="sizerange" mode="assign">
    <range>
      <double>10</double>
      <double>12</double>
    </range>
  </edit>
</match>
</fontconfig>

% ./fc-match/fc-match -f "%{family}:file=%{file}\n" "Fixed:size=9"
Fixed:file=/usr/share/fonts/knm-new-fixed/kaname-latin1.pcf.gz
% ./fc-match/fc-match -f "%{family}:file=%{file}\n" "Fixed:size=10"
Fixed:file=/path/to/fixed.pcf
% ./fc-match/fc-match -f "%{family}:file=%{file}\n" "Fixed:size=11"
Fixed:file=/path/to/fixed.pcf
% ./fc-match/fc-match -f "%{family}:file=%{file}\n" "Fixed:size=12"
Fixed:file=/usr/share/fonts/knm-new-fixed/kaname-latin1.pcf.gz</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>