mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:52:44 +00:00 
			
		
		
		
	 b14f0950a5
			
		
	
	
		b14f0950a5
		
	
	
	
	
		
			
			Previously we would draw all text, no matter what font type, as Liberation Serif, which results in things like ugly character spacing. We now have partial support for drawing Type 1 glyphs, which are part of a PostScript font program. We completely ignore hinting for now, which results in ugly looking characters at low resolutions, but gain support for a large number of typefaces, including most of the default fonts used in TeX.
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			467 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			467 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     ColorSpace.cpp
 | |
|     CommonNames.cpp
 | |
|     Document.cpp
 | |
|     DocumentParser.cpp
 | |
|     Encoding.cpp
 | |
|     Encryption.cpp
 | |
|     Filter.cpp
 | |
|     Fonts/PDFFont.cpp
 | |
|     Fonts/PS1FontProgram.cpp
 | |
|     Fonts/TrueTypeFont.cpp
 | |
|     Fonts/Type0Font.cpp
 | |
|     Fonts/Type1Font.cpp
 | |
|     ObjectDerivatives.cpp
 | |
|     Parser.cpp
 | |
|     Reader.cpp
 | |
|     Renderer.cpp
 | |
|     Value.cpp
 | |
|     )
 | |
| 
 | |
| serenity_lib(LibPDF pdf)
 | |
| target_link_libraries(LibPDF LibC LibCore LibIPC LibGfx LibTextCodec LibCrypto)
 |