We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
加载外部矢量字体,以前(使用的awtk源码是2020年6月的)在嵌入式平台使用 asset_info_t* iter = assets_manager_load(assets_manager(), ASSET_TYPE_FONT, font_name); 加载字体时,会在asset_info_create 中申请 字体大小 + sizeof(asset_info_t)内存 。 字体使用完后我会font_manager_unload_font 释放字体资源 目前工程使用完全没问题。
换成在Linux平台(用最新awtk源码),使用assets_manager_load 加载字体 时申请空间很小, 是不需要加载到内存, 直接对矢量字体进行解析了吗》? 如果是这样那我就没必要再 加载 和释放字体咯
The text was updated successfully, but these errors were encountered:
linux平台现在支持mmap加载,应该快些
Sorry, something went wrong.
No branches or pull requests
加载外部矢量字体,以前(使用的awtk源码是2020年6月的)在嵌入式平台使用 asset_info_t* iter = assets_manager_load(assets_manager(), ASSET_TYPE_FONT, font_name); 加载字体时,会在asset_info_create 中申请 字体大小 + sizeof(asset_info_t)内存 。 字体使用完后我会font_manager_unload_font 释放字体资源 目前工程使用完全没问题。
换成在Linux平台(用最新awtk源码),使用assets_manager_load 加载字体 时申请空间很小, 是不需要加载到内存, 直接对矢量字体进行解析了吗》? 如果是这样那我就没必要再 加载 和释放字体咯
The text was updated successfully, but these errors were encountered: