Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,22 @@ public void Headings_pinTheBytes() =>
public void PagedHeadings_pinTheBytes() =>
Pin("8487CBC0BA24DFC4CE398386F19EE94F74A190743E29B1565FE6BA6C4899CA8C", Hash(PagedHeadings()));

// The embedded-font pins include the font program change that followed them: FontBBox from the
// head table rounded outward, no cmap table in a glyf program used with a CIDFont, and /Length1
// on the FontFile2 stream. One value serves both platforms: the hash inflates every Flate
// stream and folds the ToUnicode line ends.
[Fact]
public void EmbeddedHeadings_pinTheBytes() =>
Pin("D1D72594166B30FB73477CE68EAAFC38E5AC2E2445CDE469C94DA20D74AE498B", Hash(EmbeddedHeadings(), fold: true));
Pin("A14298A33695CED45DF1E66B0640444280DAF3F210C17497B5E63C8EF866EF33", Hash(EmbeddedHeadings(), fold: true));

[Fact]
public void Lists_pinTheBytes() =>
Pin("02A7120D5C7D66218CAA14961943FDDE37DDC79FEFA015C9D13EE22ECCA8E000", Hash(Lists()));

// Includes the same font program change as EmbeddedHeadings_pinTheBytes above.
[Fact]
public void EmbeddedLists_pinTheBytes() =>
Pin("C487B9DDD09EE2C3E1813913C2831925BC1277906B82BF0E64CCA4FCECED8A2A", Hash(EmbeddedLists(), fold: true));
Pin("298EABD9F41EF3B0AC352A5A2C9434CFEC09B0E203071C77F735B70E5026A928", Hash(EmbeddedLists(), fold: true));

[Fact]
public void NullTextItemAtTheTop_stillThrowsNamingText()
Expand Down
Loading