how to installing "segoe ui" fonts on to imx6qp yocto build

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to installing "segoe ui" fonts on to imx6qp yocto build

Jump to solution
2,221 Views
lavakumars
Contributor IV

hi,

I am working on the imx6qp sabre AI board, with yocto build with kernel version 4.1.15.

Now I want to use the " segoe ui" fonts in my QT application please can someone help me how to use it.

on target just keeping the fonts directory is not useful.

Regards,

Lavakumar S

1 Solution
1,793 Views
lavakumars
Contributor IV

hi Joan Xie,

Thanks for the reply.

That did not work me on target. but yes it worked when I did below steps.

1. kept the .ttf(fonts files) in a foder and

2. used the command below  before running the app

      export QT_QPA_FOTNDIR="folder/path/of/your/fonts"

its worked ok now for my hmi.

Regards,

Lavakumar S

View solution in original post

2 Replies
1,793 Views
joanxie
NXP TechSupport
NXP TechSupport

did you have this fonts package? if yes, pls put this package to /usr/lib/fonts, then in the implayer to choose this character, 

0 Kudos
1,794 Views
lavakumars
Contributor IV

hi Joan Xie,

Thanks for the reply.

That did not work me on target. but yes it worked when I did below steps.

1. kept the .ttf(fonts files) in a foder and

2. used the command below  before running the app

      export QT_QPA_FOTNDIR="folder/path/of/your/fonts"

its worked ok now for my hmi.

Regards,

Lavakumar S