[Bug] docfx.Snapshots.Tests
tests detect PDF diffs on non Ubuntu environment
#10473
Labels
bug
A bug to fix
Describe the bug
When running
docfx.Snapshots.Tests
tests on Windows environment.Snapshot diffs are detected that are relating to generated PDF files.
Expected behavior
docfx.Snapshots.Tests
run successfully without diffs on Windows environment.Context
Additional context
PDF snapshot diffs are caused by following OS dependent behaviors.
https://github.com/UglyToad/PdfPig/issues/840
)I've tried to use Web Fonts (
Noto Sans
andNoto Sans Mono
) to resolve issues.But
2. OS specific rendering differences
seems to be hard to resolve. (It cause diffs on line break location)As a temporary workaround.
I'm using following git commands to ignore diffs.
Note
When reset above settings.
It need to exec command with
--no-skip-worktree
.Skipped files can be found by using
git ls-files -v
command andS
flag.The text was updated successfully, but these errors were encountered: