mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-24 13:23:40 +08:00
add charset interface, create class to store cff font data. add the command logic for type 2 charstrings #6
This commit is contained in:
@@ -4,7 +4,7 @@ namespace UglyToad.PdfPig.Fonts.CompactFontFormat
|
||||
{
|
||||
internal class CompactFontFormatIndexReader
|
||||
{
|
||||
public byte[][] ReadDictionaryData(CompactFontFormatData data)
|
||||
public CompactFontFormatIndex ReadDictionaryData(CompactFontFormatData data)
|
||||
{
|
||||
var index = ReadIndex(data);
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace UglyToad.PdfPig.Fonts.CompactFontFormat
|
||||
results[i] = data.ReadBytes(length);
|
||||
}
|
||||
|
||||
return results;
|
||||
return new CompactFontFormatIndex(results);
|
||||
}
|
||||
|
||||
public int[] ReadIndex(CompactFontFormatData data)
|
||||
|
Reference in New Issue
Block a user