mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-20 20:07:57 +08:00
#6 more work on type 2 char string, stuck on a bug
This commit is contained in:
@@ -65,6 +65,32 @@
|
||||
Assert.NotNull(box);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void CanInterpretATildeSmallSymbol()
|
||||
{
|
||||
var fileBytes = GetFileBytes("MinionPro.bin");
|
||||
|
||||
var font = parser.Parse(new CompactFontFormatData(fileBytes));
|
||||
|
||||
// Calls a global subroutine which adds to the hints
|
||||
var box = font.GetCharacterBoundingBox("Atildesmall");
|
||||
|
||||
Assert.NotNull(box);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void CanInterpretUniF687Symbol()
|
||||
{
|
||||
var fileBytes = GetFileBytes("MinionPro.bin");
|
||||
|
||||
var font = parser.Parse(new CompactFontFormatData(fileBytes));
|
||||
|
||||
// Calls hugely nested subroutines
|
||||
var box = font.GetCharacterBoundingBox("uniF687");
|
||||
|
||||
Assert.NotNull(box);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void CanInterpretAllGlyphs()
|
||||
{
|
||||
|
Reference in New Issue
Block a user