Commit Graph

52 Commits

Author SHA1 Message Date
Michael R Sweet
97934ab995
Add ToUnicode map. 2023-11-19 20:49:30 -05:00
Michael R Sweet
088646e1cf
Drop the FEFF prefix on Unicode strings. 2023-11-19 07:30:17 -05:00
Michael R Sweet
600fa4ce59
Fix Unicode font handling (Issue #16) 2023-11-14 18:19:34 -05:00
Michael R Sweet
688810f143
Save work. 2023-11-13 16:18:02 -05:00
Michael R Sweet
858cc101b6
Save work. 2023-11-13 13:39:06 -05:00
Michael R Sweet
ed88322496
Debug logging, work in progress for Unicode text support. 2023-10-07 12:05:18 -04:00
Michael R Sweet
19c45871fa
Update pdfioContentSetDashPattern to support setting solid line styles (Issue #41) 2023-10-06 15:47:27 -04:00
Michael R Sweet
ae9a91719b
Add pdfioContentPathEnd function. 2022-07-03 10:01:10 -04:00
Michael R Sweet
1a17933635
Fix pdfioContentMatrixRotate function. 2022-07-01 20:30:40 -04:00
Michael R Sweet
22c245ffd1 Update pdfioContentSetDashPattern to accept doubles (Issue #25) 2021-10-16 09:41:19 -04:00
Michael R Sweet
d1e8c966ed
Fix some Coverity-detected issues. 2021-10-01 11:38:04 -04:00
Michael R Sweet
4f2753faae
Fix LGTM warning, report errors to call. 2021-08-24 12:04:10 -04:00
Michael R Sweet
e71c1a7e5e Don't export color constants since that breaks with DLLs... (Issue #19) 2021-08-18 10:17:47 -04:00
Michael R Sweet
87b9ea87ad
Save work on documentation. 2021-07-24 13:08:46 -04:00
Michael R Sweet
b007156c01
Save work on documentation tweaking. 2021-07-18 10:01:43 -04:00
Michael R Sweet
2cc4789cf6
Fix image writing issues for pdfioFileCreateImageObjFromData (Issue #15) 2021-07-18 09:50:22 -04:00
Michael R Sweet
3e0507ba6c
Rework pdfioFileCreateImageObjFromData to have a separate alpha argument so
that CMYK images can be supported.

Add unit tests.
2021-07-18 09:23:39 -04:00
Michael R Sweet
014c5dccba
Implement pdfioFileCreateImageObjFromData (Issue #15) 2021-07-17 20:54:29 -04:00
Michael R Sweet
30343cdb00
Info catalog accessors (Issue #9) 2021-07-06 20:31:30 -04:00
Michael R Sweet
4f6a7ab03f
Debug output. 2021-06-29 20:39:31 -04:00
Michael R Sweet
90c7591190
Save work. 2021-06-24 09:07:03 -04:00
Michael R Sweet
a366697711
Refactor CP1252 code into a separate function, then use it for the base fonts. 2021-06-23 21:33:39 -04:00
Michael R Sweet
10c8d222cf
Test both CP1252 and Unicode font rendering.
Add cached CP1252 and Unicode font encoding objects.

Clean up CP1252 ("simple") TrueType font embedding.
2021-06-23 21:26:01 -04:00
Michael R Sweet
060e7cdbd5
Fiddle with Unicode support some more. 2021-06-22 17:10:19 -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
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
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
bca0add5d8
Very early TrueType support. 2021-06-11 11:22:08 -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
2fbf9dc3b2
Fix PNG CRC calculation (doesn't include length for some reason...) 2021-06-10 11:02:55 -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
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
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
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
246c2e4b41
Rename as PDFio for consistency.
Add PDFio logo image.

Move documentation to "doc" subdirectory.
2021-05-30 07:10:44 -04:00
Michael R Sweet
10ab119922
Initial documentation. 2021-05-29 21:21:45 -04:00
Michael R Sweet
a18b8fd606
Switch to using double for numbers, since they are also used to record lengths
and other potentially large contents.
2021-05-29 21:16:21 -04:00
Michael R Sweet
94cb915885
Fix xref table - wrong total number of objects.
Update pdfioContentDrawImage to take x/y offsets and sizes.
2021-05-28 22:05:44 -04:00
Michael R Sweet
fb853dadda
Fix some issues with the core file writing code.
Add test images to the unit tests.
2021-05-28 10:41:21 -04:00