https://bugzilla.redhat.com/show_bug.cgi?id=2179854



--- Comment #23 from Peng Wu <[email protected]> ---
As Akira Tagoh said, there are two issues in the code, so I just updated my
patch.

1. The usage of FcFontMatch may be not correct, as it doesn't compare the
FC_INDEX when matching. In the patch, I switch to use FcFontSort, the
FcFontSort code will match FC_FILE; and after the FcFontSort function return,
we compare the FC_INDEX to get the correct font face.

2. Switch to use the embolden value from the fontconfig, instead of computing
it in the freetype code in Linux. The freetype code will override the embolden
value from fontconfig, so the patch also disables the freetype code to compute
the embolden value in Qt.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2179854
_______________________________________________
fonts-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to