[Fedora-i18n-bugs] [Bug 705348] Byte-code interpreter seems not enabled in Qt
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=705348
--- Comment #16 from Nicolas Mailhot <nicolas.mailhot(a)laposte.net> 2011-06-04 06:23:32 EDT ---
(In reply to comment #13)
> As you can see, there is a long font substitution list being built up as one
> logical font (including some fonts I don't even have installed, I do not have
> "Arial Unicode MS"!), which includes all those Lohit fonts. This is then used
> as the default font, and the settings from Lohit get applied to the whole
> composite font.
Well that's really broken IMHO, the whole point of fontconfig is to create a
patchwork from different fonts with different characteristics, it can't work if
one can't set characteristics for each of those bits separately.
(and BTW even font-file level granularity is too coarse, current fonts are huge
an uneaven, theyr really want intra-font-file tweaking)
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years
[Fedora-i18n-bugs] [Bug 705348] Byte-code interpreter seems not enabled in Qt
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=705348
--- Comment #15 from Kevin Kofler <kevin(a)tigcc.ticalc.org> 2011-06-03 20:42:16 EDT ---
So this is what Qt does:
http://www.qt.gitorious.org/qt/qt/blobs/4.7/src/gui/text/qfontengine_x11....
I think the difference is that Pango has its own class to represent a set of
fonts, so it will only pass one font at a time to fontconfig (which allows
getting the settings for the exact font containing the glyph), whereas Qt
actually uses freetype's glyph lookup, which unfortunately means fontconfig
gets only the whole list of fonts to work with.
The Pango approach looks pretty much like a hack around the limitations in
fontconfig and freetype to me.
So I still think that it is impractical to change Qt and that the lohit fonts
must be fixed to zap the unwanted hinting bytecode from the fonts themselves as
was done for lohit-devanagari-fonts and drop the fontconfig settings.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years
[Fedora-i18n-bugs] [Bug 705348] Byte-code interpreter seems not enabled in Qt
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=705348
--- Comment #13 from Kevin Kofler <kevin(a)tigcc.ticalc.org> 2011-06-03 20:13:59 EDT ---
So the log in a Qt app (KCharSelect) at the point where the switch happens is
this:
Append list before
Append list after FcTrue(w)
FcConfigSubstitute editPattern has 18 elts (size 32)
family: "DejaVu Sans"(w) "DejaVu LGC Sans"(w) "DejaVu LGC Sans"(w)
"Bits
tream Vera Sans"(w) "DejaVu Sans"(w) "Verdana"(w) "Arial"(w) "Albany AMT"(w)
"Lu
xi Sans"(w) "Nimbus Sans L"(w) "Helvetica"(w) "Lucida Sans Unicode"(w) "BPG
Glah
o International"(w) "Tahoma"(w) "Nachlieli"(w) "Lucida Sans Unicode"(w) "Yudit
U
nicode"(w) "Kerkis"(w) "ArmNet Helvetica"(w) "Artsounk"(w) "BPG UTF8 M"(w)
"Ware
e"(w) "Loma"(w) "Garuda"(w) "Umpush"(w) "Saysettha Unicode"(w) "JG Lao Old
Arial
"(w) "GF Zemen Unicode"(w) "Pigiarniq"(w) "B Davat"(w) "B Compset"(w)
"Kacst-Qr"
(w) "Urdu Nastaliq Unicode"(w) "Raghindi"(w) "Mukti Narrow"(w) "malayalam"(w)
"S
ampige"(w) "padmaa"(w) "Hapax Berbère"(w) "MS Gothic"(w) "UmePlus P Gothic"(w)
"
SimSun"(w) "PMingLiu"(w) "WenQuanYi Zen Hei"(w) "WenQuanYi Bitmap Song"(w) "AR
P
L ShanHeiSun Uni"(w) "AR PL New Sung"(w) "MgOpen Modata"(w) "VL Gothic"(w)
"IPAM
onaGothic"(w) "IPAGothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "AR PL
Kaiti
M GB"(w) "AR PL KaitiM Big5"(w) "AR PL ShanHeiSun Uni"(w) "AR PL SungtiL GB"(w)
"AR PL Mingti2L Big5"(w) "MS ゴシック"(w) "ZYSong18030"(w) "TSCu_Paranar"(w) "
UnDotum"(w) "Baekmuk Dotum"(w) "Baekmuk Gulim"(w) "KacstQura"(w) "Lohit
Bengali"
(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w)
"Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(w) "Lohit Sindhi"(w)
"Lohi
t Punjabi"(w) "Lohit Tamil"(w) "Meera"(w) "Lohit Malayalam"(w) "Lohit
Kannada"(w
) "Lohit Telugu"(w) "Lohit Oriya"(w) "LKLUG"(w) "FreeSans"(w) "FreeSans"(w)
"Arial Unicode MS"(w) "Arial Unicode"(w) "Code2000"(w) "Code2001"(w)
"sans-serif"(w) "Roya"(w) "Koodak"(w) "Terafik"(w) "sans-serif"(w)
"sans-serif"(w) "sans-serif" (w) "sans-serif"(w) "sans-serif"(w)
"sans-serif"(w) "sans-serif"(w) "sans-serif"(w) "sans-serif"(w)
slant: 0(i)(s)
weight: 100(i)(s)
width: 100(i)(s)
pixelsize: 13,33(f)(s)
antialias: FcTrue(w)
hintstyle: 2(i)(w)
hinting: FcTrue(w)
verticallayout: FcFalse(s)
autohint: FcFalse(s)
globaladvance: FcTrue(s)
outline: FcTrue(s)
scalable: FcTrue(s)
rgba: 1(i)(w)
lang: "de-AT"(s)
fontversion: 2147483647(i)(s)
embeddedbitmap: FcTrue(w)
decorative: FcFalse(s)
FcConfigSubstitute test font any family Equal "Lohit Assamese"
No match
FcConfigSubstitute test font any family Equal "Lohit Tamil"
Substitute match
font any family Equal "Lohit Tamil"
edit
Edit autohint Assign true;
Append list before
Append list after FcTrue(w)
FcConfigSubstitute editPattern has 18 elts (size 32)
family: "DejaVu Sans"(w) "DejaVu LGC Sans"(w) "DejaVu LGC Sans"(w)
"Bitstream Vera Sans"(w) "DejaVu Sans"(w) "Verdana"(w) "Arial"(w) "Albany
AMT"(w) "Luxi Sans"(w) "Nimbus Sans L"(w) "Helvetica"(w) "Lucida Sans
Unicode"(w) "BPG Glaho International"(w) "Tahoma"(w) "Nachlieli"(w) "Lucida
Sans Unicode"(w) "Yudit Unicode"(w) "Kerkis"(w) "ArmNet Helvetica"(w)
"Artsounk"(w) "BPG UTF8 M"(w) "Waree"(w) "Loma"(w) "Garuda"(w) "Umpush"(w)
"Saysettha Unicode"(w) "JG Lao Old Arial"(w) "GF Zemen Unicode"(w)
"Pigiarniq"(w) "B Davat"(w) "B Compset"(w) "Kacst-Qr"(w) "Urdu Nastaliq
Unicode"(w) "Raghindi"(w) "Mukti Narrow"(w) "malayalam"(w) "Sampige"(w)
"padmaa"(w) "Hapax Berbère"(w) "MS Gothic"(w) "UmePlus P Gothic"(w) "SimSun"(w)
"PMingLiu"(w) "WenQuanYi Zen Hei"(w) "WenQuanYi Bitmap Song"(w) "AR PL
ShanHeiSun Uni"(w) "AR PL New Sung"(w) "MgOpen Modata"(w) "VL Gothic"(w)
"IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "AR PL
KaitiM GB"(w) "AR PL KaitiM Big5"(w) "AR PL ShanHeiSun Uni"(w) "AR PL SungtiL
GB"(w) "AR PL Mingti2L Big5"(w) "MS ゴシック"(w) "ZYSong18030"(w) "TSCu_Paranar"(w)
"UnDotum"(w) "Baekmuk Dotum"(w) "Baekmuk Gulim"(w) "KacstQura"(w) "Lohit
Bengali"(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit
Maithili"(w) "Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(w) "Lohit
Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w) "Lohit Malayalam"(w)
"Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w) "LKLUG"(w) "FreeSans"(w)
"FreeSans"(w) "Arial Unicode MS"(w) "Arial Unicode"(w) "Code2000"(w)
"Code2001"(w) "sans-serif"(w) "Roya"(w) "Koodak"(w) "Terafik"(w)
"sans-serif"(w) "sans-serif"(w) "sans-serif"(w) "sans-serif"(w) "sans-serif"(w)
"sans-serif"(w) "sans-serif"(w) "sans-serif"(w) "sans-serif"(w)
slant: 0(i)(s)
weight: 100(i)(s)
width: 100(i)(s)
pixelsize: 13,33(f)(s)
antialias: FcTrue(w)
hintstyle: 2(i)(w)
hinting: FcTrue(w)
verticallayout: FcFalse(s)
autohint: FcTrue(w)
globaladvance: FcTrue(s)
outline: FcTrue(s)
scalable: FcTrue(s)
rgba: 1(i)(w)
lang: "de-AT"(s)
fontversion: 2147483647(i)(s)
embeddedbitmap: FcTrue(w)
decorative: FcFalse(s)
As you can see, there is a long font substitution list being built up as one
logical font (including some fonts I don't even have installed, I do not have
"Arial Unicode MS"!), which includes all those Lohit fonts. This is then used
as the default font, and the settings from Lohit get applied to the whole
composite font.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
13 years