Use of C # FreeType

Source: Internet
Author: User

Currently Xamarin does not have a complete freetype binding on iOS and Android, and if you use your own game engine, you will have to have a freetype binding. At present, more mature sharpfont is a good binding library, take the code a little modification can adapt to the use of ios\android and windows, but there is a problem, FreeType in the header of the type definition there are many not too good to consider 32, 64-bit compatibility issues, many places with a long definition, this in 32-bit system Fortunately, Sharpfont can adapt, but in 64-bit platform is completely out of order, C # type only one IntPtr is the size of the platform with the change, and not directly with an int or a long. Look at Sharpfont inside various classes of encapsulation, I gave up, need to move too much place, not cost-effective. So I saw another FreeType bound Taoframework.freetype. This taoframework is the once-famous OpenGL C # Binding library, and now it's OPENTK. The FreeType binding library has only one file, C-style, no additional encapsulation, and native FreeType API one by one corresponding, so it is relatively simple to change, it is recommended that if there is a need to do this. I will then attach my own revised version.

Use of C # FreeType

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.