mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-20 03:17:57 +08:00
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:
@@ -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();
|
||||
|
3
src/UglyToad.PdfPig.Fonts/AssemblyInfo.cs
Normal file
3
src/UglyToad.PdfPig.Fonts/AssemblyInfo.cs
Normal file
@@ -0,0 +1,3 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: InternalsVisibleTo("UglyToad.PdfPig.Tests")]
|
@@ -210,6 +210,10 @@
|
||||
[Flags]
|
||||
public enum HeaderMacStyle : ushort
|
||||
{
|
||||
/// <summary>
|
||||
/// No flags set.
|
||||
/// </summary>
|
||||
None = 0,
|
||||
/// <summary>
|
||||
/// Bold.
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user