Adrian-George Bostan
d21dab045b
No break space character metrics ( #397 )
...
* Use same metrics for no-break space and space
* Update font test to include nbsp case
2019-04-02 17:57:08 +00:00
Gunnsteinn Hall
de4fb06251
Parsing compatibility fixes [v3] ( #392 )
...
* Compatibility fix for exponential parsing with a testcase
* Compatilbity fix for invalid escaped hex in names: If invalid hex then treats the '#' and hex as regular text
2019-04-02 17:44:53 +00:00
Adrian-George Bostan
54264e343e
Add table headers support ( #390 )
...
* Add table headers support with a testcase.
2019-03-30 09:56:37 +00:00
Adrian-George Bostan
95b4e1cfc0
Remove unnecessary sample signature file
2019-03-28 17:19:39 +00:00
Adrian-George Bostan
7cd6479b61
Adjust external signature test case
2019-03-28 17:19:39 +00:00
Gunnsteinn Hall
3d22e17a91
Prepare release of v3.0.0-alpha.3
2019-03-28 17:19:39 +00:00
Gunnsteinn Hall
089ef58792
Address PR comments
2019-03-28 10:06:18 +00:00
Gunnsteinn Hall
d82ac5d425
Enable rendering tests in Jenkinsfile
2019-03-28 10:06:18 +00:00
Gunnsteinn Hall
c8b422ef57
Fix trace log
2019-03-28 10:06:18 +00:00
Gunnsteinn Hall
1b9a188f5f
Make rendering tests more robust and using ghostscript (gs) instead.
2019-03-28 10:06:18 +00:00
Gunnsteinn Hall
e05d4adacd
Remove rendered test images from testdata
2019-03-28 10:06:18 +00:00
Gunnsteinn Hall
9a51192606
Clarify comment based on PR review
2019-03-28 09:57:33 +00:00
Gunnsteinn Hall
ee1416433c
Use StandardEncoding for builtin standard fonts (not WinAnsiEncoding). Fix testcases.
...
Add test cases and fix the encoding table also based on observed errors
2019-03-28 09:57:33 +00:00
Gunnsteinn Hall
936bf446fc
Create page resources when making new page
2019-03-28 09:57:33 +00:00
Gunnsteinn Hall
346e064292
Set default encoder to WinAnsiEncoder when creating font for standard latin fonts
...
The WinAnsiEncoding has more symbols than the StandardEncoding so is more useful for latin texts and a better default. Some clean up.
2019-03-28 09:57:33 +00:00
Gunnsteinn Hall
cd158ec9f3
Make encoding consistent when encoding map is not unique
...
Pick the lower charcode
2019-03-28 09:57:33 +00:00
Gunnsteinn Hall
3cefc98874
Add extra nil check
2019-03-26 22:42:04 +00:00
Gunnsteinn Hall
d55811f379
Avoid adding nil objects to page objects
2019-03-26 22:42:04 +00:00
Gunnsteinn Hall
5b565c20ac
Fix parsing signature dictionaries when Type not set (optional)
2019-03-26 22:42:04 +00:00
Gunnsteinn Hall
a7fddd5f7a
Fix outline tree parsing when First pointing to a null object (inside indirect object)
2019-03-26 22:42:04 +00:00
Gunnsteinn Hall
6587363ac3
Fix unknown annotation error when using non-standard annotations.
...
Output a debug message rather than failing with error. Guard when function returns nil.
2019-03-26 22:42:04 +00:00
Gunnsteinn Hall
c80228651a
Fix for invalid DecodeParms when DecodeParms not set (Flate). Clean up.
2019-03-26 22:42:04 +00:00
Adrian-George Bostan
1b59259abd
Adjust optimize test to avoid reusing the same creator instance
2019-03-25 20:40:27 +00:00
Adrian-George Bostan
fcbf07458b
Use default creator font on paragraph initialization
2019-03-25 20:40:27 +00:00
Adrian-George Bostan
bb1c49abe8
Update table colspan test case
2019-03-25 17:22:59 +00:00
Adrian-George Bostan
5fc4de498f
Adjust table cell colspan if it exceeds remaining row columns
2019-03-25 17:22:59 +00:00
Adrian-George Bostan
db1c603a28
Update table column span test case
2019-03-25 17:22:59 +00:00
Adrian-George Bostan
96b40e3774
Add table column span test case
2019-03-25 17:22:59 +00:00
Adrian-George Bostan
93364173b2
Allow creation of cells spanning multiple columns
2019-03-25 17:22:59 +00:00
Adrian-George Bostan
c3692615ee
Update external signature test case to use the latest certificate
2019-03-24 09:43:29 +00:00
Gunnsteinn Hall
641fbf5551
Fix failing signature tests. Replaced old test certificate with one that lasts 100 years
...
Included instructions for generating the certificate
2019-03-24 08:55:23 +00:00
Adrian-George Bostan
7e012b2cc6
Add horizontal image alignment
2019-03-20 22:01:39 +00:00
Adrian-George Bostan
0d77c265d5
Add point rotate method
2019-03-20 22:01:39 +00:00
Adrian-George Bostan
e5a1d87b52
Update external signature test case
2019-03-15 20:10:12 +00:00
Adrian-George Bostan
8734b68fbe
Fix typo in comment
2019-03-15 20:10:12 +00:00
Adrian-George Bostan
6b129bd7a7
Add external signature test case
2019-03-15 20:10:12 +00:00
Adrian-George Bostan
bdc3497716
Add empty signature support to the adobePKCS7Detached handler
2019-03-15 20:10:12 +00:00
Gunnsteinn Hall
443b168e48
Fix numeric parsing bug when only a single number. Added testcase.
2019-03-15 10:13:07 +00:00
Gunnsteinn Hall
0686b01fa9
Update Jenkinsfile - hack to make 1.11.5 work
2019-03-14 19:37:50 +00:00
Gunnsteinn Hall
6886908eaf
Update Jenkinsfile go version
2019-03-14 17:56:35 +00:00
Adrian-George Bostan
97a8e9fafc
Remove commented code
2019-03-14 17:39:54 +00:00
Adrian-George Bostan
4036cd2562
Fix documentation related golint notices in the model package
2019-03-14 17:39:54 +00:00
Adrian-George Bostan
6a887be571
Fix code related golint notices in the model package
2019-03-14 17:39:54 +00:00
Adrian-George Bostan
9cf7868e39
Adjust chapters test case to incorporate the styled paragraph component
2019-03-13 23:34:35 +00:00
Adrian-George Bostan
03c6b608c5
Add styled paragraph support for the creator chapter component.
2019-03-13 23:34:35 +00:00
Gunnsteinn Hall
9d714ad639
Remove NewX for each standard font in std. Go through a single exported function instead.
2019-03-12 19:08:37 +00:00
Gunnsteinn Hall
a03198000b
Update Jenkinsfile for matching examples branch. Address go vet.
2019-03-12 19:08:37 +00:00
Gunnsteinn Hall
aaa2b2ac1b
Update font path in testcase
2019-03-12 19:08:37 +00:00
Gunnsteinn Hall
41ade9230d
Remove extra GetRuneCharMetrics function - use GetRuneMetrics
2019-03-12 19:08:37 +00:00
Gunnsteinn Hall
9665959bcf
Move model/fonts to model/internal/fonts - reducing export surface
...
- Move the folder
- Update imports
- Add type aliases to access needed types from model (fonts.StdFont, fonts.CharMetrics and the font names)
2019-03-12 19:08:37 +00:00