Skip to content

Cache font widths on Font property as it will be called for every text element#250

Merged
PrinsFrank merged 1 commit intomainfrom
cache-font-widths
Oct 9, 2025
Merged

Cache font widths on Font property as it will be called for every text element#250
PrinsFrank merged 1 commit intomainfrom
cache-font-widths

Conversation

@PrinsFrank
Copy link
Owner

No description provided.

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 52.19%. Comparing base (342f5e6) to head (2d779b0).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/Document/Object/Decorator/Font.php 0.00% 8 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #250      +/-   ##
============================================
- Coverage     52.23%   52.19%   -0.04%     
- Complexity     1641     1642       +1     
============================================
  Files            98       98              
  Lines          2979     2981       +2     
============================================
  Hits           1556     1556              
- Misses         1423     1425       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@PrinsFrank PrinsFrank changed the title Cache font widths on Font property to as it will be called for every text element Cache font widths on Font property as it will be called for every text element Oct 9, 2025
@PrinsFrank PrinsFrank merged commit e0e0e2c into main Oct 9, 2025
17 of 18 checks passed
@PrinsFrank PrinsFrank deleted the cache-font-widths branch October 9, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants