-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
Integrate Harffbuzz freetype to render Khmer Burmese and hindi #1439
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1439 +/- ##
===========================================
+ Coverage 59.30% 85.78% +26.48%
===========================================
Files 580 566 -14
Lines 28674 28188 -486
Branches 11276 0 -11276
===========================================
+ Hits 17006 24182 +7176
+ Misses 4139 4006 -133
+ Partials 7529 0 -7529 ☔ View full report in Codecov by Sentry. |
for more information, see https://pre-commit.ci
…l-native into harffbuzzFreetype
for more information, see https://pre-commit.ci
…l-native into harffbuzzFreetype
for more information, see https://pre-commit.ci
Swipe out macos end is such a pain for me, I have to use my personal computer to fix unit tests |
I wonder if we want to make this an optional feature? This would allow us to fix Qt later for example. Also what is the binary size increase? (@louwers, didn't we have a CI test for that in the past? I guess the rest of the actions need to pass.) |
for more information, see https://pre-commit.ci
https://github.com/maplibre/maplibre-native/actions/runs/5747452827/job/15578480347 does anybody known what is the reason for this failure? |
I didn't have linux end, will fix linux CI in next weeks. |
@alanchenboy That means the iOS render tests are failing. Did you run them locally? |
Pipelines fixed, lucky me. let me add some complex text render tests to finish this PR. |
That is an interesting idea.
Not for the C++ Core at the moment. @alanchenboy Congrats! 💯 Can you merge main in? |
If this is ready for review then I would propose to have a discussion in the style spec repo about the changes needed to the style spec. |
@alanchenboy Thank you so much for the effort you are putting in. I was hoping to try it out, but whenever I am trying to build from the code for Android, it's failing. Can you please help me build from the code? |
Hi @robinhood245 the pipeline is passed so I think the CMake change is correct, I roll back cmake upgrade, and I can compile the branch in my Android studio (it failed last time because of VPN setting) |
https://app.codecov.io/gh/maplibre/maplibre-native/commit/2f76cee32dff34d10f43f8abc4985f77a9578680 How can I fix this pipeline, is it a requirement for approve? |
It means there are some code paths that are not reached during testing. It's not a hard requirement at the moment. |
# Conflicts: # WORKSPACE # metrics/cache-style.db # platform/macos/macos.xcodeproj/project.pbxproj
for more information, see https://pre-commit.ci
Just came across this? What's the status of this? I believe the testing coverage of the layouting is not very good overall, so I think this should not be a blocker. But maybe I just have not yet found comprehensive tests for the symbol_layout.cpp file :) |
@maxammann |
See also the discussion in maplibre/maplibre-gl-js#4564 (comment). Maybe we should coordinate on a strategy for making font selection more flexible across platforms. |
Ideally we should create an issue (and then a PR) in the MapLibre Style Spec repo to achieve consensus on the style spec changes and have it officially changed before merging. Edit: as Oliver mentioned:
@alanchenboy Could you create an issue there? It would be great to get this merged. |
Hi @louwers here is the issue on style spec repo: maplibre/maplibre-style-spec#868. |
refactor for #1289
This is a demo of how to use harfbuzz to render complex text.
Example style:
https://alanchenboy.github.io/harfbuzzResource/hindi.json.
Screenshots:
.
https://github.com/maplibre/maplibre-native/assets/5135389/f8f294ec-1d20-4106-b745-51d5f4a1af1d.
https://github.com/maplibre/maplibre-native/assets/5135389/7e3857e9-74c4-405e-b12c-e5722cf76919.