Review Request 129809: KFontRequester: Find the nearest match for a missing font
Christoph Feck
cfeck at kde.org
Fri Jan 13 19:34:18 UTC 2017
> On Jan. 12, 2017, 7:08 p.m., Christoph Feck wrote:
> > src/kfontrequester.cpp, line 53
> > <https://git.reviewboard.kde.org/r/129809/diff/1/?file=488949#file488949line53>
> >
> > Please check if it is possible to use QFont::lastResortFamily() or QFont::lastResortFont().
>
> Alexander Volkov wrote:
> As I can see in the Qt 5 code, lastResortFamily() returns hard-coded "helvetica" and lastResortFont() aborts the app by qFatal()
ouch, that's not according to the documentation. Let's hope nobody notices we are hard-coding another font name.
- Christoph
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129809/#review101970
-----------------------------------------------------------
On Jan. 13, 2017, 10:45 a.m., Alexander Volkov wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129809/
> -----------------------------------------------------------
>
> (Updated Jan. 13, 2017, 10:45 a.m.)
>
>
> Review request for KDE Frameworks and Christoph Feck.
>
>
> Bugs: 286260
> https://bugs.kde.org/show_bug.cgi?id=286260
>
>
> Repository: kwidgetsaddons
>
>
> Description
> -------
>
> If the font is missing, then try to find the nearest font
> family instead of just selecting the first family in the
> list.
>
> BUG: 286260
>
>
> Diffs
> -----
>
> src/kfontrequester.cpp 6cca672b0284265daacd428d8bca9cec08da8910
>
> Diff: https://git.reviewboard.kde.org/r/129809/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Alexander Volkov
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170113/5fa31bc0/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list