mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 19:05:01 +08:00
25 lines
535 B
C#
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();
|
|
}
|
|
}
|