Subject: | Font tests fail with hlv fonts |
While 1.42 passes all tests for me, 1.43 fails on the same system:
t/Object/Fonts.t ........ 183/?
# Failed test 'width by size / hlv'
# at t/Object/Fonts.t line 51.
# got: '5'
# expected: '4'
xft: want 10x0.0.variable.hlv/iso8859-1^0
xft: refuse
xft: want 42x0.0.variable.hlv/iso8859-1^0
xft: refuse
xft: want 10x0.0.variable.hlv/iso8859-1^0
xft: refuse
xft: want -36x0.0.variable.hlv/iso8859-1^0
xft: refuse
xft: want -8x0.0.variable.hlv/iso8859-1^0
xft: refuse
xft: want 9x0.0.default.hlv/iso8859-1^12
xft: try nonrotated font
xft: want 9x0.0.default.hlv/iso8859-1^0
xft: refuse
xft: FC_PIXEL_SIZE = 9
xft: refuse bitmapped font
xft: want 9x0.0.default.hlv/iso8859-1^0
xft: refuse
xft: want 9x0.0.variable.hlv/iso8859-1^0
xft: refuse
xft: want 9x24.0.default.hlv/iso8859-1^0
xft: refuse
xft: want 9x4.0.default.hlv/iso8859-1^0
xft: refuse
xft: want -7x0.0.variable.hlv/iso8859-1^0
xft: refuse
xft: want -7x24.0.default.hlv/iso8859-1^0
xft: refuse
xft: want -7x4.0.default.hlv/iso8859-1^0
xft: refuse
# Failed test 'width by size / hlv'
# at t/Object/Fonts.t line 51.
# got: '5'
# expected: '4'
xft: want 8x0.ffffffc7.default.hlv/iso8859-1^0
xft: refuse
font reqH:8(s=7)x0.ffffffff.default hlv/iso8859-1
font: #1481 (diff=50): -mplus-hlv-bold-i-normal--0-0-75-75-p-0-iso8859-1
font: pick:0(0)x0.5.variable hlv/iso8859-1 .vector
font: construct h=8, s=0
font: loading -mplus-hlv-bold-i-normal--8-0-75-75-p-0-iso8859-1
font height pick: 1::8 => 9, advised 71
font: construct h=7.1, s=0
font: loading -mplus-hlv-bold-i-normal--7-0-75-75-p-0-iso8859-1
font: width = FXA_AVERAGE_WIDTH 4(44)
font cache add: 8(6)x4.5.variable hlv/iso8859-1
xft: want 8x0.0.default.hlv/iso8859-1^0
xft: refuse
xft: want 16x0.0.variable.hlv/iso8859-1^0
xft: refuse
# Failed test 'width by size / hlvw'
# at t/Object/Fonts.t line 51.
# got: '6'
# expected: '5'
xft: want 12x0.0.variable.hlvw/iso8859-1^0
xft: refuse
xft: want 48x0.0.variable.hlvw/iso8859-1^0
xft: refuse
xft: want 12x0.0.variable.hlvw/iso8859-1^0
xft: refuse
xft: want -39x0.0.variable.hlvw/iso8859-1^0
xft: refuse
xft: want -9x0.0.variable.hlvw/iso8859-1^0
xft: refuse
xft: want 11x0.0.default.hlvw/iso8859-1^12
xft: try nonrotated font
xft: want 11x0.0.default.hlvw/iso8859-1^0
xft: refuse
xft: FC_PIXEL_SIZE = 11
xft: refuse bitmapped font
xft: want 11x0.0.default.hlvw/iso8859-1^0
xft: refuse
xft: want 11x0.0.variable.hlvw/iso8859-1^0
xft: refuse
xft: want 11x30.0.default.hlvw/iso8859-1^0
xft: refuse
xft: want 11x6.0.default.hlvw/iso8859-1^0
xft: refuse
xft: want -8x0.0.variable.hlvw/iso8859-1^0
xft: refuse
xft: want -8x27.0.default.hlvw/iso8859-1^0
xft: refuse
xft: want -8x5.0.default.hlvw/iso8859-1^0
xft: refuse
# Failed test 'width by size / hlvw'
# at t/Object/Fonts.t line 51.
# got: '6'
# expected: '5'
xft: want 9x0.ffffffc7.default.hlvw/iso8859-1^0
xft: refuse
font reqH:9(s=8)x0.ffffffff.default hlvw/iso8859-1
font: #1489 (diff=6050): -mplus-hlvw-medium-r-normal--0-0-75-75-p-0-iso8859-1
font: pick:0(0)x0.0.variable hlvw/iso8859-1 .vector
font: construct h=9, s=0
font: loading -mplus-hlvw-medium-r-normal--9-0-75-75-p-0-iso8859-1
font height pick: 1::9 => 11, advised 73
font: construct h=7.3, s=0
font: loading -mplus-hlvw-medium-r-normal--7-0-75-75-p-0-iso8859-1
font height pick: 2::9 => 8, advised 79
font: construct h=7.9, s=0
font: loading -mplus-hlvw-medium-r-normal--7-0-75-75-p-0-iso8859-1
font height pick: 3::9 => 8, advised 83
font: construct h=8.3, s=0
font: loading -mplus-hlvw-medium-r-normal--8-0-75-75-p-0-iso8859-1
font: width = FXA_AVERAGE_WIDTH 5(49)
font cache add: 9(7)x5.0.variable hlvw/iso8859-1
xft: want 9x0.0.default.hlvw/iso8859-1^0
xft: refuse
xft: want 16x0.0.variable.hlvw/iso8859-1^0
xft: refuse
t/Object/Fonts.t ........ 960/? # Looks like you failed 4 tests of 1099.
t/Object/Fonts.t ........ Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/1099 subtests
(less 148 skipped subtests: 947 okay)
The hlv fonts are some Japanese bitmap fonts. You can get them from this RPM package <https://koji.fedoraproject.org/koji/buildinfo?buildID=533147>. There are these files:
$ fc-list |grep hlv
/usr/share/fonts/japanese-bitmap/mplus_h12rw.pcf.gz: hlvw:style=Regular
/usr/share/fonts/japanese-bitmap/mplus_h12b-euro.pcf.gz: hlv:style=Bold
/usr/share/fonts/japanese-bitmap/mplus_h10b-euro.pcf.gz: hlv:style=Bold
/usr/share/fonts/japanese-bitmap/mplus_h10-euro.pcf.gz: hlv:style=Regular
/usr/share/fonts/japanese-bitmap/mplus_h12-euro.pcf.gz: hlv:style=Regular
/usr/share/fonts/japanese-bitmap/mplus_h12.pcf.gz: hlv:style=Regular
/usr/share/fonts/japanese-bitmap/mplus_h10i-euro.pcf.gz: hlv:style=Italic
/usr/share/fonts/japanese-bitmap/mplus_h12i-euro.pcf.gz: hlv:style=Italic
/usr/share/fonts/japanese-bitmap/mplus_h12bi-euro.pcf.gz: hlv:style=Bold Italic
/usr/share/fonts/japanese-bitmap/mplus_h10bi.pcf.gz: hlv:style=Bold Italic
/usr/share/fonts/japanese-bitmap/mplus_h12bi.pcf.gz: hlv:style=Bold Italic
/usr/share/fonts/japanese-bitmap/mplus_h10bi-euro.pcf.gz: hlv:style=Bold Italic
/usr/share/fonts/japanese-bitmap/mplus_h12rw-euro.pcf.gz: hlvw:style=Regular
/usr/share/fonts/japanese-bitmap/mplus_h10b.pcf.gz: hlv:style=Bold
/usr/share/fonts/japanese-bitmap/mplus_h12b.pcf.gz: hlv:style=Bold
/usr/share/fonts/japanese-bitmap/mplus_h10i.pcf.gz: hlv:style=Italic
/usr/share/fonts/japanese-bitmap/mplus_h10.pcf.gz: hlv:style=Regular
/usr/share/fonts/japanese-bitmap/mplus_h12i.pcf.gz: hlv:style=Italic
Probably your test requires a feature not supported by these fonts. `fc-list -v' shows more details about the fonts but I don't know what information is important for you.