support gs operator, fix systemfonts, apply rotation to glyphs

- 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.
This commit is contained in:
Eliot Jones
2019-07-06 14:03:23 +01:00
parent 88e02cabab
commit c495065178
17 changed files with 375 additions and 150 deletions

View File

@@ -34,6 +34,7 @@
/// <inheritdoc />
public void Run(IOperationContext operationContext)
{
operationContext.SetNamedGraphicsState(Name);
}
/// <inheritdoc />