mirror of
https://github.com/rive-app/rive-cpp.git
synced 2026-01-18 21:21:17 +01:00
Line breaker
Updating the line breaker to support: - forced line breaks (return characters) - store break points in context of runs (no searching when breaking) - perform alignment (center/left/right) In order to implement tests for this in Rive, I moved the Harfbuzz shaper into Rive (conditionally compiled out) but now we can test line-breaking logic in Rive core. Since I had to update some of the build scripts, I ran the same new premake formatter we've been using. <img width="910" alt="CleanShot 2022-09-19 at 21 03 53@2x" src="https://user-images.githubusercontent.com/454182/191164998-6b7b131b-b624-41c7-81d2-c2e01a050680.png"> Diffs= a1d921c85 Line breaker (#4249)
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
||||
run: |
|
||||
cd dev/test
|
||||
C:\premake5.exe vs2022
|
||||
MSBuild rive_tests.sln
|
||||
MSBuild rive.sln
|
||||
build\bin\debug\tests.exe
|
||||
|
||||
build-macos:
|
||||
|
||||
Reference in New Issue
Block a user