mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-20 20:07:57 +08:00
#21 change dictionarytoken to use explicit key type, finish os/2 table for truetype, first file creation using embedded truetype font
This commit is contained in:
@@ -88,13 +88,13 @@
|
||||
|
||||
var streamBytes = BytesBetween(streamPosition.end + 1, endStreamPosition.start - 1, bytes);
|
||||
|
||||
var paramsDict = new DictionaryToken(new Dictionary<IToken, IToken>
|
||||
var paramsDict = new DictionaryToken(new Dictionary<NameToken, IToken>
|
||||
{
|
||||
{ NameToken.Predictor, new NumericToken(12) },
|
||||
{ NameToken.Columns, new NumericToken(4) }
|
||||
});
|
||||
|
||||
var dictionary = new DictionaryToken(new Dictionary<IToken, IToken>
|
||||
var dictionary = new DictionaryToken(new Dictionary<NameToken, IToken>
|
||||
{
|
||||
{NameToken.Filter, NameToken.FlateDecode},
|
||||
{NameToken.DecodeParms, paramsDict}
|
||||
@@ -162,7 +162,7 @@
|
||||
return result.ToArray();
|
||||
}
|
||||
|
||||
private static string GetNthFilename(int n = 0)
|
||||
private static string GetNthFilename()
|
||||
{
|
||||
var documentFolder = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "..", "..", "..", "Integration", "Documents"));
|
||||
|
||||
|
Reference in New Issue
Block a user