-
Notifications
You must be signed in to change notification settings - Fork 44
Add CJK font support and fallback mechanism in AFont class #762
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
2d882e0
Add CJK font support and fallback mechanism in AFont class
luadebug 2e2d977
Refactor font handling to improve CJK fallback support in AFont and A…
luadebug 1e90f5b
Move
luadebug 03e8bad
Enhance AFontManager to use scoped locks for thread safety and manage…
luadebug c16f971
Implement CJK fallback font handling and add mutex locking in AFontMa…
luadebug 8a7c36d
Refactor glyph rendering to improve fallback font handling and ensure…
luadebug 12e7161
Refactor AFontManager to improve CJK fallback font loading and introd…
luadebug ccbb2bc
Refactor AFontManager to rename ensureFallbackFace to ensureFallbackF…
luadebug ceb2152
Refactor renderGlyph to improve glyph data handling and ensure metric…
luadebug efe76b6
Refactor AFontManager and AFont to improve CJK fallback font handling…
luadebug fc37584
Refactor AFontManager and AFont to enhance CJK fallback font handling…
luadebug b965192
Refactor AFontManager and AFont to improve CJK fallback font handling…
luadebug 8eeac0e
Refactor AFont to improve glyph rendering and character advance calcu…
luadebug fa0fdf1
Refactor AFontManager and AFont to enhance CJK fallback font handling…
luadebug 4031be4
Refactor AFontManager to streamline CJK fallback font handling by rem…
luadebug 71b0f80
Refactor AFont and AFontManager to optimize glyph rendering and fallb…
luadebug fefa1b6
Enhance glyph rendering logic in AFont and SoftwareRenderer to improv…
luadebug 8e31503
Refactor glyph advance calculations in AFont, OpenGLRenderer, and Sof…
luadebug 62ead79
Refactor getKerning method in AFont to include size parameter and upd…
luadebug 7bb9941
Refactor font loading and rendering in AFont, FreeType, AFontManager,…
luadebug e1f850c
Implement fallback font loading mechanism in AFontManager for improve…
luadebug f124351
Enhance thread safety in AFont and AFontManager by refining mutex usa…
luadebug 94e1ec9
Refactor font rendering and fallback face handling for improved threa…
luadebug eca2f01
Refactor getKerning method in AFont to use char32_t for improved Unic…
luadebug 189331c
Enhance thread safety in AFont, AFontManager, and FreeType by refinin…
luadebug 147ca16
Improve glyph rendering by preventing caching of failed glyphs and ad…
luadebug 5e8022c
Enhance font rendering by improving glyph caching and fallback face h…
luadebug 84e7ac8
Enhance glyph rendering and fallback face handling by introducing pro…
luadebug a21d0bd
Enhance glyph handling and fallback discovery by improving exception …
luadebug d97d522
Enhance glyph caching and rendering by improving lock management in A…
luadebug 85be0bf
Disable assembly tests for Google Benchmark during import in CMake co…
luadebug ffb99fc
Improve fallback discovery error handling and memory allocation check…
luadebug 71f2caf
Enhance fallback generation handling in AFontManager and AFont, ensur…
luadebug b93f1b0
Enhance glyph rendering efficiency by avoiding unnecessary pixel size…
luadebug 07c81f6
Refactor font handling and fallback discovery
luadebug 4398d41
Refactor AFont character handling to return immutable snapshots, enha…
luadebug 41b80f1
Enhance AFontManager thread safety by ensuring fallback thread joins …
luadebug 82e337e
Enhance font handling and rendering efficiency by preventing drawable…
luadebug d8b6452
Refactor AFont character retrieval to enhance thread safety and effic…
luadebug 5b118af
Enhance font rendering by improving advance calculations and ensuring…
luadebug 937f2d9
Enhance AFontManager thread safety by introducing mFallbackShuttingDo…
luadebug 6b605bd
Refactor text rendering in OpenGLRenderer to ensure pixel positions a…
luadebug 7bdd064
Enhance font rendering and management by allowing selection of bitmap…
luadebug 4430ecb
Restrict bitmap strike selection to exact matches to prevent UI layou…
luadebug 566b946
Refactor string rendering in OpenGLRenderer and SoftwareRenderer to u…
luadebug 444ca87
Add CoreText and CoreFoundation libraries for iOS platform support in…
luadebug d6129bf
Enhance iOS font management by adding CoreGraphics and improving fall…
luadebug 6193693
Refactor FallbackCandidate structure to include faceIndex initializat…
luadebug 6d8327d
Enhance fallback face handling by adding condition variable for notif…
luadebug b7c606c
Refactor CMakeLists.txt to link libraries without file extensions. Up…
luadebug 4db4c85
Enhance font rendering by improving kerning error handling, optimizin…
luadebug 6fabcba
Enhance font width trimming by incorporating kerning adjustments and …
luadebug 22303db
Refactor font width calculation to remove unnecessary space check in …
luadebug 0d99207
Introduced ACFPtr for automatic memory management of CoreFoundation o…
luadebug 1d1bc15
fixup
luadebug b8f0195
Update font path retrieval to improve pattern substitution and match …
luadebug 65811ee
Remove unnecessary CoreGraphics include and update CMakeLists to link…
luadebug 7f94402
Refactor font path retrieval to utilize FcFontSet for improved memory…
luadebug 77ea00f
Merge branch 'aui-framework:master' into cjk
luadebug a191b45
trigger CI
luadebug File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.