Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.5.1
-
None
-
linux, qt-5.5.1, fontconfig-2.11.1
Description
I can see bitmap fonts embeded in true type fonts under Qt4, Gtk2,3 applications. However, I can't see embeded bitmap fonts under Qt5.5.1 apps. I can only see antialiased fonts.
Here is my fonts.conf,
<fontconfig>
<match target="font">
<edit name="embeddedbitmap" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle">
<const>hintslight</const>
</edit>
</match>
...
and here is "ls /etc/font/conf.d",
./ 40-nonlatin.conf@ 51-local.conf@ 70-yes-bitmaps.conf@
../ 42-luxi-mono.conf@ 60-latin.conf@ 80-delicious.conf@
20-unhint-small-vera.conf@ 45-latin.conf@ 65-fonts-persian.conf@ 90-synthetic.conf@
30-metric-aliases.conf@ 49-sansserif.conf@ 65-nonlatin.conf@ README
30-urw-aliases.conf@ 50-user.conf@ 69-unifont.conf@
I am sure that Qt5.5.1 see my fonts.conf because I can see jaggy fonts when I set antialias=false.
I attach some examples. I use "mplus-1m" open source font from here,
http://www.geocities.jp/mplus_supplement/download.html
the font file name is "mplus-1mr(016)fxd(2.2.4)r1+ipa-g(op0.1.3).ttf". This font has 10px (8pt) and 12px (9pt) bitmap font.
qt4_qtconfig_9pt_bitmapfont.png:
This is a screen shot of qtconfig included in qt4. The font size is set to 9pt and bitmap fonts are displayed.
qt4_qtconfig_12pt_vectorfont.png:
This is also qtconfig screenshot. The font size is set to 12pt and vector fonts are displayed.
qt5_qutebrowse_9pt_but__vectorfont.png:
This is a screenshot of qutebrowser of qt5 application. The font size of the bottom status bar is set to 9pt but vector fonts are displayed. I expect bitmap fonts.