Gunnsteinn Hall 11f692bc3a
Font subsetting and font optimization improvements (#362)
* Track runes in IdentityEncoder (for subsetting), track decoded runes

* Working with the identity encoder in font_composite.go

* Add GetFilterArray to multi encoder.  Add comments.

* Add NewFromContents constructor to extractor only requiring contents and resources

* golint fixes

* Optimizer compress streams - improved detection of raw streams

* Optimize - CleanContentStream optimizer that removes redundant operands

* WIP Optimize - clean fonts

Will support both font file reduction and subsetting. (WIP)

* Optimize - image processing - try combined DCT and Flate

* Update options.go

* Update optimizer.go

* Create utils.go for optimize with common methods needed for optimization

* Optimizer - add font subsetting method

Covers XObject Forms, annotaitons etc.  Uses extractor package to extract text marks covering what fonts and glyphs are used.  Package truetype used for subsetting.

* Add some comments

* Fix cmap parsing rune conversion

* Error checking for extractor.  Add some comments.

* Update Jenkinsfile

* Update modules
2020-06-16 21:19:10 +00:00
..
2020-04-14 21:09:16 +00:00
2019-08-30 08:50:30 +00:00
2019-08-30 08:50:30 +00:00
2020-04-24 16:48:06 +00:00
2019-08-30 08:50:30 +00:00
2019-08-30 08:50:30 +00:00
2020-06-10 16:58:00 +00:00
2020-06-10 16:58:00 +00:00
2020-01-21 22:18:11 +02:00
2020-01-15 23:36:07 +02:00
2020-06-05 11:46:55 +00:00