Skip to content

Commit a980be3

Browse files
authored
Merge pull request #2247 from EPPlusSoftware/feature/embeddable-fonts-v3
Updated font library
2 parents 8f18a8f + 20be5cd commit a980be3

145 files changed

Lines changed: 137155 additions & 1170 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/EPPlus.Fonts.OpenType.Tests/FontMeasurerPerformanceTest.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ public class FontMeasurerPerformanceTest
2727
/// Performance test for text wrapping.
2828
/// Fixed kerning pairs major bottle-neck.
2929
/// </summary>
30-
[TestMethod]
30+
[TestMethod, Ignore("This test should not run in a multithreaded test run. If we want to keep it, it should be moved to a separate benchmark project.")]
31+
[TestCategory("Benchmark")]
3132
public void Wrap20Paragraphs100Times()
3233
{
3334
List<string> longTexts = new List<string>();
@@ -52,7 +53,7 @@ public void Wrap20Paragraphs100Times()
5253

5354
Trace.WriteLine(timer.ElapsedMilliseconds);
5455

55-
Assert.IsTrue(timer.ElapsedMilliseconds < 1000);
56+
Assert.IsTrue(timer.ElapsedMilliseconds < 1200, "timer.ElapsedMilliseconds was > 1200, actual value: " + timer.ElapsedMilliseconds);
5657

5758
////Below is verification of previous text-wrapping.
5859
////Might be unnecesary and can be removed in the future.

src/EPPlus.Fonts.OpenType.Tests/FontSubsettingTests.cs

Lines changed: 0 additions & 216 deletions
This file was deleted.

src/EPPlus.Fonts.OpenType.Tests/FontTableValidatorsTests.cs

Lines changed: 0 additions & 149 deletions
This file was deleted.

0 commit comments

Comments
 (0)