-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UWP build error when building ttf loader #1912
Comments
Random access, wouldn't it be better to store the data in a std::vector? Mmap is known to be effective when handling both reading and writing |
@rinechran Hello, I don't know where your idea coming from, as the vector is basically based on the linear memory segment. Does it good for random memory access? To discuss the acheivement, it would be better if you suggest the reliable data for this. The primary purpose of using mmap is not for performance enhancement but to efficiently handle the TTF data during text usage. mmap() facilitates this by reading data at the block level. |
@rinechran By the way, I'm really wondering about the case for directly integrating thorvg in UWP. I might prefer that a UWP app uses thorvg as a static library. |
@hermet I don't particularly prefer it, but if there is a request for UWP support, I think it would be fine to consider it then , vcpkg also supports UWP build, raising the issue |
Enhances the portability of the TTF loader on UWP platforms by implementing an alternative file loading mechanism. This is designed to support environments where the file mapping feature is not available, ensuring wider compatibility and reliability in file handling. Issue: #1912
Enhances the portability of the TTF loader on UWP platforms by implementing an alternative file loading mechanism. This is designed to support environments where the file mapping feature is not available, ensuring wider compatibility and reliability in file handling. Issue: #1912
Enhances the portability of the TTF loader on UWP platforms by implementing an alternative file loading mechanism. This is designed to support environments where the file mapping feature is not available, ensuring wider compatibility and reliability in file handling. Issue: #1912
Enhances the portability of the TTF loader on UWP platforms by implementing an alternative file loading mechanism. This is designed to support environments where the file mapping feature is not available, ensuring wider compatibility and reliability in file handling. Issue: #1912
Enhances the portability of the TTF loader on UWP platforms by implementing an alternative file loading mechanism. This is designed to support environments where the file mapping feature is not available, ensuring wider compatibility and reliability in file handling. Issue: #1912
The CreateFileA/GetFileSize function is not available in uwp, resulting in an error.
Error while working on vcpkg.
microsoft/vcpkg#36179
https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfile2
The text was updated successfully, but these errors were encountered: