fix test references

update references for unit tests to reference new core and fonts projects. all tests except the public api scanner tests now run successfully.
This commit is contained in:
Eliot Jones
2020-01-04 22:56:41 +00:00
parent 74774995d6
commit a6541f1cfc
44 changed files with 90 additions and 86 deletions

View File

@@ -6,7 +6,10 @@
using Core;
using Fonts;
internal static class AdobeFontMetricsParser
/// <summary>
/// Parses files in the Adobe Font Metrics (AFM) format.
/// </summary>
public static class AdobeFontMetricsParser
{
/// <summary>
/// This is a comment in a AFM file.
@@ -313,12 +316,18 @@
/// </summary>
public const string KernPairKpx = "KPX";
/// <summary>
/// This is a kern pair.
/// </summary>
public const string KernPairKpy = "KPY";
private static readonly char[] IndividualCharmetricsSplit = {';'};
private static readonly char[] CharmetricsKeySplit = {' '};
/// <summary>
/// Parse the font metrics from the input bytes.
/// </summary>
public static AdobeFontMetrics Parse(IInputBytes bytes, bool useReducedDataSet)
{
var stringBuilder = new StringBuilder();

View File

@@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("UglyToad.PdfPig.Tests")]

View File

@@ -210,6 +210,10 @@
[Flags]
public enum HeaderMacStyle : ushort
{
/// <summary>
/// No flags set.
/// </summary>
None = 0,
/// <summary>
/// Bold.
/// </summary>