D9738: Support font/ttf and font/otf mimetypes in kfontinst

Anthony Fieroni noreply at phabricator.kde.org
Mon Jan 8 18:20:48 UTC 2018


anthonyfieroni added inline comments.

INLINE COMMENTS

> Misc.cpp:293
>  {
> -    return "application/x-font-type1"==mime || "application/x-font-ttf"==mime ||
> +    return "font/otf"==mime || "font/ttf"==mime ||
> +           "application/x-font-type1"==mime || "application/x-font-ttf"==mime ||

So why not

  return CFontList::fontMimeTypes.contains(mime);

In other places too.

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D9738

To: fvogt, #plasma
Cc: anthonyfieroni, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180108/0d4befd6/attachment.html>


More information about the Plasma-devel mailing list