PDA

View Full Version : Font Issue in case of serif and sans-serif



kanika gupta
27th September 2016, 13:59
Hi
I am working on a browser based on Qt5.3, when a content with sans-serif and serif font is accessed, the display is same.
If I debug Qt code, I get that the font family used for it is "Palatino" for both the fonts.
In Qt4.7, this issue is not occurring. In this, Sans-serif uses "Arial" font and serif uses "Times New Roman" which is the correct behaviour.
What could be the issue for this behaviour in Qt5.3?

kanika gupta
28th September 2016, 06:40
One more detail addition to the above query,
The system fonts used are as below:
Palatino
Helvetica
Geneva
New York
Monaco
Times
Courier
Arial
HYGoThic-Medium
Helvetica
Helvetica Condensed
HGPGothicB
HGPMinchoL
MHei Bold CP950
Monotype Hei Bold GB 18030
NimbusSansGlobal
Times New Roman
TT Hira Sans GB P W3
TT Hira Sans Rd JP P W4
TT Hira Sans TC P W3
Univers OTS