mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
- begin adding support for extended graphics state (the 'gs' operator) including setting the font #39. - apply page level rotation to the glyph bounding box and width to get correct glyph sizes #41. - wrap page rotation in a value type to ensure the value is restricted to right angle rotations and provide convenience members #42. - fix bug where system font finder never worked for truetype fonts because it began reading the file from the wrong offset.
18 lines
486 B
C#
18 lines
486 B
C#
namespace UglyToad.PdfPig.Content
|
|
{
|
|
using Fonts;
|
|
using Tokens;
|
|
|
|
internal interface IResourceStore
|
|
{
|
|
void LoadResourceDictionary(DictionaryToken resourceDictionary, bool isLenientParsing);
|
|
|
|
IFont GetFont(NameToken name);
|
|
|
|
StreamToken GetXObject(NameToken name);
|
|
|
|
DictionaryToken GetExtendedGraphicsStateDictionary(NameToken name);
|
|
|
|
IFont GetFontDirectly(IndirectReferenceToken fontReferenceToken, bool isLenientParsing);
|
|
}
|
|
} |