Skip to content

.net core FreeType interop demo using FreeType's official Windows builds (>= 2.10)

License

Notifications You must be signed in to change notification settings

tgsstdio/DumbFont

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DumbFont

Version 2.10

.net core FreeType interop demo using FreeType's official Windows builds (>= 2.10)

Credits

SharpFont

Utility classes taken from library.

Developer Note

Handling "long" with Interops duplication

Interops structs & external bindings are duplicating to handle C long data type (either 4 or 8 bytes) varies based on OS and CPU used throughout FreeType.

OS CPU sizeof(long)
Windows IA-32 4 bytes
Intel® 64 4 bytes
Linux IA-32 4 bytes
Intel® 64 8 bytes
mac OS Intel® 64 8 bytes
  • Therefore on Windows for Intel, long are always 4 bytes
  • Linux (for Intel CPUs) long are either 4 or 8 bytes
  • On MacOS, long is always 8 bytes

Links

About

.net core FreeType interop demo using FreeType's official Windows builds (>= 2.10)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published