mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 10:55:04 +08:00
add inkscape document. fix bug with truetype width where no font program present
This commit is contained in:
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Binary file not shown.
@@ -11,6 +11,7 @@
|
||||
private const string SingleGoogleDrivePage = "Single Page Simple - from google drive";
|
||||
private const string SinglePageFormattedType0Content = "Type0 Font";
|
||||
private const string SinglePageType1Content = "ICML03-081";
|
||||
private const string SingleInkscapePage = "Single Page Simple - from inkscape";
|
||||
|
||||
private static string GetFilename(string name)
|
||||
{
|
||||
@@ -30,6 +31,12 @@
|
||||
Run(SinglePageType1Content);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void SinglePageSimpleFromInkscape()
|
||||
{
|
||||
Run(SingleInkscapePage);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void SinglePageNonLatinFromAcrobatDistiller()
|
||||
{
|
||||
|
@@ -110,7 +110,7 @@
|
||||
if (font == null)
|
||||
{
|
||||
fromFont = false;
|
||||
width = widths[characterCode];
|
||||
width = widths[characterCode - firstCharacter];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user