mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:37:44 +00:00
LibPDF: Add spec comments to CFF
This commit is contained in:
parent
9d31fc3ea3
commit
d451197d3d
3 changed files with 30 additions and 6 deletions
|
@ -15,10 +15,12 @@ namespace PDF {
|
|||
|
||||
class Reader;
|
||||
|
||||
// CFF spec: https://adobe-type-tools.github.io/font-tech-notes/pdfs/5176.CFF.pdf
|
||||
|
||||
class CFF : public Type1FontProgram {
|
||||
|
||||
private:
|
||||
// Table 9: Top DICT Operator Entries
|
||||
// CFF spec, "Table 9 Top DICT Operator Entries"
|
||||
enum class TopDictOperator {
|
||||
Version = 0,
|
||||
Notice,
|
||||
|
@ -39,6 +41,7 @@ private:
|
|||
// PaintType,
|
||||
};
|
||||
|
||||
// CFF spec, "Table 23 Private DICT Operators"
|
||||
enum class PrivDictOperator {
|
||||
Subrs = 19,
|
||||
DefaultWidthX,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue