Files
PdfPig/src/UglyToad.PdfPig/Fonts/IFont.cs
2018-04-11 23:17:37 +01:00

25 lines
535 B
C#

namespace UglyToad.PdfPig.Fonts
{
using Core;
using Geometry;
using IO;
using Tokenization.Tokens;
internal interface IFont
{
NameToken Name { get; }
bool IsVertical { get; }
int ReadCharacterCode(IInputBytes bytes, out int codeLength);
bool TryGetUnicode(int characterCode, out string value);
PdfRectangle GetDisplacement(int characterCode);
PdfRectangle GetBoundingBox(int characterCode);
TransformationMatrix GetFontMatrix();
}
}