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

Fabian Vogt noreply at phabricator.kde.org
Mon Jan 8 18:00:30 UTC 2018


fvogt created this revision.
fvogt added a reviewer: Plasma.
Restricted Application added a project: Plasma.
fvogt requested review of this revision.

REVISION SUMMARY
  Those mimetypes are new and kfontinst/kfontview/fontthumbnail weren't aware
  of that.
  As the old types are aliases of the new types, it doesn't need to be added
  to the file dialog options (it would create duplicate entries).
  However, it broke thumbnail generation.

TEST PLAN
  .ttf files have thumbnails again.

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

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

AFFECTED FILES
  kcms/kfontinst/apps/installfont.desktop
  kcms/kfontinst/apps/org.kde.kfontview.desktop
  kcms/kfontinst/kcmfontinst/FontList.cpp
  kcms/kfontinst/lib/Misc.cpp
  kcms/kfontinst/thumbnail/FontThumbnail.cpp
  kcms/kfontinst/thumbnail/fontthumbnail.desktop
  kcms/kfontinst/viewpart/FontViewPart.cpp

To: fvogt, #plasma
Cc: 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/ce763650/attachment-0001.html>


More information about the Plasma-devel mailing list