Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


So, for https://bugs.freedesktop.org/show_bug.cgi?id=30729 where we use
the possibly older "system" opensymbol if there is one, where system is
FcSetSystem and refers to anything in /usr/share/fonts + ~/.fonts
instead of the "local" new FcSetApplication bundled one which causes
trouble because the new one has glyphs the old one doesn't I see that...

a) we had a duplicate-font detection already
b) but it only checked within a FcFontSet so it would fix the case that
there was 2+ "system" ones, or 2+ "local" ones, but not if there was 1
in "system" and 1 in "local"
c) it simply decided that the first one found was the winner
d) it's horribly horribly slow to find a duplicate with Fc[Set]FontMatch
because that does a lot more than we need

http://cgit.freedesktop.org/libreoffice/libs-gui/commit/?id=7db45b251adf8588624fee439df3ae0629c6ac4f

We now sort the fonts by their fontname followed by their fontversion
and only deploy the relatively slow duplicate detection if the previous
font had the same name and skip going near the extra Fc[Set]FontMatch,
this does the right thing for me, and is massively slow.

It it turns out to be somehow cocked up and needs to be reverted, I
suggest the original cure for duplicate fonts be ditched anyway because
of the startup lag it gives with loads of fonts installed.

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.