mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-15 19:54:52 +08:00
test letter positions with truetype standard14 mutant. fix truetype table overflow. read compact font format encodings
This commit is contained in:
BIN
src/UglyToad.PdfPig.Tests/Integration/Documents/byz.jpg
Normal file
BIN
src/UglyToad.PdfPig.Tests/Integration/Documents/byz.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 177 KiB |
BIN
src/UglyToad.PdfPig.Tests/Integration/Documents/byz.pdf
Normal file
BIN
src/UglyToad.PdfPig.Tests/Integration/Documents/byz.pdf
Normal file
Binary file not shown.
@@ -7,6 +7,7 @@
|
||||
|
||||
public class GenerateLetterBoundingBoxImages
|
||||
{
|
||||
private const string ByzantineGenerals = "byz";
|
||||
private const string NonLatinAcrobatDistiller = "Single Page Non Latin - from acrobat distiller";
|
||||
private const string SingleGoogleDrivePage = "Single Page Simple - from google drive";
|
||||
private const string SinglePageFormattedType0Content = "Type0 Font";
|
||||
@@ -87,6 +88,12 @@
|
||||
Run(MotorInsuranceClaim, 841);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void ByzantineGeneralsTrueTypeStandard14()
|
||||
{
|
||||
Run(ByzantineGenerals, 702);
|
||||
}
|
||||
|
||||
private static void Run(string file, int imageHeight = 792)
|
||||
{
|
||||
var pdfFileName = GetFilename(file);
|
||||
|
Reference in New Issue
Block a user