Skip to content

Commit cb0521a

Browse files
committed
FEAT: initial implementation of the PDF codec
1 parent 770a06d commit cb0521a

11 files changed

+710
-0
lines changed

make/rebol3.nest

+5
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ mezz-lib-files: [
257257
; %mezz/codec-xml.reb
258258
; %mezz/codec-html-entities.reb
259259
; %mezz/codec-wav.reb
260+
; %mezz/codec-pdf.reb
260261
; %mezz/codec-swf.reb
261262
; %mezz/codec-image.reb ; included using: include-image-os-codec (windows and macos only so far)
262263
; %mezz/codec-image-ext.reb ; image codec extensions (codecs/png/size?)
@@ -499,6 +500,7 @@ include-codec-ico: [
499500
]
500501
include-codec-json: [mezz-lib-files: %mezz/codec-json.reb ]
501502
include-codec-xml: [mezz-lib-files: %mezz/codec-xml.reb ]
503+
include-codec-pdf: [mezz-lib-files: %mezz/codec-pdf.reb config: INCLUDE_PNG_FILTER] ; pdf may use special png pre-compression
502504
include-codec-swf: [mezz-lib-files: %mezz/codec-swf.reb ]
503505
include-codec-wav: [mezz-lib-files: %mezz/codec-wav.reb ]
504506
include-codec-unixtime: [mezz-lib-files: %mezz/codec-unixtime.reb ]
@@ -556,6 +558,7 @@ include-rebol-bulk: [
556558
:include-view
557559
:include-midi
558560

561+
:include-codec-pdf
559562
:include-codec-swf
560563
:include-codec-gzip
561564
:include-codec-zip
@@ -579,6 +582,8 @@ include-rebol-bulk: [
579582

580583
:include-dialecting ;`delect`
581584

585+
config: INCLUDE_PNG_FILTER ; includes `filter` and `unfilter` natives
586+
582587
;- for tests:
583588
;:include-test-extension
584589
;- not recommanded:

0 commit comments

Comments
 (0)