Unsolved Weird font in app
-
Hello. Qt App shows weird font.
Please help.Environment:
Ubuntu Linux, x86_64, Qt5, Conan + Cmake.
Font: Source Code ProQt installed by Conan.
ls /home/mhanusek/.fonts fbd_fonts.ttf fontawesome-webfont.ttf OpenSans-Bold.ttf OpenSans-Regular.ttf SourceCodePro-Bold.ttf SourceCodePro-Regular.ttf
My conanfile.txt:
[requires] Qt/5.9.6@bincrafters/stable Qt5Pdfium/0.1@Qt5Pdfium/testing [options] *:shared=True *:fPIC=True *:python=True *:without_python=False Qt:qtsvg=True Qt:qtcharts=True Qt:qtwinextras=True [generators] cmake [imports] bin, *.dll -> ./bin lib, *.dll -> ./bin
-
@mhanusek How did you install Qt?
-
@jsulm By Conan.
-
@mhanusek Is fontconfig installed on your machine?
-
@jsulm yes.
fontconfig is already the newest version (2.12.6-0ubuntu2).
I'm clear cache.
fc-cache -f -v /usr/share/fonts: caching, new cache contents: 0 fonts, 11 dirs /usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs /usr/share/fonts/X11/Type1: caching, new cache contents: 132 fonts, 0 dirs /usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs /usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/X11/misc: caching, new cache contents: 89 fonts, 0 dirs /usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cMap: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs /usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cmap/adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cmap/adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cmap/adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cmap/adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/eot: caching, new cache contents: 0 fonts, 1 dirs /usr/share/fonts/eot/font-awesome: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/fonts-go: caching, new cache contents: 10 fonts, 0 dirs /usr/share/fonts/opentype: caching, new cache contents: 0 fonts, 20 dirs /usr/share/fonts/opentype/cabin: caching, new cache contents: 8 fonts, 0 dirs /usr/share/fonts/opentype/ebgaramond: caching, new cache contents: 10 fonts, 0 dirs /usr/share/fonts/opentype/font-awesome: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/opentype/fonts-hosny-amiri: caching, new cache contents: 6 fonts, 0 dirs /usr/share/fonts/opentype/fonts-prociono: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/opentype/freefont: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/opentype/gentiumplus: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/opentype/ipaexfont-gothic: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/opentype/ipaexfont-mincho: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/opentype/ipafont-gothic: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/opentype/ipafont-mincho: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/opentype/league-spartan: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/opentype/linux-libertine: caching, new cache contents: 13 fonts, 0 dirs /usr/share/fonts/opentype/lobster: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/opentype/lobstertwo: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/opentype/malayalam: caching, new cache contents: 3 fonts, 0 dirs /usr/share/fonts/opentype/noto: caching, new cache contents: 24 fonts, 0 dirs /usr/share/fonts/opentype/stix: caching, new cache contents: 29 fonts, 0 dirs /usr/share/fonts/opentype/stix-word: caching, new cache contents: 5 fonts, 0 dirs /usr/share/fonts/opentype/yanone-kaffeesatz: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/sortsmill: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/svg: caching, new cache contents: 0 fonts, 1 dirs /usr/share/fonts/svg/font-awesome: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/truetype: caching, new cache contents: 2 fonts, 90 dirs /usr/share/fonts/truetype/Gargi: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/Gubbi: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/Nakula: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/Navilu: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/Sahadeva: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/Sarai: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/adf: caching, new cache contents: 44 fonts, 0 dirs /usr/share/fonts/truetype/arphic-bkai00mp: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/arphic-bsmi00lp: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/arphic-gbsn00lp: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/arphic-gkai00mp: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/artemisia: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/asana-math: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/baekmuk: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/baskerville: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/blankenburg: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/bodoni-classic: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/comfortaa: caching, new cache contents: 3 fonts, 0 dirs /usr/share/fonts/truetype/complutum: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/croscore: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/truetype/crosextra: caching, new cache contents: 8 fonts, 0 dirs /usr/share/fonts/truetype/dejavu: caching, new cache contents: 22 fonts, 0 dirs /usr/share/fonts/truetype/didot: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/didot-classic: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/droid: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/ebgaramond: caching, new cache contents: 10 fonts, 0 dirs /usr/share/fonts/truetype/f500: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/fanwood: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/font-awesome: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/fonts-beng-extra: caching, new cache contents: 6 fonts, 0 dirs /usr/share/fonts/truetype/fonts-deva-extra: caching, new cache contents: 3 fonts, 0 dirs /usr/share/fonts/truetype/fonts-gujr-extra: caching, new cache contents: 5 fonts, 0 dirs /usr/share/fonts/truetype/fonts-guru-extra: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/fonts-kalapi: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/fonts-orya-extra: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/fonts-prociono: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/fonts-telu-extra: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/truetype/gazis: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/gentium: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/gentium-basic: caching, new cache contents: 8 fonts, 0 dirs /usr/share/fonts/truetype/gentiumplus: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/truetype/junicode: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs /usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lato: caching, new cache contents: 18 fonts, 0 dirs /usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs /usr/share/fonts/truetype/liberation2: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/truetype/lohit-assamese: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-bengali: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-devanagari: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-gujarati: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-kannada: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-malayalam: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-oriya: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-punjabi: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-tamil: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-tamil-classical: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-telugu: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/malayalam: caching, new cache contents: 11 fonts, 0 dirs /usr/share/fonts/truetype/mplus: caching, new cache contents: 43 fonts, 0 dirs /usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs /usr/share/fonts/truetype/neohellenic: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/noto: caching, new cache contents: 156 fonts, 0 dirs /usr/share/fonts/truetype/ocr-a: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/olga: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/open-sans: caching, new cache contents: 13 fonts, 0 dirs /usr/share/fonts/truetype/opendin: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/oxygen: caching, new cache contents: 3 fonts, 0 dirs /usr/share/fonts/truetype/padauk: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/pagul: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/porson: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/roboto: caching, new cache contents: 0 fonts, 1 dirs /usr/share/fonts/truetype/roboto/hinted: caching, new cache contents: 18 fonts, 0 dirs /usr/share/fonts/truetype/samyak: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/samyak-fonts: caching, new cache contents: 3 fonts, 0 dirs /usr/share/fonts/truetype/sinhala: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/solomos: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/theokritos: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/tibetan-machine: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/tlwg: caching, new cache contents: 58 fonts, 0 dirs /usr/share/fonts/truetype/tomsontalks: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/truetype/ttf-xfree86-nonfree: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/truetype/ubuntu: caching, new cache contents: 13 fonts, 0 dirs /usr/share/fonts/truetype/unfonts-core: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/truetype/unfonts-extra: caching, new cache contents: 11 fonts, 0 dirs /usr/share/fonts/truetype/yanone-kaffeesatz: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/type1: caching, new cache contents: 0 fonts, 3 dirs /usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs /usr/share/fonts/type1/t1-xfree86-nonfree: caching, new cache contents: 16 fonts, 0 dirs /usr/share/fonts/type1/texlive-fonts-recommended: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/woff: caching, new cache contents: 0 fonts, 2 dirs /usr/share/fonts/woff/ebgaramond: caching, new cache contents: 10 fonts, 0 dirs /usr/share/fonts/woff/font-awesome: caching, new cache contents: 1 fonts, 0 dirs /usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs /home/mhanusek/.local/share/fonts: caching, new cache contents: 0 fonts, 1 dirs /home/mhanusek/.local/share/fonts/Unknown Vendor: caching, new cache contents: 0 fonts, 1 dirs /home/mhanusek/.local/share/fonts/Unknown Vendor/TrueType: caching, new cache contents: 0 fonts, 1 dirs /home/mhanusek/.local/share/fonts/Unknown Vendor/TrueType/EprotectPanelFont: caching, new cache contents: 1 fonts, 0 dirs /home/mhanusek/.fonts: caching, new cache contents: 7 fonts, 0 dirs /usr/share/texmf/fonts/opentype/public/lm: caching, new cache contents: 72 fonts, 0 dirs /usr/share/texmf/fonts/opentype/public/lm-math: caching, new cache contents: 1 fonts, 0 dirs /usr/share/texmf/fonts/opentype/public/tex-gyre: caching, new cache contents: 33 fonts, 0 dirs /usr/share/texmf/fonts/opentype/public/tex-gyre-math: caching, new cache contents: 5 fonts, 0 dirs /var/cache/fontconfig: not cleaning unwritable cache directory /home/mhanusek/.cache/fontconfig: cleaning cache directory /home/mhanusek/.fontconfig: not cleaning non-existent cache directory fc-cache: succeeded
-
@mhanusek Do you see any warning when running your app from console?
-
@jsulm From console and Qt Creator. Result is the same.