Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Remove the FontFamily resource loader for now.

Wolthera van Hövell tot Westerflier8cdb5a1033be
diff --git a/libs/ui/KisApplication.cpp b/libs/ui/KisApplication.cpp
index 7a3fd14a6e..22e45d52e7 100644
--- a/libs/ui/KisApplication.cpp
+++ b/libs/ui/KisApplication.cpp
@@ -98,7 +98,6 @@
#include <kis_workspace_resource.h>
#include <KisSessionResource.h>
#include <resources/KoSvgSymbolCollectionResource.h>
-#include <resources/KoFontFamily.h>
#include <resources/KoCssStylePreset.h>
#include "widgets/KisScreenColorSampler.h"
@@ -399,7 +398,6 @@ bool KisApplication::registerResources()
i18nc("Resource type name", "Layer styles"),
QStringList() << "application/x-photoshop-style"));
- reg->add(new KisResourceLoader<KoFontFamily>(ResourceType::FontFamilies, ResourceType::FontFamilies, i18n("Font Families"), QStringList() << "application/x-font-ttf" << "application/x-font-otf"));
reg->add(new KisResourceLoader<KoCssStylePreset>(ResourceType::CssStyles, ResourceType::CssStyles, i18n("Style Presets"), QStringList() << "image/svg+xml"));
reg->registerFixup(10, new KisBrushTypeMetaDataFixup());