Difference between Fonts on windows and linux embedded
-
wrote on 21 Oct 2012, 12:06 last edited by
I install the same font on windows and on my device("Bitsteam Vera Sans" for example), but their is a difference between those two. In linux the text is more spacious, and in windows the text is dense.
I know that I use the same font and not a default font.
Any idea? -
wrote on 24 Oct 2012, 16:48 last edited by
What resolution is your windows device and your embedded device?
DPI changes how fonts look. And define spacious, screenshots would be useful.
-
wrote on 14 Nov 2012, 11:31 last edited by
you need to create the qpf fonts of your choice and put it in the target's rootfs font folder.....
-
wrote on 15 Nov 2012, 09:56 last edited by
QPF fonts are not the only choice. Qt for Linux embedded supports several other formats. However, each Qt implementation for each OS uses a different system for choosing fonts, so is normal that they look a little bit different, specially given that your normal OS has a lot of fonts, and Qt for embedded has just a bunch (unless you customize it).
Make sure that you set exactly the type of font that you want in the application or in each widget.
-
wrote on 15 Nov 2012, 11:09 last edited by
I solved the problem. There was a difference between the default configuration of font(hintiing,antialias) in windows and linux embedded.
when I changed the config file in linux embedded to work with the same definitions it look the same.
"Font Configuration":https://wiki.archlinux.org/index.php/Font_Configuration
Tnx for help.