169 Commits

Author SHA1 Message Date
Adrian-George Bostan
7004fb0d0e Add inline member on the DrawContext structure 2018-09-17 22:11:25 +03:00
Adrian-George Bostan
ba5b493b70 Add inline mode for the division component 2018-09-17 21:33:17 +03:00
Adrian-George Bostan
cd50893bfd Add inline member for Division container 2018-09-13 19:52:40 +03:00
Peter Williams
4d5156c4a0 Added NewStandard14FontMustCompile 2018-09-07 19:11:58 +10:00
Gunnsteinn Hall
e63a74cc9c Merge branch 'master' into v3-merge-master-in 2018-09-06 09:45:04 +00:00
Peter Williams
f84792531f Fixed bugs introduced into creator_test.go by font changes.
- Use pdfFontType0 Encoding value for encoding name if it is set.
- Use DW entry in CID Type2 fonts
- Encode CID fonts using 2 bytes / character
2018-09-03 10:48:31 +10:00
Peter Williams
d3bec465ce Set Paragraph.enableWrap default to false to avoid default setting of wrap enabled with
Paragraph.wrapWidth = 0

Paragraph.enableWrap is set true when Paragraph.wrapWidth is set in Paragraph.SetWidth()
2018-08-23 09:19:20 +10:00
Peter Williams
b7f1f3e291 Merge branch 'v3' of https://github.com/unidoc/unidoc into render.v3.hungarian 2018-08-22 22:01:00 +10:00
Peter Williams
e5ec5406f6 Changes to get creator working better.
- textencoding.RuneToGlyph always returns a value
- Encode empty /Difference correctly
- NewParagraph sets a custom encoding that matches its text
2018-08-22 14:51:50 +10:00
Peter Williams
cc4f64fa98 small tidy up 2018-08-21 12:43:51 +10:00
Peter Williams
23fe5a5cfe Change Paragraph.enableWrap default to false to make it hard to unintentional set zero width wrap. 2018-08-20 19:02:47 +10:00
Peter Williams
c2feafdfdc Fixed some issues in creator code
Stopped double converting from Go strings to PDF encoded strings
Added TTF parse table format 12
2018-08-17 08:41:35 +10:00
Peter Williams
fefff56603 Cleaned up some comments in creator. 2018-08-15 17:36:42 +10:00
Peter Williams
1847fcf8db Converted creator to new font code 2018-08-15 09:32:13 +10:00
Gunnsteinn Hall
036ab51b79 Address review comments. 2018-08-14 17:57:26 +00:00
Sakib Sami
b6de33b79c - Fixed TestTableCellWrapping test 2018-08-14 02:02:03 +06:00
Sakib Sami
44e98e2ced
Merge branch 'v3' into master 2018-08-14 01:56:45 +06:00
Sakib Sami
e879b00d57 - updated : Comments to godoc style 2018-08-13 23:36:22 +06:00
Sakib Sami
4e8d9d8e47 - Updated : SetBorderStyleMethod
- updated : Comments to godoc style
2018-08-13 01:58:28 +06:00
Sakib Sami
29295f0b2f - Updated : SetBorderStyleMethod
- Added : CellBorderSide constraint
2018-08-11 13:28:16 +06:00
Gunnsteinn Hall
f67228a668 Clean up 2018-08-10 12:11:55 +00:00
Gunnsteinn Hall
296596e4c9 Merge branch 'master' of https://github.com/s4kibs4mi/unidoc into s4kibs4mi-master and address border centering for double border 2018-08-10 12:05:07 +00:00
Sakib Sami
fd475ad84d - Added : Required modification on border and basic line implementation
- BorderTest
- CellTest
2018-08-10 01:40:40 +06:00
Gunnsteinn Hall
38157c3a51 Fix border corners and BasicLine Draw 2018-08-08 14:48:01 +00:00
Sakib Sami
c024c237d2 - Added : BorderTest 2018-08-08 08:09:06 +06:00
Sakib Sami
f6a254095c - Added : BasicLine in creator 2018-08-07 01:59:36 +06:00
Sakib Sami
9184246eb1 - Added : Code cleanup 2018-08-04 02:03:15 +06:00
Sakib Sami
f823d3b37e - Added : Code cleanup 2018-08-04 00:51:37 +06:00
Sakib Sami
a3518f5d5e - Added : BasicLine with test 2018-08-04 00:37:28 +06:00
Gunnsteinn Hall
e254fd763c Move test and supplementary files to nearest package testdata. 2018-08-03 11:01:39 +00:00
Sakib Sami
efd877ea7b - Development ongoing P1 2018-08-02 22:45:41 +06:00
Gunnsteinn Hall
1321303950 Address golint for interface methods 2018-08-02 10:48:44 +00:00
Gunnsteinn Hall
cc44dd2552 Merge branch 'master' into v3 2018-08-01 22:04:27 +00:00
Gunnsteinn Hall
749a238c77 golint 2018-07-26 14:57:57 +00:00
Gunnsteinn Hall
446bf4fe8d godoc 2018-07-26 14:19:39 +00:00
Gunnsteinn Hall
9bafe454f6 Test case for table cells with multiple paragraphs inside divs and image 2018-07-26 14:19:39 +00:00
Gunnsteinn Hall
38505ef020 Support for Division in table cells 2018-07-26 14:19:39 +00:00
Gunnsteinn Hall
6a3348ebd7 Fix wrapping for block in relative mode 2018-07-26 14:19:39 +00:00
Gunnsteinn Hall
30f0960392 godoc enhancements 2018-07-26 14:19:39 +00:00
Gunnsteinn Hall
6cefdf91cc Added Division drawable which is a container that can wrap over pages 2018-07-26 14:19:38 +00:00
Gunnsteinn Hall
a07f25550d go vet fix 2018-07-26 14:19:38 +00:00
Sakib Sami
024069da60 - Added : Example 2 2018-07-26 01:45:53 +06:00
Sakib Sami
f028da2dc4 Updated : Code cleanup 2018-07-23 22:40:58 +06:00
Sakib Sami
60a495f2e9 Updated : Code cleanup 2018-07-21 21:02:55 +06:00
Sakib Sami
3211682ce5 Added : Color applied for example 1 2018-07-21 01:44:26 +06:00
Sakib Sami
d0e3f8dacb Updated : Reimplemented border calculation 2018-07-21 01:26:18 +06:00
Gunnsteinn Hall
6dda02e0c3 Show multi newline 2018-07-18 11:27:11 +00:00
Gunnsteinn Hall
b36101ae34 Support newline wrapping in paragraph 2018-07-18 11:24:24 +00:00
Gunnsteinn Hall
be8d19b510 Support wrapped text in table cells 2018-07-18 07:30:55 +00:00
Sakib Sami
12ce1ed56b Added : Force solid when border is double 2018-07-11 00:36:56 +06:00