Commit Graph

321 Commits

Author SHA1 Message Date
Michael R Sweet
3844abdf92
Fix reading of streams with indirect lengths. 2021-06-21 16:18:06 -04:00
Michael R Sweet
01ca711ec8
Add decode testing to testpdfio 2021-06-21 16:03:05 -04:00
Michael R Sweet
db8be28ff6
Try a different system info identifier for Unicode fonts. 2021-06-21 16:01:55 -04:00
Michael R Sweet
9ec7c8bde9
Expose CMap in TrueType files 2021-06-21 13:00:44 -04:00
Michael R Sweet
4f5825b3d6
Update readme. 2021-06-21 11:40:01 -04:00
Michael R Sweet
6f02bdd301 Initial Visual Studio support. 2021-06-21 11:39:06 -04:00
Michael R Sweet
e9d5e082af
Save work on Unicode font support - still something isn't quite right. 2021-06-21 07:58:23 -04:00
Michael R Sweet
a2da67c415
Fix Clang warnings. 2021-06-18 13:15:09 -04:00
Michael R Sweet
9fa510cd7a
Update Xcode project file. 2021-06-18 12:46:21 -04:00
Michael R Sweet
bbdf0cdb18
Add proper TrueType font support (Issue #2)
Still need to implement proper Unicode support (currently only writes WinAnsi
font descriptor and handles UTF-8 for 0-255...)
2021-06-17 10:18:55 -04:00
Michael R Sweet
d1f199c7ae
Hard wrap text in README.md 2021-06-11 11:33:41 -04:00
Michael R Sweet
bca0add5d8
Very early TrueType support. 2021-06-11 11:22:08 -04:00
Michael R Sweet
42e7183eb0
Normalize test pages and add function to draw standard header and footer content. 2021-06-11 10:36:32 -04:00
Michael R Sweet
0aea9c5439
Rename some of the content APIs for consistency. 2021-06-10 19:41:39 -04:00
Michael R Sweet
5533408c09
ICC profile support (Issue #3) 2021-06-10 12:40:06 -04:00
Michael R Sweet
6aab99d4b3
Add ProPhotoRGB ICC profile. 2021-06-10 11:56:01 -04:00
Michael R Sweet
534da32343
Update PNG test images, particularly to add transparency to the indexed image.
Add demonstration of transparency backing for indexed image to test suite.
2021-06-10 11:18:51 -04:00
Michael R Sweet
2fbf9dc3b2
Fix PNG CRC calculation (doesn't include length for some reason...) 2021-06-10 11:02:55 -04:00
Michael R Sweet
466cb473d1
Fix _pdfioFileRead/Seek to fix test suite-reported error loading an object. 2021-06-10 10:58:07 -04:00
Michael R Sweet
d5ceed0694
Add tRNS chunk support. 2021-06-10 10:57:46 -04:00
Michael R Sweet
01184d0bb5
Add PNG gAMA and cHRM chunk support. 2021-06-09 17:22:22 -04:00
Michael R Sweet
a962b1d069
Fix another coverity issue. 2021-06-09 09:18:52 -04:00
Michael R Sweet
63c0fc1926
Fix some coverity-reported issues. 2021-06-09 09:14:57 -04:00
Michael R Sweet
b005175003
Doco updates. 2021-06-07 17:06:13 -04:00
Michael R Sweet
a698b9c1a2
API cleanup, more work on documentation. 2021-06-07 08:34:30 -04:00
Michael R Sweet
c158587070
Fix issues with grayscale PNG images.
Update PNG test page content.
2021-06-06 00:27:33 -04:00
Michael R Sweet
bbd0b854b7
Initial PNG support and test files. 2021-06-05 22:56:05 -04:00
Michael R Sweet
1ea2b7514a
Rework the color space support.
Start work on PNG file reader.
2021-06-05 11:28:32 -04:00
Michael R Sweet
3a133bd1c0
Fix one more resource leak found by Coverity. 2021-06-04 11:09:34 -04:00
Michael R Sweet
07b9ce80bb
Fix one more resource leak found by Coverity. 2021-06-04 11:07:27 -04:00
Michael R Sweet
b0d3080ffe
Resolve clang warning. 2021-06-04 11:03:24 -04:00
Michael R Sweet
88bf3e710f
Update Cppcheck exclusions. 2021-06-04 11:03:15 -04:00
Michael R Sweet
ee5fcc2a4a
Fix Coverity-discovered issues. 2021-06-04 10:56:23 -04:00
Michael R Sweet
caf398d72c
Add pdfioImageGetBytesPerLine API, document its use for image streams. 2021-06-04 10:33:39 -04:00
Michael R Sweet
3ec771e688
Add read-back tests. 2021-06-02 15:46:39 -04:00
Michael R Sweet
3c034eb919
Fix remaining PNG predictors. 2021-06-01 19:29:48 -04:00
Michael R Sweet
d30579f905
Add badges. 2021-06-01 18:36:22 -04:00
Michael R Sweet
3efb4f800b
Fix PNG predictor 12, 14, and 15. 2021-06-01 17:48:36 -04:00
Michael R Sweet
2856b440d1
Add PNG predictor test page (yes, we have problems) 2021-06-01 17:10:36 -04:00
Michael R Sweet
97846e0f34
Remove TODO file, everything converted to Github issues. 2021-06-01 08:53:55 -04:00
Michael R Sweet
cc250e7201
Fix more of the text output code (paren handling).
Update unit tests to write lines from README.md.
2021-05-31 21:34:53 -04:00
Michael R Sweet
05df5919cd
Save work on text tests. 2021-05-31 20:51:37 -04:00
Michael R Sweet
82e62ae852
Basic text support. 2021-05-31 19:41:02 -04:00
Michael R Sweet
c4e0421f62
Implement calibrated color support, including constants for a few standard
color spaces and a new color patch test page.

The grayscale test image from CUPS wasn't actually grayscale.
2021-05-31 09:31:00 -04:00
Michael R Sweet
627b04d9f0
Only use cppcheck on Linux. 2021-05-30 12:58:36 -04:00
Michael R Sweet
0d1c0cbb14
Fix clang/cppcheck commands. 2021-05-30 12:56:00 -04:00
Michael R Sweet
1f0ca4fd5b
Install cppcheck 2021-05-30 12:54:15 -04:00
Michael R Sweet
38557db43e
Add clang and cppcheck. 2021-05-30 12:51:26 -04:00
Michael R Sweet
9f0346df6d
Add math library. 2021-05-30 10:27:00 -04:00
Michael R Sweet
28b3fa5bab
Fix CI build flags. 2021-05-30 10:25:40 -04:00