<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 - Performance concerns when larger CJK fonts are installed"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105085">105085</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Performance concerns when larger CJK fonts are installed
          </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>fc-cache
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>fontconfig-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jeffbai@aosc.io
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>freedesktop@behdad.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>As it currently stands, fc-cache seems to struggle quite a bit when handling
CJK fonts - in this example, the Noto Sans CJK family. On a Sandy Bridge laptop
with an i7-2860QM processor, the process could take up to a minute, during
which it is impossible to run new graphical/X11 programmes - Firefox could also
lock up.

On my setup with Freetype 2.8.1 and Fontconfig 2.12.6, with Noto Sans (full
set) and Noto Sans CJK installed, fc-cache could take up to 2 minutes to finish
the process (!).

A wonder would be, could fc-cache implement...

- Some sort of optimisation for these larger fonts?
- Parallelisation, so that it could take advantage of a
multi-core/multiprocessor system? As it currently stands, fc-cache only
utilises one processor core.

I do apologise for the lack of technicality in this bug report, but please take
this into your consideration - I can provide aid with clarification or
operations if needed.</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>