Saturday, October 5, 2013

freetype2 display problems

I used to write the same code FREETYPE2 WIN32, IOS, ANDROID compiled by the same code, display size are not the same, I tested official website provides sample2.cpp compiled into various platforms, word size are not the same, Ask the experts how to do
Reply:
Hello, this is normal ah;
Like a simple file, in win32, mac, liux shown above are not the same size; This display refers to the size of files take up disk; and
Binary data file size is not the same.
Because, for binary data, you just move to another system, there is no change, then they are the same;

This, you know under a different file systems, such as FAT32, NTFS, HFS, EXT3 and the like, to understand the sector, to understand the data storage methods, and you will understand.
For example, NTFS format, you can set the minimum size of the sector, such as 4KB, you'll find a 100-byte file that looks the size is 4KB.
Reply:
I mean the kind generated font sizes
Reply:
This and pitch about ah. They dpi different pixel sizes are different, the same size screen display size naturally occupy different, so you will look different. You put under windows into different dpi setting, the program displays your windows out of the same size are also different word size.

No comments:

Post a Comment