Skip to content
Commits on Source (3)
......@@ -68,8 +68,7 @@ Package: libfast-examples
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
libfast0,
ttf-ubuntu-font-family
libfast0
Description: example binaries for "FAST" Heterogeneous Medical Image Computing
An open-source cross-platform framework with the main goal of making it
easier to do processing and visualization of medical images on
......
......@@ -6,8 +6,8 @@ Last-Update: 2019-09-01
Index: fast/source/FAST/Config.cpp
===================================================================
--- fast.orig/source/FAST/Config.cpp 2019-09-01 14:33:47.704429399 +0100
+++ fast/source/FAST/Config.cpp 2019-09-01 14:33:47.700429376 +0100
--- fast.orig/source/FAST/Config.cpp 2019-09-22 22:03:18.701184884 +0100
+++ fast/source/FAST/Config.cpp 2019-09-22 22:03:18.701184884 +0100
@@ -75,10 +75,10 @@
return;
......@@ -34,19 +34,3 @@ Index: fast/source/FAST/Config.cpp
mPipelinePath = getPath() + "../pipelines/";
loadConfiguration();
}
Index: fast/source/FAST/Visualization/Window.cpp
===================================================================
--- fast.orig/source/FAST/Visualization/Window.cpp 2019-09-01 14:33:47.704429399 +0100
+++ fast/source/FAST/Visualization/Window.cpp 2019-09-01 14:33:47.704429399 +0100
@@ -121,9 +121,9 @@
QApplication::setWindowIcon(QIcon((Config::getDocumentationPath() + "images/fast_icon.png").c_str()));
// Add all fonts in fonts folder
- for(auto&& filename : getDirectoryList(join(Config::getDocumentationPath(), "fonts"))) {
+ for(auto&& filename : getDirectoryList(join("/usr/share/fonts/truetype", "ubuntu"))) {
if(filename.substr(filename.size()-4) == ".ttf") {
- QFontDatabase::addApplicationFont(join(Config::getDocumentationPath(), "fonts", filename).c_str());
+ QFontDatabase::addApplicationFont(join(Config::getDocumentationPath(), "ubuntu", filename).c_str());
}
}
} else {
Description: eliminate the need for third party fonts
Fonts needed are part of ubuntu ttf package which is contrib and this is not needed so remove this from src.
Author: Shayan Doust <hello@shayandoust.me>
Last-Update: 2019-09-22
---
Index: fast/source/FAST/Visualization/Window.cpp
===================================================================
--- fast.orig/source/FAST/Visualization/Window.cpp 2019-09-22 23:41:42.852869766 +0100
+++ fast/source/FAST/Visualization/Window.cpp 2019-09-22 23:41:42.848869719 +0100
@@ -121,11 +121,11 @@
QApplication::setWindowIcon(QIcon((Config::getDocumentationPath() + "images/fast_icon.png").c_str()));
// Add all fonts in fonts folder
- for(auto&& filename : getDirectoryList(join(Config::getDocumentationPath(), "fonts"))) {
- if(filename.substr(filename.size()-4) == ".ttf") {
- QFontDatabase::addApplicationFont(join(Config::getDocumentationPath(), "fonts", filename).c_str());
- }
- }
+ //for(auto&& filename : getDirectoryList(join(Config::getDocumentationPath(), "fonts"))) {
+ // if(filename.substr(filename.size()-4) == ".ttf") {
+ // QFontDatabase::addApplicationFont(join(Config::getDocumentationPath(), "fonts", filename).c_str());
+ //}
+ //}
} else {
Reporter::info() << "QApp already exists.." << Reporter::end();
}
remove_ubuntu_fonts_from_src.patch
modify_assets_location.patch
opencl_header.patch
fix_source_openigtlink.patch
......