36 Commits

Author SHA1 Message Date
UniDoc Build
49979c7312 prepare release 2021-08-13 01:33:42 +00:00
UniDoc Build
60f464c58f prepare release 2021-07-30 00:21:16 +00:00
UniDoc Build
9d8efb87a8 prepare release 2021-06-21 14:01:56 +00:00
UniDoc Build
edb7c66944 prepare release 2021-05-31 17:17:31 +00:00
UniDoc Build
aa9968c6af prepare release 2021-05-11 00:01:27 +00:00
UniDoc Build
b221a76c5e prepare release 2021-04-23 20:28:14 +00:00
UniDoc Build
596e8b8b8a prepare release 2021-04-17 13:46:54 +00:00
UniDoc Build
dada0fe1d4 prepare release 2021-04-06 22:35:37 +00:00
UniDoc Build
e309710fcd prepare release 2021-03-23 23:12:52 +00:00
UniDoc Build
9a2a3ba8f6 prepare release 2021-03-13 21:28:23 +00:00
UniDoc Build
ec7f5e55c3 prepare release 2021-02-22 02:29:48 +00:00
UniDoc Build
8b10191fd5 prepare release 2021-02-11 10:35:13 +00:00
UniDoc Build
4b16f3c2ce prepare release 2021-01-26 01:31:56 +00:00
UniDoc Build
6ec1f6abf1 prepare release 2021-01-07 14:20:10 +00:00
UniDoc Build
ec282cd9c5 prepare release 2020-12-06 13:03:03 +00:00
UniDoc Build
bafd659395 prepare release 2020-11-23 22:15:56 +00:00
UniDoc Build
79e32364de prepare release 2020-11-11 18:48:37 +00:00
UniDoc Build
22540b937c prepare release 2020-10-19 10:58:10 +00:00
UniDoc Build
56a210342e prepare release 2020-10-12 14:17:59 +00:00
UniDoc Build
87cbc66cbd prepare release 2020-10-05 19:28:24 +00:00
UniDoc Build
22ca2c0eed prepare release 2020-09-28 23:18:17 +00:00
UniDoc Build
9107a86674 prepare release 2020-09-21 01:20:10 +00:00
UniDoc Build
b991a36456 prepare release 2020-09-14 09:32:45 +00:00
UniDoc Build
fd3b669a36 prepare release 2020-09-07 00:23:12 +00:00
UniDoc Build
61b6580cb9 prepare release 2020-08-31 21:12:07 +00:00
UniDoc Build
1501d07a74 prepare release 2020-08-27 21:45:09 +00:00
Adrian-George Bostan
54e965785b
Add cached Stream method for CMap objects (#382)
* Add cached Stream method for CMaps

* Use CMap Stream method when creating font PDF dictionary objects
2020-06-27 00:30:18 +00:00
Peter Williams
5777ee1394
Handle multibyte entries in CMaps. (#353)
* Fixed filename:page in logging

* Got CMap working for multi-rune entries

* Treat CMap entries as strings instead of runes to handle multi-byte encodings.

* Added a test for multibyte encoding.

* Changed rune->CharCode maps to string->CharCode.

* Removed unintentional changes.

* Updated comments to match new function definitions.

* Changed some []rune APIs to string

* Fixes for reviewer comments.
2020-06-03 13:55:15 +00:00
Adrian-George Bostan
aef6e5e976
Fix CMap generation and serialization for composite fonts (#344)
* Fix CMap charcode mapping serialization

* Improve CMap generation in the NewCompositePdfFontFromTTF function
2020-05-08 00:15:09 +00:00
Adrian-George Bostan
6678fc040a
Cache raw CMap data (#324) 2020-04-21 21:53:36 +00:00
Adrian-George Bostan
d605803bd2
Prevent panics (#305)
* Remove panic on font nil Differences array

* Remove unused bcmaps function

* Remove panics from the core/security/crypt package

* Fix extractor invalid Do operand crash

* Fix TTF parser crash for invalid hhea number of hMetrics

* Remove ECB crypt panics

* Remove standard_r6 panics

* Remove panic from render package
2020-04-14 21:09:16 +00:00
Adrian-George Bostan
9de5fe644e
Add PdfFont text encoding methods (#257)
* Add PdfFont method for encoding runes to charcode bytes
* Add getter method for CMap nbits
* Take CMap nbits into account when encoding text
* Adapt font test cases to include text encoding testing
2020-02-17 22:54:20 +00:00
Adrian-George Bostan
e2b3c6e6ba
Add predefined CMaps for Type 0 composite fonts (#246)
* Add packed predefined cmaps
* Add cmap cid range parsing
* Load base cmap for predefined cmaps
* Refactor pdfFont to Unicode methods
* Preserve CharcodeBytesToUnicode behavior
* Add support for CID-keyed Type 0 fonts
* Add method documentation for the cmap package
* Refactor and document charcode to Unicode conversion code
* Add more cmap parsing test cases
* Add more method documentation in the cmap package.
* Remove unused code from the bcmaps package
* Improve cmap test case
* Assume identity when encoder is missing on regenerating field appearance
* Add missing encoder log message
* Add inverse CMap mappings
* Add CMap encoder
* Address golint notices and small fix in the cmap package
* Keep smaller charcodes when generating cmap inverse mappings
* Update extractor test case
* Keep latest supplement charcodes/CIDs when computing inverse mappings
* Fix comment typo
2020-02-07 19:56:30 +00:00
Samuel Stauffer
5f19bfa269 Address comments on PR 2020-01-06 11:13:16 -08:00
Samuel Stauffer
e85397b57a Unify and optimize number parsing 2020-01-06 11:05:42 -08:00
Adrian-George Bostan
c64812093d Remmove pdf folder and move packages up one level (#2) 2019-05-16 20:44:51 +00:00