> On 23 Sep 2021, at 14:43, praveen illa <praveenilla....@gmail.com> wrote:
> 
> After switching to other language
> 
> On Thu, 23 Sep, 2021, 6:10 PM Crocker, William, <william.croc...@analog.com> 
> wrote:
> Is the include picture before, after or both.
> 
>  
> 
> From: Interest <interest-boun...@qt-project.org> On Behalf Of praveen illa
> Sent: Thursday, September 23, 2021 8:20 AM
> To: interest@qt-project.org
> Subject: [Interest] Issue with Qt fonts
> 
>  
> 
> [External]
> 
>  
> 
> Hi Team, 
> 
>  
> 
> I am facing an issue with fonts when switching between english and other 
> language. 
> 
> The Qt fonts displaying are not smooth on the target. 
> 
>  
> 
> Can anyone help me on this issue?
> 
>  
> 
> Below are the font libraries am using
> libharfbuzz.so.0.20301.0
> libharfbuzz-subset.so.0.20301.0
> libfontconfig.so.1.10.1
> libfreetype.so.6.16.1
> 
> Thank you
> 
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest


Does your default font provides those glyphs? if not, then Qt will try to find 
a font that can and matches the original font in certain attributes (for 
instance, proportional font, or serifed font). The quality of the glyphs in the 
font Qt choses for you might then not be what you expect.

It’s best to explicitly select the fonts you want for the different languages. 
That’s why there’s QFont::setFamilies which takes a list:

https://doc.qt.io/qt-6/qfont.html#setFamilies


Cheers,
Volker

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to