Skip to content

Add loadAppFonts#66

Merged
passsy merged 74 commits into
passsy:mainfrom
robiness:loadAppFonts
Nov 21, 2024
Merged

Add loadAppFonts#66
passsy merged 74 commits into
passsy:mainfrom
robiness:loadAppFonts

Conversation

@robiness
Copy link
Copy Markdown
Collaborator

@robiness robiness commented Nov 4, 2024

This adds a top level function loadAppFonts and loadFont to be used in tests to load fonts so they are visible in the screenshots taken by takeScreenshot.

before after
golden_testImage golden_masterImage

@robiness robiness marked this pull request as ready for review November 5, 2024 14:48
Comment thread lib/src/screenshot/load_fonts.dart Outdated
Comment thread lib/src/screenshot/load_fonts.dart Outdated
path: test/
retention-days: 7

test_windows:
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm impressed how easy it was to add windows support

@passsy
Copy link
Copy Markdown
Owner

passsy commented Nov 21, 2024

Seems complete for me now. Please test it once more before we land it 🤓

@robiness
Copy link
Copy Markdown
Collaborator Author

LGTM! Everything works and the code is very understandable. Thanks for taking care!

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