mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 19:45:08 +00:00

The Compat Font Format specification (Adobe's Technical Note #5176) is used by PDF's Type1C fonts to store their data. While being similar in spirit to PS1 Type 1 Font Programs, it was designed for a more compact representation and thus space reduction (but an increment on complexity). It also shares most of the charstring encoding logic, which is why the CFF class also inherits from Type1FontProgram. This initial implementation is still lacking many details, e.g.: * It doesn't include all the built-in CFF SIDs * It doesn't support CFF-provided SIDs (defaults those glyphs to the space character) * More checks in general
25 lines
553 B
CMake
25 lines
553 B
CMake
set(SOURCES
|
|
ColorSpace.cpp
|
|
CommonNames.cpp
|
|
Document.cpp
|
|
DocumentParser.cpp
|
|
Encoding.cpp
|
|
Encryption.cpp
|
|
Filter.cpp
|
|
Fonts/CFF.cpp
|
|
Fonts/PDFFont.cpp
|
|
Fonts/PS1FontProgram.cpp
|
|
Fonts/TrueTypeFont.cpp
|
|
Fonts/Type0Font.cpp
|
|
Fonts/Type1Font.cpp
|
|
Fonts/Type1FontProgram.cpp
|
|
Interpolation.cpp
|
|
ObjectDerivatives.cpp
|
|
Parser.cpp
|
|
Reader.cpp
|
|
Renderer.cpp
|
|
Value.cpp
|
|
)
|
|
|
|
serenity_lib(LibPDF pdf)
|
|
target_link_libraries(LibPDF PRIVATE LibCore LibCompress LibIPC LibGfx LibTextCodec LibCrypto)
|