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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
2,237 次查看
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 解答
1,809 次查看
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

在原帖中查看解决方案

2 回复数
1,809 次查看
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 项奖励
1,810 次查看
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