Content-Length: 271815 | pFad | http://github.com/opencv/opencv-python/commit/8ca25e7a0937707d56b8471fb0da33542545e94c

62 copy fonts · opencv/opencv-python@8ca25e7 · GitHub
Skip to content

Commit 8ca25e7

Browse files
committed
copy fonts
1 parent fa463c1 commit 8ca25e7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

patches/patchQtPlugins

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ index 4c0b3880fc..54da25f151 100644
1111
+ endif()
1212
+ if(UNIX AND NOT APPLE)
1313
+ install(DIRECTORY /opt/Qt5.15.0/plugins DESTINATION lib/qt)
14+
+ install(DIRECTORY /usr/share/fonts DESTINATION lib/qt)
1415
+ endif()
1516
elseif(HAVE_QT)
1617
status(" QT:" "YES (ver ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH} ${QT_EDITION})")

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def main():
176176
for file in os.listdir("/usr/share/fonts/dejavu"):
177177
if file.endswith(".ttf"):
178178
fonts.append(
179-
(r"/usr/share/fonts/dejavu/%s\.ttf" % file.split(".")[0])
179+
(r"lib/qt/fonts/dejavu/%s\.ttf" % file.split(".")[0])
180180
)
181181

182182
rearrange_cmake_output_data["cv2.qt.fonts"] = fonts

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/opencv/opencv-python/commit/8ca25e7a0937707d56b8471fb0da33542545e94c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy